Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2023-01-27 10:15:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python" Fri Jan 27 10:15:25 2023 rev:176 rq:1061142 version:2.7.18 Changes: -------- --- /work/SRC/openSUSE:Factory/python/python-base.changes 2022-11-24 12:22:07.312875330 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.32243/python-base.changes 2023-01-27 10:19:20.624488808 +0100 @@ -1,0 +2,6 @@ +Thu Jan 19 07:14:09 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Add skip_unverified_test.patch because apparently switching off + SSL verification doesn't work on older SLE. + +------------------------------------------------------------------- python-doc.changes: same change python.changes: same change New: ---- skip_unverified_test.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-base.spec ++++++ --- /var/tmp/diff_new_pack.sqaHiT/_old 2023-01-27 10:19:21.864495514 +0100 +++ /var/tmp/diff_new_pack.sqaHiT/_new 2023-01-27 10:19:21.872495557 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-base # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -139,6 +139,9 @@ # PATCH-FIX-UPSTREAM CVE-2022-45061-DoS-by-IDNA-decode.patch bsc#1205244 mc...@suse.com # Avoid DoS by decoding IDNA for too long domain names Patch73: CVE-2022-45061-DoS-by-IDNA-decode.patch +# PATCH-FIX-UPSTREAM skip_unverified_test.patch mc...@suse.com +# switching verification off on the old SLE doesn't work +Patch74: skip_unverified_test.patch # COMMON-PATCH-END %define python_version %(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -281,6 +284,9 @@ %patch71 -p1 %patch72 -p1 %patch73 -p1 +%if 0%{?sle_version} && 0%{?sle_version} < 150000 +%patch74 -p1 +%endif # For patch 66 cp -v %{SOURCE66} Lib/test/recursion.tar ++++++ python-doc.spec ++++++ --- /var/tmp/diff_new_pack.sqaHiT/_old 2023-01-27 10:19:21.896495687 +0100 +++ /var/tmp/diff_new_pack.sqaHiT/_new 2023-01-27 10:19:21.904495730 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-doc # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -138,6 +138,9 @@ # PATCH-FIX-UPSTREAM CVE-2022-45061-DoS-by-IDNA-decode.patch bsc#1205244 mc...@suse.com # Avoid DoS by decoding IDNA for too long domain names Patch73: CVE-2022-45061-DoS-by-IDNA-decode.patch +# PATCH-FIX-UPSTREAM skip_unverified_test.patch mc...@suse.com +# switching verification off on the old SLE doesn't work +Patch74: skip_unverified_test.patch # COMMON-PATCH-END Provides: pyth_doc = %{version} Provides: pyth_ps = %{version} @@ -218,6 +221,9 @@ %patch71 -p1 %patch72 -p1 %patch73 -p1 +%if 0%{?sle_version} && 0%{?sle_version} < 150000 +%patch74 -p1 +%endif # For patch 66 cp -v %{SOURCE66} Lib/test/recursion.tar ++++++ python.spec ++++++ --- /var/tmp/diff_new_pack.sqaHiT/_old 2023-01-27 10:19:21.936495903 +0100 +++ /var/tmp/diff_new_pack.sqaHiT/_new 2023-01-27 10:19:21.936495903 +0100 @@ -1,7 +1,7 @@ # # spec file for package python # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -138,6 +138,9 @@ # PATCH-FIX-UPSTREAM CVE-2022-45061-DoS-by-IDNA-decode.patch bsc#1205244 mc...@suse.com # Avoid DoS by decoding IDNA for too long domain names Patch73: CVE-2022-45061-DoS-by-IDNA-decode.patch +# PATCH-FIX-UPSTREAM skip_unverified_test.patch mc...@suse.com +# switching verification off on the old SLE doesn't work +Patch74: skip_unverified_test.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -334,6 +337,9 @@ %patch71 -p1 %patch72 -p1 %patch73 -p1 +%if 0%{?sle_version} && 0%{?sle_version} < 150000 +%patch74 -p1 +%endif # For patch 66 cp -v %{SOURCE66} Lib/test/recursion.tar ++++++ skip_unverified_test.patch ++++++ --- Lib/test/test_ssl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -1344,9 +1344,9 @@ class ContextTests(unittest.TestCase): extra_env = {} # Omitting it leaves verification on assert_python_ok("-c", https_is_verified, **extra_env) - # Setting it to zero turns verification off - extra_env[ssl._https_verify_envvar] = "0" - assert_python_ok("-c", https_is_not_verified, **extra_env) + ## # Setting it to zero turns verification off + ## extra_env[ssl._https_verify_envvar] = "0" + ## assert_python_ok("-c", https_is_not_verified, **extra_env) # Any other value should also leave it on for setting in ("", "1", "enabled", "foo"): extra_env[ssl._https_verify_envvar] = setting