update openssl version for test case
This commit is contained in:
parent
eb336259ad
commit
bdcb9de554
12
python3.spec
12
python3.spec
@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language
|
||||
URL: https://www.python.org/
|
||||
|
||||
Version: 3.9.9
|
||||
Release: 30
|
||||
Release: 32
|
||||
License: Python-2.0
|
||||
|
||||
%global branchversion 3.9
|
||||
@ -117,12 +117,13 @@ Patch6023: backport-3.9-bpo-37013-Fix-the-error-handling-in-socket.if_in.patch
|
||||
Patch6024: backport-3.9-gh-91133-tempfile.TemporaryDirectory-fix-symlink.patch
|
||||
Patch6025: backport-3.9-gh-109858-Protect-zipfile-from-quoted-overlap-zi.patch
|
||||
Patch6026: backport-3.9-gh-113659-Skip-hidden-.pth-files-GH-113660-GH-11.patch
|
||||
Patch6027: backport_fix_xml_tree_assert_error.patch
|
||||
Patch6027: backport-fix_xml_tree_assert_error.patch
|
||||
|
||||
Patch9000: add-the-sm3-method-for-obtaining-the-salt-value.patch
|
||||
Patch9001: python3-Add-sw64-architecture.patch
|
||||
Patch9002: Add-loongarch-support.patch
|
||||
Patch9003: avoid-usage-of-md5-in-multiprocessing.patch
|
||||
Patch9004: update-openssl-version-for-test-case.patch
|
||||
|
||||
Provides: python%{branchversion} = %{version}-%{release}
|
||||
Provides: python(abi) = %{branchversion}
|
||||
@ -239,6 +240,7 @@ rm -r Modules/expat
|
||||
%patch9001 -p1
|
||||
%patch9002 -p1
|
||||
%patch9003 -p1
|
||||
%patch9004 -p1
|
||||
|
||||
rm Lib/ensurepip/_bundled/*.whl
|
||||
rm configure pyconfig.h.in
|
||||
@ -861,6 +863,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 20 2024 xinsheng <xinsheng3@huawei.com> - 3.9.9-32
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:update openssl version for test case
|
||||
|
||||
* Web May 22 2024 xinsheng <xinsheng3@huawei.com> - 3.9.9-31
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
25
update-openssl-version-for-test-case.patch
Normal file
25
update-openssl-version-for-test-case.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From d7a637e43086c51d0e2b4cd2f9324f1c60eced50 Mon Sep 17 00:00:00 2001
|
||||
From: xinsheng3 <xinsheng3@huawei.com>
|
||||
Date: Thu, 20 Jun 2024 15:29:05 +0800
|
||||
Subject: [PATCH] update openssl version for test case.patch
|
||||
|
||||
---
|
||||
Lib/test/test_ssl.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
|
||||
index 2c71c27..d95f0ef 100644
|
||||
--- a/Lib/test/test_ssl.py
|
||||
+++ b/Lib/test/test_ssl.py
|
||||
@@ -589,7 +589,7 @@ class BasicSocketTests(unittest.TestCase):
|
||||
self.assertGreaterEqual(fix, 0)
|
||||
self.assertLess(fix, 256)
|
||||
self.assertGreaterEqual(patch, 0)
|
||||
- self.assertLessEqual(patch, 63)
|
||||
+ self.assertLessEqual(patch, 128)
|
||||
self.assertGreaterEqual(status, 0)
|
||||
self.assertLessEqual(status, 15)
|
||||
# Version string as returned by {Open,Libre}SSL, the format might change
|
||||
--
|
||||
2.33.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user