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
This commit is contained in:
parent
97fbf80724
commit
c68da46518
1 changed files with 18 additions and 0 deletions
18
net/py-urllib3/files/patch-setup.cfg
Normal file
18
net/py-urllib3/files/patch-setup.cfg
Normal file
|
@ -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'
|
Loading…
Reference in a new issue