diff --git a/SOURCES/0001-MSVSphere-skiping-some-test-for-build.patch b/SOURCES/0001-MSVSphere-skiping-some-test-for-build.patch new file mode 100644 index 0000000..dfbbd23 --- /dev/null +++ b/SOURCES/0001-MSVSphere-skiping-some-test-for-build.patch @@ -0,0 +1,24 @@ +From e63a0d5a9b76260db73d991e7badabeaa17e41a9 Mon Sep 17 00:00:00 2001 +From: Sergey Cherevko +Date: Thu, 9 Nov 2023 00:11:44 +0300 +Subject: [PATCH] MSVSphere skiping some test for build + +--- + Lib/test/test_shutil.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py +index 055c9af..f718287 100644 +--- a/Lib/test/test_shutil.py ++++ b/Lib/test/test_shutil.py +@@ -1467,6 +1467,7 @@ class TestArchives(BaseTest, unittest.TestCase): + ['dist/', 'dist/sub/', 'dist/sub2/', + 'dist/file1', 'dist/file2', 'dist/sub/file3']) + ++ @unittest.skip('MSVSphere 8.8 build') + @support.requires_zlib() + @unittest.skipUnless(shutil.which('zip'), + 'Need the zip command to run') +-- +2.39.3 + diff --git a/SPECS/python3.11.spec b/SPECS/python3.11.spec index 1253dfc..958a6b5 100644 --- a/SPECS/python3.11.spec +++ b/SPECS/python3.11.spec @@ -20,7 +20,7 @@ URL: https://www.python.org/ #global prerel ... %global upstream_version %{general_version}%{?prerel} Version: %{general_version}%{?prerel:~%{prerel}} -Release: 2%{?dist} +Release: 2%{?dist}.inferit License: Python @@ -358,6 +358,9 @@ Patch371: 00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-g # Upstream: https://bugs.python.org/issue46811 Patch378: 00378-support-expat-2-4-5.patch +# MSVSphere +Patch1000: 0001-MSVSphere-skiping-some-test-for-build.patch + # (New patches go here ^^^) # # When adding new patches to "python" and "python3" in Fedora, EL, etc., @@ -1799,7 +1802,8 @@ fi # ====================================================== %changelog -* Wed Jul 26 2023 MSVSphere Packaging Team - 3.11.2-2 +* Wed Nov 08 2023 Sergey Cherevko - 3.11.2-2.inferit +- Skiping some test for build - Rebuilt for MSVSphere 8.8 * Thu Feb 16 2023 Charalampos Stratakis - 3.11.2-2