Update to Python 3.9.0a3

Added patches 340 and 341 (backports from master)
This commit is contained in:
Victor Stinner 2020-01-27 16:18:32 +01:00 committed by Miro Hrončok
commit 0ae3172083
11 changed files with 105 additions and 20 deletions

View file

@ -14,7 +14,7 @@ URL: https://www.python.org/
# WARNING When rebasing to a new Python version,
# remember to update the python3-docs package as well
%global general_version %{pybasever}.0
%global prerel a2
%global prerel a3
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
@ -278,6 +278,20 @@ Patch274: 00274-fix-arch-names.patch
# Ideally, we should talk to upstream and explain why we don't want this
Patch328: 00328-pyc-timestamp-invalidation-mode.patch
# 00340 #
# Add test.test_import.data.unwritable package to makefile
# Fixed upstream: https://bugs.python.org/issue39459
Patch340: 00340-makefile-missing-test.patch
# 00341 #
# Fix test_zipfile.test_add_file_after_2107()
# XFS filesystem is limited to 32-bit timestamp, but the utimensat()
# syscall doesn't fail. Moreover, there is a VFS bug which returns
# a cached timestamp which is different than the value on disk.
# Workarounds https://bugzilla.redhat.com/show_bug.cgi?id=1795576
# Workarounded upstream: https://bugs.python.org/issue39460
Patch341: 00341-bpo-39460.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -625,6 +639,8 @@ rm Lib/ensurepip/_bundled/*.whl
%patch251 -p1
%patch274 -p1
%patch328 -p1
%patch340 -p1
%patch341 -p1
# Remove files that should be generated by the build
@ -1567,6 +1583,9 @@ CheckPython optimized
# ======================================================
%changelog
* Mon Jan 27 2020 Victor Stinner <vstinner@python.org> - 3.9.0~a3-1
- Update to Python 3.9.0a3
* Thu Dec 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~a2-1
- Rebased to Python 3.9.0a2