#191 Fedora 32: Update to 3.8.5
Merged 3 years ago by churchyard. Opened 3 years ago by churchyard.
rpms/ churchyard/python3 f32-3.8.5  into  f32

file modified
+1 -4
@@ -1,4 +1,4 @@ 

- From 45b72bdeac12c9243667f94a07f46a7944b95a92 Mon Sep 17 00:00:00 2001

+ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001

  From: David Malcolm <dmalcolm@redhat.com>

  Date: Wed, 13 Jan 2010 21:25:18 +0000

  Subject: [PATCH] 00001: Fixup distutils/unixccompiler.py to remove standard
@@ -28,6 +28,3 @@ 

       def preprocess(self, source, output_file=None, macros=None,

                      include_dirs=None, extra_preargs=None, extra_postargs=None):

           fixed_args = self._fix_compile_args(None, macros, include_dirs)

- -- 

- 2.23.0

- 

file modified
+2 -5
@@ -1,4 +1,4 @@ 

- From dca4d618f872be4ec9509a96707d86f6a6988256 Mon Sep 17 00:00:00 2001

+ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001

  From: David Malcolm <dmalcolm@redhat.com>

  Date: Wed, 13 Jan 2010 21:25:18 +0000

  Subject: [PATCH] 00102: Change the various install paths to use /usr/lib64/
@@ -139,7 +139,7 @@ 

           'scripts': '{userbase}/bin',

           'data': '{userbase}',

  diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py

- index 9a047fd466..31c6f283e9 100644

+ index 01008656bd..7f9c9f1d41 100644

  --- a/Lib/test/test_site.py

  +++ b/Lib/test/test_site.py

  @@ -267,8 +267,8 @@ class HelperFunctionsTests(unittest.TestCase):
@@ -256,6 +256,3 @@ 

                                  extra_link_args=readline_extra_link_args,

                                  libraries=readline_libs))

           else:

- -- 

- 2.23.0

- 

file modified
+1 -4
@@ -1,4 +1,4 @@ 

- From 7a3151c7bc83b67bd30cd9acb1d91118e7d32eae Mon Sep 17 00:00:00 2001

+ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001

  From: David Malcolm <dmalcolm@redhat.com>

  Date: Mon, 18 Jan 2010 17:59:07 +0000

  Subject: [PATCH] 00111: Don't try to build a libpythonMAJOR.MINOR.a
