Fix multiprocessing regression on newer glibcs

Enable test_multiprocessing_fork(server) and _spawn again

Resolves: rhbz#1569933
This commit is contained in:
Miro Hrončok 2018-04-23 18:17:32 +02:00
commit e324bf2dbb
2 changed files with 68 additions and 4 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
Version: %{pybasever}.5
Release: 3%{?dist}
Release: 4%{?dist}
License: Python
@ -374,6 +374,12 @@ Patch294: 00294-define-TLS-cipher-suite-on-build-time.patch
# Fixed upstream: https://bugs.python.org/issue32885
Patch301: 00301-pathfix-add-n-option-for-no-backup.patch
# 00302 #
# Fix multiprocessing regression on newer glibcs
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1569933
# and: https://bugs.python.org/issue33329
Patch302: 00302-fix-multiprocessing-regression-on-newer-glibcs.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -691,6 +697,7 @@ sed -r -i s/'_PIP_VERSION = "[0-9.]+"'/'_PIP_VERSION = "%{pip_version}"'/ Lib/en
%patch292 -p1
%patch294 -p1
%patch301 -p1
%patch302 -p1
# Remove files that should be generated by the build
@ -1093,9 +1100,6 @@ CheckPython() {
%ifarch ppc64le
-x test_buffer \
%endif
-x test_multiprocessing_fork \
-x test_multiprocessing_forkserver \
-x test_multiprocessing_spawn \
echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
@ -1582,6 +1586,11 @@ CheckPython optimized
# ======================================================
%changelog
* Mon Apr 23 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.5-4
- Fix multiprocessing regression on newer glibcs
- Enable test_multiprocessing_fork(server) and _spawn again
Resolves: rhbz#1569933
* Thu Apr 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.5-3
- Skip test_multiprocessing_fork(server) and _spawn for now