[packages/python3] Up to 3.12.5
arekm
arekm at pld-linux.org
Tue Aug 13 10:37:12 CEST 2024
commit d94da3928e19d2efdea83f6b3b2b3a7685e1c2ac
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Aug 13 09:28:02 2024 +0200
Up to 3.12.5
python3-no_cmdline_tests.patch | 9 ++++-----
python3-tests_with_pythonpath.patch | 4 ++--
python3.spec | 4 ++--
3 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index 3a75f7d..7c2bba3 100644
--- a/python3.spec
+++ b/python3.spec
@@ -47,13 +47,13 @@ Summary(ru.UTF-8): Язык программирования очень высо
Summary(tr.UTF-8): X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
Summary(uk.UTF-8): Мова програмування дуже високого рівня з X-інтерфейсом
Name: python3
-Version: %{py_ver}.3
+Version: %{py_ver}.5
Release: 0.1
Epoch: 1
License: PSF
Group: Development/Languages/Python
Source0: https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
-# Source0-md5: 8defb33f0c37aa4bdd3a38ba52abde4e
+# Source0-md5: 02c7d269e077f4034963bba6befdc715
Source1: pyconfig.h.in
Patch0: %{name}-pythonpath.patch
diff --git a/python3-no_cmdline_tests.patch b/python3-no_cmdline_tests.patch
index f33f8fc..af46837 100644
--- a/python3-no_cmdline_tests.patch
+++ b/python3-no_cmdline_tests.patch
@@ -1,8 +1,7 @@
-diff -urNp -x '*.orig' Python-3.9.2.org/Lib/test/test_compileall.py Python-3.9.2/Lib/test/test_compileall.py
---- Python-3.9.2.org/Lib/test/test_compileall.py 2021-02-19 13:31:44.000000000 +0100
-+++ Python-3.9.2/Lib/test/test_compileall.py 2021-02-25 18:40:29.876560976 +0100
-@@ -419,6 +419,7 @@ class EncodingTest(unittest.TestCase):
- sys.stdout = orig_stdout
+--- Python-3.12.5/Lib/test/test_compileall.py~ 2024-08-06 21:08:49.000000000 +0200
++++ Python-3.12.5/Lib/test/test_compileall.py 2024-08-13 08:27:07.623262579 +0200
+@@ -498,6 +498,7 @@ class EncodingTest(unittest.TestCase):
+ self.assertNotIn('UnicodeEncodeError', res)
+ at unittest.skipUnless(support.is_resource_enabled("cmdline"), "python cmdline tests disabled")
diff --git a/python3-tests_with_pythonpath.patch b/python3-tests_with_pythonpath.patch
index 4729c16..2492cae 100644
--- a/python3-tests_with_pythonpath.patch
+++ b/python3-tests_with_pythonpath.patch
@@ -93,8 +93,8 @@ diff -urNp -x '*.orig' Python-3.9.2.org/Lib/test/test_venv.py Python-3.9.2/Lib/t
def test_executable(self):
"""
Test that the sys.executable value is as expected.
-@@ -641,6 +641,7 @@ class BasicTest(BaseTest):
- self.assertFalse(line.endswith(b'\r\n'), error_message)
+@@ -673,6 +673,7 @@ class BasicTest(BaseTest):
+ self.assertFalse(same_path(path1, path2))
@requireVenvCreate
+ at unittest.skipIf("PYTHONPATH" in os.environ, "$PYTHONPATH set")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/d94da3928e19d2efdea83f6b3b2b3a7685e1c2ac
More information about the pld-cvs-commit
mailing list