@@ -73,6 +73,3 @@ 

   	$(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c

   	$(INSTALL_DATA) Programs/python.o $(DESTDIR)$(LIBPL)/python.o

   	$(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in

- -- 

- 2.23.0

- 

file modified
+4 -4
@@ -1,9 +1,12 @@ 

- From e34c7e188861647f2c9260a30da8d4b7cfb95c37 Mon Sep 17 00:00:00 2001

+ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001

  From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>

  Date: Wed, 15 Aug 2018 15:36:29 +0200

  Subject: [PATCH] 00189: Instead of bundled wheels, use our RPM packaged wheels

  

  We keep them in /usr/share/python-wheels

+ 

+ Downstream only: upstream bundles

+ We might eventually pursuit upstream support, but it's low prio

  ---

   Lib/ensurepip/__init__.py | 32 ++++++++++++++++++++++----------

   1 file changed, 22 insertions(+), 10 deletions(-)
@@ -66,6 +69,3 @@ 

   

               additional_paths.append(os.path.join(tmpdir, wheel_name))

   

- -- 

- 2.23.0

- 

@@ -1,4 +1,4 @@ 

- From 8a62a97b989692c68470745193581e6dff599044 Mon Sep 17 00:00:00 2001

+ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001

  From: Michal Cyprian <m.cyprian@gmail.com>

  Date: Mon, 26 Jun 2017 16:32:56 +0200

  Subject: [PATCH] 00251: Change user install location
@@ -8,6 +8,7 @@ 

  is not detected to make pip and distutils install into separate location.

  

  Fedora Change: https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe

+ Downstream only: Awaiting resources to work on upstream PEP

  ---

   Lib/distutils/command/install.py | 15 +++++++++++++--

   Lib/site.py                      |  9 ++++++++-
@@ -59,6 +60,3 @@ 

       for sitedir in getsitepackages(prefixes):

           if os.path.isdir(sitedir):

               addsitedir(sitedir, known_paths)

- -- 

- 2.23.0

- 

file modified
+1 -4
@@ -1,4 +1,4 @@ 

- From 1fe3664603effb33b8a89930f6705d2391ad03bc Mon Sep 17 00:00:00 2001

+ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001

  From: Petr Viktorin <pviktori@redhat.com>

  Date: Mon, 28 Aug 2017 17:16:46 +0200

  Subject: [PATCH] 00274: Upstream uses Debian-style architecture naming, change
@@ -81,6 +81,3 @@ 

   # elif defined(__s390x__)

           s390x-linux-gnu

   # elif defined(__s390__)

- -- 

- 2.23.0

- 

@@ -1,4 +1,4 @@ 

- From b7b76bfde0f5ac75978327836b8d32584b968547 Mon Sep 17 00:00:00 2001

+ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001

  From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>

  Date: Thu, 11 Jul 2019 13:44:13 +0200

  Subject: [PATCH] 00328: Restore pyc to TIMESTAMP invalidation mode as default
@@ -11,6 +11,8 @@ 

  when $RPM_BUILD_ROOT is set (i.e. when we are building RPM packages).

  

  See https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/57#comment-27426

+ Downstream only: only used when building RPM packages

+ Ideally, we should talk to upstream and explain why we don't want this

  ---

   Lib/py_compile.py           | 3 ++-

   Lib/test/test_py_compile.py | 2 ++
@@ -50,6 +52,3 @@ 

               return fxn(*args, **kwargs)

       return wrapper

   

- -- 

- 2.23.0

- 

file modified
+40 -22
@@ -13,7 +13,7 @@ 

  

  #  WARNING  When rebasing to a new Python version,

  #           remember to update the python3-docs package as well

- %global general_version %{pybasever}.4

+ %global general_version %{pybasever}.5

  #global prerel rc1

  %global upstream_version %{general_version}%{?prerel}

  Version: %{general_version}%{?prerel:~%{prerel}}
@@ -227,27 +227,32 @@ 

  # AppData file for idle3

  Source11: idle3.appdata.xml

  

- # 00001 #

- # Fixup distutils/unixccompiler.py to remove standard library path from rpath:

- # Was Patch0 in ivazquez' python3000 specfile:

- Patch1:         00001-rpath.patch

+ # (Patches taken from github.com/fedora-python/cpython)

  

- # 00102 #

- # Change the various install paths to use /usr/lib64/ instead or /usr/lib

- # Only used when "%%{_lib}" == "lib64"

- # Not yet sent upstream.

+ # 00001 # d06a8853cf4bae9e115f45e1d531d2dc152c5cc8

+ # Fixup distutils/unixccompiler.py to remove standard library path from rpath

+ # Was Patch0 in ivazquez' python3000 specfile

+ Patch1: 00001-rpath.patch

+ 

+ # 00102 # ec4353c0f646eb567cc0d63e1e41eb5e29cc3e81

+ # Change the various install paths to use /usr/lib64/ instead or /usr/lib/

+ #

+ # Only used when "%%{_lib}" == "lib64".

  Patch102: 00102-lib64.patch

  

- # 00111 #

- # Patch the Makefile.pre.in so that the generated Makefile doesn't try to build

- # a libpythonMAJOR.MINOR.a

+ # 00111 # 03918d404a40a50c9f5f93dc748b52e613d70d31

+ # Don't try to build a libpythonMAJOR.MINOR.a

+ #

+ # Downstream only: not appropriate for upstream.

+ #

  # See https://bugzilla.redhat.com/show_bug.cgi?id=556092

- # Downstream only: not appropriate for upstream

  Patch111: 00111-no-static-lib.patch

  

- # 00189 #

- # Instead of bundled wheels, use our RPM packaged wheels from

- # /usr/share/python-wheels

+ # 00189 # adf51ed04ac74fd6fc39c642af35b87680c71dab

+ # Instead of bundled wheels, use our RPM packaged wheels

+ #

+ # We keep them in /usr/share/python-wheels

+ #

  # Downstream only: upstream bundles

  # We might eventually pursuit upstream support, but it's low prio

  Patch189: 00189-use-rpm-wheels.patch
@@ -258,20 +263,30 @@ 

  %global pip_version 20.1.1

  %global setuptools_version 47.1.0

  

- # 00251

+ # 00251 # 2eabd04356402d488060bc8fe316ad13fc8a3356

+ # Change user install location

+ #

  # Set values of prefix and exec_prefix in distutils install command

  # to /usr/local if executable is /usr/bin/python* and RPM build

- # is not detected to make pip and distutils install into separate location

+ # is not detected to make pip and distutils install into separate location.

+ #

  # Fedora Change: https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe

  # Downstream only: Awaiting resources to work on upstream PEP

  Patch251: 00251-change-user-install-location.patch

  

- # 00274 #

- # Upstream uses Debian-style architecture naming. Change to match Fedora.

+ # 00274 # 1e9258f6e8f70e86d5130113d3eed22993cf3da9

+ # Upstream uses Debian-style architecture naming, change to match Fedora

  Patch274: 00274-fix-arch-names.patch

  

- # 00328 #

- # Restore pyc to TIMESTAMP invalidation mode as default in rpmbubild

+ # 00328 # 367fdcb5a075f083aea83ac174999272a8faf75c

+ # Restore pyc to TIMESTAMP invalidation mode as default in rpmbuild

+ #

+ # Since Fedora 31, the $SOURCE_DATE_EPOCH is set in rpmbuild to the latest

+ # %%changelog date. This makes Python default to the CHECKED_HASH pyc

+ # invalidation mode, bringing more reproducible builds traded for an import

+ # performance decrease. To avoid that, we don't default to CHECKED_HASH

+ # when $RPM_BUILD_ROOT is set (i.e. when we are building RPM packages).

+ #

  # See https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/57#comment-27426

  # Downstream only: only used when building RPM packages

  # Ideally, we should talk to upstream and explain why we don't want this
@@ -1567,6 +1582,9 @@ 

  # ======================================================

  

  %changelog

+ * Mon Jul 20 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8.5-1

+ - Update to 3.8.5

+ 

  * Tue Jul 14 2020 Tomas Hrnciar <thrnciar@redhat.com> - 3.8.4-1

  - Update to 3.8.4

  

file modified
+2 -2
@@ -1,2 +1,2 @@ 

- SHA512 (Python-3.8.4.tar.xz) = 37a36d014a8372742be9d0bd9dd3a275e100dc21b1515c145bc62425d4d157327b6e63ad99bc888c0b36c1da4c05676c40eb086e75072d1906e3210ec3043dcb

- SHA512 (Python-3.8.4.tar.xz.asc) = eabf5e26184bb84f763f899fd2148e7d456765dfb584d52cbb15a3ce7619f84c3b3ddab4c9f1dc619bab17c7d24e0888db41ef435ce95ff9494122d6844ef3ce

+ SHA512 (Python-3.8.5.tar.xz) = 460cee65d7df7150694590575502d7f22e548ebfc99c8f8b363eef8bf30ee72e58d8ffacb1d607824f877f880eb9fd6775a508388029583e1e1df3380f3f9587

+ SHA512 (Python-3.8.5.tar.xz.asc) = 9da94822cc4745176bae78220eef14322967613b7c594980a5f1e15b07d6549edf26c8ce9adf56ca14565108591db1e33827d7d5fd245435c44f839dca9f2fa4