From nobody Mon Jul 31 20:44:48 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RF9HJ6zXvz4pTbn; Mon, 31 Jul 2023 20:45:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RF9GS4w5hz4FG9; Mon, 31 Jul 2023 20:44:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690836288; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9FPKZryGTdv6u/25oJCyNNl8e3LcACoOYnGxVdQ2cOc=; b=IBOjC19zzk6qGbHSU872XSdBImm8Oba2FbnvtVlQM/2mCRiXGIC6VZ3rhDUptjsy2aEpVQ bw6ysOYSdqRGqWj12Irz5KYHPKSiii37vXzakesgefftWiC3EZsHZjvaiD2yJ/q+Rno6b+ UYTKp9CTS77za/b4GloyqSPFQ3gehlwOB6oQbnrw8Q31cv7KKGNuhNtanbepQkWZKee8ES 8P3Km441aEEVN82jreMByE0D66LhnAwEBugQPEVWo/51MARw8RXVgz1KLXOTMWAE+EwO47 /CmSi3PuJkgkCdJw2rtQm5aW6WfmJxlFZPi7XrKUQCmNxsYlS4aLimGJxNb/GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690836288; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9FPKZryGTdv6u/25oJCyNNl8e3LcACoOYnGxVdQ2cOc=; b=lGSTkiHVVDuvIXcE/W2XvTyNCEfRGXu7HmagiDOkJI7ZjxZyRBQuqEiRs+/OakKLEiSvDG 7Ua5JlCljb/2NWxbLeePsgjrCtkI/30s6GC3yVgMktk2Bo+hM36WV+bzeRAQrIYhWZl57O ei+Cf3JOtiBczOO1WnF9blgjJCCwp/CfSbaw3e3PlraWklJRszhNMtsAI4VHYhsa5MwAWG qCG6VWXL1uyuwc9doheUhnN13+4DAch7nrpR0FbRlGdZt3yJTQsZvXxlLcrVwhV3zj75lH ySoHFi55HRa0r9Tur7zbVfvloFn0UEo453eAN1Tate/kw97OYUzv/Llu2iaItw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690836288; a=rsa-sha256; cv=none; b=pZQnnrjdrumLKXwC+t37BR0FjTvJ27ENdw/3+v+UEWTW3V0+1wr73W8MYnAiPkYtah54cI lT2cYCCbMa++Lj7m+XadUX+HgJ3QBNjBhnerE4k6kpLUI1sYux9ynsvzDQbLAnY+xW+r5U cgBwLLZZdwBS/kGqi4EfmDsQWqzN5ngGgcssvV9mParZlHcpeVsnXviaR/w6ZQVERae0+V h9v22zrrcs+vm3tufieSI3OBHZvETAXik8HKa5mKnvltAUlyJb+GoeAIka9XOSeqVZzc+o 81V1DbDk2o/bdCq+jMQbPMXnVsq40R+gYpCOV+4/UznONTI+kajHTlAvTJbwUw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RF9GS3bYnz195N; Mon, 31 Jul 2023 20:44:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36VKim0t090529; Mon, 31 Jul 2023 20:44:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36VKimW3090528; Mon, 31 Jul 2023 20:44:48 GMT (envelope-from git) Date: Mon, 31 Jul 2023 20:44:48 GMT Message-Id: <202307312044.36VKimW3090528@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: c68da46518bf - main - net/py-urllib3: Fix SetuptoolsDeprecationWarning and _DeprecatedConfig List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c68da46518bf4c27ec6d7d7bb4f5c57443d3a0de Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c68da46518bf4c27ec6d7d7bb4f5c57443d3a0de commit c68da46518bf4c27ec6d7d7bb4f5c57443d3a0de Author: Po-Chuan Hsieh AuthorDate: 2023-07-31 20:09:19 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-07-31 20:44:28 +0000 net/py-urllib3: Fix SetuptoolsDeprecationWarning and _DeprecatedConfig /usr/local/lib/python3.9/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'provides-extra' will not be supported in future versions. Please use the underscore name 'provides_extra' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/local/lib/python3.9/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'requires-dist' will not be supported in future versions. Please use the underscore name 'requires_dist' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/local/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! Reference: https://setuptools.pypa.io/en/latest/userguide/declarative_config.html --- net/py-urllib3/files/patch-setup.cfg | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/net/py-urllib3/files/patch-setup.cfg b/net/py-urllib3/files/patch-setup.cfg new file mode 100644 index 000000000000..1fc3780800e4 --- /dev/null +++ b/net/py-urllib3/files/patch-setup.cfg @@ -0,0 +1,18 @@ +--- setup.cfg.orig 2023-05-23 10:51:13 UTC ++++ setup.cfg +@@ -7,12 +7,12 @@ max-line-length = 99 + universal = 1 + + [metadata] +-license_file = LICENSE.txt +-provides-extra = ++license_files = LICENSE.txt ++provides_extra = + secure + socks + brotli +-requires-dist = ++requires_dist = + pyOpenSSL>=0.14; extra == 'secure' + cryptography>=1.3.4; extra == 'secure' + idna>=2.0.0; extra == 'secure'