Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-urllib3_1 for openSUSE:Factory checked in at 2023-05-23 14:53:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-urllib3_1 (Old) and /work/SRC/openSUSE:Factory/.python-urllib3_1.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-urllib3_1" Tue May 23 14:53:25 2023 rev:2 rq:1088343 version:1.26.15 Changes: -------- --- /work/SRC/openSUSE:Factory/python-urllib3_1/python-urllib3_1.changes 2023-05-19 11:55:57.731414476 +0200 +++ /work/SRC/openSUSE:Factory/.python-urllib3_1.new.1533/python-urllib3_1.changes 2023-05-23 14:53:34.642140196 +0200 @@ -1,0 +2,7 @@ +Mon May 22 11:23:33 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch support-fixed-ssl-shared_ciphers.patch: + * Support changes to the Python interpreter that fixed how + ssl.shared_ciphers behaves. + +------------------------------------------------------------------- New: ---- support-fixed-ssl-shared_ciphers.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-urllib3_1.spec ++++++ --- /var/tmp/diff_new_pack.MquCk3/_old 2023-05-23 14:53:35.174143343 +0200 +++ /var/tmp/diff_new_pack.MquCk3/_new 2023-05-23 14:53:35.182143390 +0200 @@ -36,6 +36,8 @@ # PATCH-FIX-UPSTREAM remove_mock.patch gh#urllib3/urllib3#2108 mc...@suse.com # remove dependency on the external module mock Patch0: remove_mock.patch +# PATCH-FIX-OPENSUSE New Python versions fixed behaviour of ssl.shared_ciphers +Patch1: support-fixed-ssl-shared_ciphers.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} ++++++ support-fixed-ssl-shared_ciphers.patch ++++++ Index: urllib3-1.26.15/test/test_ssltransport.py =================================================================== --- urllib3-1.26.15.orig/test/test_ssltransport.py +++ urllib3-1.26.15/test/test_ssltransport.py @@ -205,8 +205,10 @@ class SingleTLSLayerTestCase(SocketDummy assert ssock.selected_npn_protocol() is None shared_ciphers = ssock.shared_ciphers() - assert type(shared_ciphers) == list - assert len(shared_ciphers) > 0 + # New Python versions fixed shared_ciphers + if shared_ciphers is not None: + assert type(shared_ciphers) == list + assert len(shared_ciphers) > 0 assert ssock.compression() is None