From bcf8a5d914375e3c2bc00955a6a628baaa26a31d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 31 May 2018 10:57:22 +0200 Subject: [PATCH] Update to 3.7.0b5 --- 00304-test-posix-pass-environ.patch | 13 ------------- python37.spec | 17 +++++------------ sources | 2 +- 3 files changed, 6 insertions(+), 26 deletions(-) delete mode 100644 00304-test-posix-pass-environ.patch diff --git a/00304-test-posix-pass-environ.patch b/00304-test-posix-pass-environ.patch deleted file mode 100644 index 9780674..0000000 --- a/00304-test-posix-pass-environ.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py -index da0135b..1b27b5f 100644 ---- a/Lib/test/test_posix.py -+++ b/Lib/test/test_posix.py -@@ -1463,7 +1463,7 @@ class TestPosixSpawn(unittest.TestCase): - """ - pid = posix.posix_spawn(sys.executable, - [sys.executable, '-c', script], -- {'foo': 'bar'}) -+ {**os.environ, 'foo': 'bar'}) - self.assertEqual(os.waitpid(pid, 0), (pid, 0)) - with open(envfile) as f: - self.assertEqual(f.read(), 'bar') diff --git a/python37.spec b/python37.spec index 8d6903a..29e306e 100644 --- a/python37.spec +++ b/python37.spec @@ -13,12 +13,12 @@ URL: https://www.python.org/ # Third beta -%global prerel b4 +%global prerel b5 # WARNING When rebasing to a new Python version, # remember to update the python3-docs package as well Version: %{pybasever}.0 -Release: 0.18.%{?prerel}%{?dist} +Release: 0.19.%{?prerel}%{?dist} License: Python @@ -347,13 +347,6 @@ Patch274: 00274-fix-arch-names.patch # and: https://src.fedoraproject.org/rpms/redhat-rpm-config/c/078af19 Patch291: 00291-setup-Link-ctypes-against-dl-explicitly.patch -# 00304 # -# Pass os.environ to new process created at test_posix::test_specify_environment -# Otherwise important variables such as LD_LIBRARY_PATH are not set and the -# child process might not work at all -# Proposed upstream: https://bugs.python.org/issue33455 -Patch304: 00304-test-posix-pass-environ.patch - # (New patches go here ^^^) # # When adding new patches to "python" and "python3" in Fedora, EL, etc., @@ -671,7 +664,6 @@ sed -r -i s/'_PIP_VERSION = "[0-9.]+"'/'_PIP_VERSION = "%{pip_version}"'/ Lib/en %patch251 -p1 %patch274 -p1 %patch291 -p1 -%patch304 -p1 # Remove files that should be generated by the build @@ -1226,7 +1218,6 @@ CheckPython optimized %{dynload_dir}/_sqlite3.%{SOABI_optimized}.so %{dynload_dir}/_ssl.%{SOABI_optimized}.so %{dynload_dir}/_struct.%{SOABI_optimized}.so -%{dynload_dir}/_xxsubinterpreters.%{SOABI_optimized}.so %{dynload_dir}/array.%{SOABI_optimized}.so %{dynload_dir}/audioop.%{SOABI_optimized}.so %{dynload_dir}/binascii.%{SOABI_optimized}.so @@ -1490,7 +1481,6 @@ CheckPython optimized %{dynload_dir}/_sqlite3.%{SOABI_debug}.so %{dynload_dir}/_ssl.%{SOABI_debug}.so %{dynload_dir}/_struct.%{SOABI_debug}.so -%{dynload_dir}/_xxsubinterpreters.%{SOABI_debug}.so %{dynload_dir}/array.%{SOABI_debug}.so %{dynload_dir}/audioop.%{SOABI_debug}.so %{dynload_dir}/binascii.%{SOABI_debug}.so @@ -1567,6 +1557,9 @@ CheckPython optimized # ====================================================== %changelog +* Thu May 31 2018 Miro Hrončok - 3.7.0-0.19.b5 +- Update to 3.7.0b5 + * Sat May 12 2018 Miro Hrončok - 3.7.0-0.18.b4 - Bump the bundled pip version to 10.0.1 diff --git a/sources b/sources index abc3c00..67aabf2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Python-3.7.0b4.tar.xz) = e97459a5467a984a5a2bfc08ed937dfeb899f3d4ff9a655878badffc19e722efc30112422c14f94fcf9f6c82ee01e9fe2bb538db83454e4c83b711d1a8444472 +SHA512 (Python-3.7.0b5.tar.xz) = 1623df6a250982b070788f47a5a6cc6c2fd6d8e6396cf6926b771abc35e4291bd4532f03e070f8010f17075d5bdb748ce8056ef9e1a2c54e518d58b75481b692