Add cherry-picks for bugs found in 3.9.0b1

These should be released with the next beta, but we need to build with them.
This commit is contained in:
Petr Viktorin 2020-05-29 17:31:17 +02:00
commit 424eca1d57
3 changed files with 479 additions and 1 deletions

View file

@ -17,7 +17,7 @@ URL: https://www.python.org/
%global prerel b1
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 3%{?dist}
Release: 4%{?dist}
License: Python
@ -283,6 +283,18 @@ 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
# 00349 #
# Ensure Py_VISIT(Py_TYPE(self)) is always called from tp_traverse of heap types
# See https://bugs.python.org/issue40217
# Merged upstream, planned for Python 3.9.0b2
Patch349: 00349-Ensure-Py_VISIT-Py_TYPE-self-is-always-called-.patch
# 00350 #
# Ensure Py_VISIT(Py_TYPE(self)) is always called from tp_traverse of heap types
# See https://bugs.python.org/issue40217
# Merged upstream, planned for Python 3.9.0b2
Patch350: 00350-Fix-sqlite3-deterministic-test.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -637,6 +649,8 @@ rm Lib/ensurepip/_bundled/*.whl
%patch251 -p1
%patch274 -p1
%patch328 -p1
%patch349 -p1
%patch350 -p1
# Remove files that should be generated by the build
@ -1584,6 +1598,9 @@ CheckPython optimized
# ======================================================
%changelog
* Fri May 29 2020 Petr Viktorin <pviktori@redhat.com> - 3.9.0~b1-4
- Add cherry-picks for bugs found in 3.9.0b1
* Thu May 21 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~b1-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python3.9