skiping some test for build

i8 changed/i8/python3.11-3.11.2-2.el8.inferit
Sergey Cherevko 11 months ago
parent 5201be1411
commit b8d4c83970
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

@ -0,0 +1,24 @@
From e63a0d5a9b76260db73d991e7badabeaa17e41a9 Mon Sep 17 00:00:00 2001
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
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

@ -20,7 +20,7 @@ URL: https://www.python.org/
#global prerel ... #global prerel ...
%global upstream_version %{general_version}%{?prerel} %global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}} Version: %{general_version}%{?prerel:~%{prerel}}
Release: 2%{?dist} Release: 2%{?dist}.inferit
License: Python 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 # Upstream: https://bugs.python.org/issue46811
Patch378: 00378-support-expat-2-4-5.patch Patch378: 00378-support-expat-2-4-5.patch
# MSVSphere
Patch1000: 0001-MSVSphere-skiping-some-test-for-build.patch
# (New patches go here ^^^) # (New patches go here ^^^)
# #
# When adding new patches to "python" and "python3" in Fedora, EL, etc., # When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -1799,7 +1802,8 @@ fi
# ====================================================== # ======================================================
%changelog %changelog
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.11.2-2 * Wed Nov 08 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 3.11.2-2.inferit
- Skiping some test for build
- Rebuilt for MSVSphere 8.8 - Rebuilt for MSVSphere 8.8
* Thu Feb 16 2023 Charalampos Stratakis <cstratak@redhat.com> - 3.11.2-2 * Thu Feb 16 2023 Charalampos Stratakis <cstratak@redhat.com> - 3.11.2-2

Loading…
Cancel
Save