Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-urllib3 for openSUSE:Factory checked in at 2022-08-24 15:10:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-urllib3 (Old) and /work/SRC/openSUSE:Factory/.python-urllib3.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-urllib3" Wed Aug 24 15:10:24 2022 rev:51 rq:998723 version:1.26.12 Changes: -------- --- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes 2022-08-04 13:23:37.584526397 +0200 +++ /work/SRC/openSUSE:Factory/.python-urllib3.new.2083/python-urllib3.changes 2022-08-24 15:10:27.828454576 +0200 @@ -1,0 +2,8 @@ +Mon Aug 22 21:53:59 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 1.26.12: + * Deprecated the `urllib3[secure]` extra and the `urllib3.contrib.pyopenssl` module. + Both will be removed in v2.x. See this `GitHub issue <https://github.com/urllib3/urllib3/issues/2680>`_ + for justification and info on how to migrate. + +------------------------------------------------------------------- Old: ---- urllib3-1.26.11.tar.gz New: ---- urllib3-1.26.12.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-urllib3.spec ++++++ --- /var/tmp/diff_new_pack.sx8vep/_old 2022-08-24 15:10:28.324455693 +0200 +++ /var/tmp/diff_new_pack.sx8vep/_new 2022-08-24 15:10:28.328455701 +0200 @@ -25,7 +25,7 @@ %bcond_with test %endif Name: python-urllib3%{psuffix} -Version: 1.26.11 +Version: 1.26.12 Release: 0 Summary: HTTP library with thread-safe connection pooling, file post, and more License: MIT ++++++ urllib3-1.26.11.tar.gz -> urllib3-1.26.12.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/urllib3-1.26.11/CHANGES.rst new/urllib3-1.26.12/CHANGES.rst --- old/urllib3-1.26.11/CHANGES.rst 2022-07-25 15:01:49.000000000 +0200 +++ new/urllib3-1.26.12/CHANGES.rst 2022-08-22 15:18:37.000000000 +0200 @@ -1,6 +1,14 @@ Changes ======= +1.26.12 (2022-08-22) +-------------------- + +* Deprecated the `urllib3[secure]` extra and the `urllib3.contrib.pyopenssl` module. + Both will be removed in v2.x. See this `GitHub issue <https://github.com/urllib3/urllib3/issues/2680>`_ + for justification and info on how to migrate. + + 1.26.11 (2022-07-25) -------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/urllib3-1.26.11/PKG-INFO new/urllib3-1.26.12/PKG-INFO --- old/urllib3-1.26.11/PKG-INFO 2022-07-25 15:02:04.047067600 +0200 +++ new/urllib3-1.26.12/PKG-INFO 2022-08-22 15:18:46.373898700 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: urllib3 -Version: 1.26.11 +Version: 1.26.12 Summary: HTTP library with thread-safe connection pooling, file post, and more. Home-page: https://urllib3.readthedocs.io/ Author: Andrey Petrov @@ -144,6 +144,14 @@ Changes ======= +1.26.12 (2022-08-22) +-------------------- + +* Deprecated the `urllib3[secure]` extra and the `urllib3.contrib.pyopenssl` module. + Both will be removed in v2.x. See this `GitHub issue <https://github.com/urllib3/urllib3/issues/2680>`_ + for justification and info on how to migrate. + + 1.26.11 (2022-07-25) -------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/urllib3-1.26.11/docs/reference/contrib/pyopenssl.rst new/urllib3-1.26.12/docs/reference/contrib/pyopenssl.rst --- old/urllib3-1.26.11/docs/reference/contrib/pyopenssl.rst 2022-07-25 15:01:49.000000000 +0200 +++ new/urllib3-1.26.12/docs/reference/contrib/pyopenssl.rst 2022-08-22 15:18:37.000000000 +0200 @@ -1,5 +1,8 @@ PyOpenSSL ========= +.. warning:: + DEPRECATED: This module is deprecated and will be removed in a future 2.x release. + Read more in this `issue <https://github.com/urllib3/urllib3/issues/2680>`_. .. automodule:: urllib3.contrib.pyopenssl :members: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/urllib3-1.26.11/setup.cfg new/urllib3-1.26.12/setup.cfg --- old/urllib3-1.26.11/setup.cfg 2022-07-25 15:02:04.047067600 +0200 +++ new/urllib3-1.26.12/setup.cfg 2022-08-22 15:18:46.373898700 +0200 @@ -18,6 +18,7 @@ idna>=2.0.0; extra == 'secure' certifi; extra == 'secure' ipaddress; python_version=="2.7" and extra == 'secure' + urllib3-secure-extra; extra == 'secure' PySocks>=1.5.6,<2.0,!=1.5.7; extra == 'socks' brotli>=1.0.9; (os_name != 'nt' or python_version >= '3') and platform_python_implementation == 'CPython' and extra == 'brotli' brotlicffi>=0.8.0; (os_name != 'nt' or python_version >= '3') and platform_python_implementation != 'CPython' and extra == 'brotli' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/urllib3-1.26.11/setup.py new/urllib3-1.26.12/setup.py --- old/urllib3-1.26.11/setup.py 2022-07-25 15:01:49.000000000 +0200 +++ new/urllib3-1.26.12/setup.py 2022-08-22 15:18:37.000000000 +0200 @@ -95,6 +95,7 @@ "idna>=2.0.0", "certifi", "ipaddress; python_version=='2.7'", + "urllib3-secure-extra", ], "socks": ["PySocks>=1.5.6,<2.0,!=1.5.7"], }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/urllib3-1.26.11/src/urllib3/__init__.py new/urllib3-1.26.12/src/urllib3/__init__.py --- old/urllib3-1.26.11/src/urllib3/__init__.py 2022-07-25 15:01:49.000000000 +0200 +++ new/urllib3-1.26.12/src/urllib3/__init__.py 2022-08-22 15:18:37.000000000 +0200 @@ -19,6 +19,23 @@ from .util.timeout import Timeout from .util.url import get_host +# === NOTE TO REPACKAGERS AND VENDORS === +# Please delete this block, this logic is only +# for urllib3 being distributed via PyPI. +# See: https://github.com/urllib3/urllib3/issues/2680 +try: + import urllib3_secure_extra # type: ignore # noqa: F401 +except ImportError: + pass +else: + warnings.warn( + "'urllib3[secure]' extra is deprecated and will be removed " + "in a future release of urllib3 2.x. Read more in this issue: " + "https://github.com/urllib3/urllib3/issues/2680", + category=DeprecationWarning, + stacklevel=2, + ) + __author__ = "Andrey Petrov (andrey.pet...@shazow.net)" __license__ = "MIT" __version__ = __version__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/urllib3-1.26.11/src/urllib3/_version.py new/urllib3-1.26.12/src/urllib3/_version.py --- old/urllib3-1.26.11/src/urllib3/_version.py 2022-07-25 15:01:49.000000000 +0200 +++ new/urllib3-1.26.12/src/urllib3/_version.py 2022-08-22 15:18:37.000000000 +0200 @@ -1,2 +1,2 @@ # This file is protected via CODEOWNERS -__version__ = "1.26.11" +__version__ = "1.26.12" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/urllib3-1.26.11/src/urllib3/contrib/pyopenssl.py new/urllib3-1.26.12/src/urllib3/contrib/pyopenssl.py --- old/urllib3-1.26.11/src/urllib3/contrib/pyopenssl.py 2022-07-25 15:01:49.000000000 +0200 +++ new/urllib3-1.26.12/src/urllib3/contrib/pyopenssl.py 2022-08-22 15:18:37.000000000 +0200 @@ -73,11 +73,20 @@ import logging import ssl import sys +import warnings from .. import util from ..packages import six from ..util.ssl_ import PROTOCOL_TLS_CLIENT +warnings.warn( + "'urllib3.contrib.pyopenssl' module is deprecated and will be removed " + "in a future release of urllib3 2.x. Read more in this issue: " + "https://github.com/urllib3/urllib3/issues/2680", + category=DeprecationWarning, + stacklevel=2, +) + __all__ = ["inject_into_urllib3", "extract_from_urllib3"] # SNI always works. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/urllib3-1.26.11/src/urllib3.egg-info/PKG-INFO new/urllib3-1.26.12/src/urllib3.egg-info/PKG-INFO --- old/urllib3-1.26.11/src/urllib3.egg-info/PKG-INFO 2022-07-25 15:02:04.000000000 +0200 +++ new/urllib3-1.26.12/src/urllib3.egg-info/PKG-INFO 2022-08-22 15:18:46.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: urllib3 -Version: 1.26.11 +Version: 1.26.12 Summary: HTTP library with thread-safe connection pooling, file post, and more. Home-page: https://urllib3.readthedocs.io/ Author: Andrey Petrov @@ -144,6 +144,14 @@ Changes ======= +1.26.12 (2022-08-22) +-------------------- + +* Deprecated the `urllib3[secure]` extra and the `urllib3.contrib.pyopenssl` module. + Both will be removed in v2.x. See this `GitHub issue <https://github.com/urllib3/urllib3/issues/2680>`_ + for justification and info on how to migrate. + + 1.26.11 (2022-07-25) -------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/urllib3-1.26.11/src/urllib3.egg-info/requires.txt new/urllib3-1.26.12/src/urllib3.egg-info/requires.txt --- old/urllib3-1.26.11/src/urllib3.egg-info/requires.txt 2022-07-25 15:02:04.000000000 +0200 +++ new/urllib3-1.26.12/src/urllib3.egg-info/requires.txt 2022-08-22 15:18:46.000000000 +0200 @@ -15,6 +15,7 @@ cryptography>=1.3.4 idna>=2.0.0 certifi +urllib3-secure-extra [secure:python_version == "2.7"] ipaddress