Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1287556
Summary: | Downstream only patches in Python3 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robert Kuska <rkuska> |
Component: | python3.10 | Assignee: | Victor Stinner <vstinner> |
Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cstratak, mhroncok, pviktori, python-sig, rkuska, thrnciar, tomspur, torsava, vstinner |
Target Milestone: | --- | Keywords: | Tracking |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1287566, 1291325, 1292461, 1292462, 1292467, 1301033, 1318565, 1874803 | ||
Bug Blocks: |
Description
Robert Kuska
2015-12-02 10:46:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '24'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'. This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. This bug appears to have been reported against 'rawhide' during the Fedora 30 development cycle. Changing version to '30. BTW, Some info on patches might be found on https://fedoraproject.org/wiki/SIGs/Python/PythonPatches The python39 package currently (python39-3.9.0~a3-1.fc32) have 9 patches. 2 of them are just temporary, fixing 3.9.0a3 regressions: * 00340-makefile-missing-test.patch * 00341-bpo-39460.patch The interesting part are these 7 patches: * 00001-rpath.patch: "Fixup distutils/unixccompiler.py to remove standard library path from rpath" => Can be removed, but blocked by a Fedora change. This patch is basically useless, but removing it would require to ensure that no Fedora package use rpath. See: https://pagure.io/packaging-committee/issue/886 Added by: https://src.fedoraproject.org/rpms/python/c/f5df1f834310948b32407933e3b8713e1121105b?branch=master * 00102-lib64.patch: Use /usr/lib64 instead of /usr/lib on 64-bit systems => Should be made upstream. Upstream issue: https://bugs.python.org/issue1294959 Upstream PR 1: https://github.com/python/cpython/pull/11755 by Charalampos Stratakis Upstream PR 2: https://github.com/python/cpython/pull/8068 by Matěj Cepl Added by: https://src.fedoraproject.org/rpms/python/c/60b7a5f84fa3f6ea3d0d96fa99030a67a2aa018b * 00111-no-static-lib.patch: Don't try to build a libpythonMAJOR.MINOR.a "Downstream only: not appropriate for upstream." * 00189-use-rpm-wheels.patch: instead of bundled wheels, use our RPM packaged wheels. We keep them in /usr/share/python-wheels. => downstream only patch * 00251-change-user-install-location.patch: Change user install location to /usr/local if executable is /usr/bin/python* and RPM build is not detected to make pip and distutils install into separate location. => downstream only patch Added by: https://src.fedoraproject.org/rpms/python3/c/332b947dfc8d0f0d3a4525864b121d0f239beb4d * 00274-fix-arch-names.patch: Upstream uses Debian-style architecture naming, change to match Fedora => downstream only patch Added by: https://src.fedoraproject.org/rpms/python3/c/9423d36fb4847cc6117daea82490a188cc78ebdf * 00328-pyc-timestamp-invalidation-mode.patch: Restore pyc to TIMESTAMP invalidation mode as default in rpmbuild => downstream only patch Rationale: https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/57#comment-27426 Added by: https://src.fedoraproject.org/rpms/python3/c/9213c03924aeb612d1b754dbe0b4397782c6b3fb * 00102-lib64.patch: Use /usr/lib64 instead of /usr/lib on 64-bit systems => Should be made upstream. Upstream issue: https://bugs.python.org/issue1294959 Upstream PR 1: https://github.com/python/cpython/pull/11755 by Charalampos Stratakis Upstream PR 2: https://github.com/python/cpython/pull/8068 by Matěj Cepl Added by: https://src.fedoraproject.org/rpms/python/c/60b7a5f84fa3f6ea3d0d96fa99030a67a2aa018b This was introduced much sooner, but is not in git sadly :( https://src.fedoraproject.org/rpms/python/c/d4a39597bc32ab2cf84b43a3b0c71a18d1a0e0ec * 00189-use-rpm-wheels.patch: instead of bundled wheels, use our RPM packaged wheels. We keep them in /usr/share/python-wheels. => downstream only patch * 00251-change-user-install-location.patch: Change user install location to /usr/local if executable is /usr/bin/python* and RPM build is not detected to make pip and distutils install into separate location. => downstream only patch We can strive to have upstream support for those. * 00328-pyc-timestamp-invalidation-mode.patch: Restore pyc to TIMESTAMP invalidation mode as default in rpmbuild => downstream only patch I still need to figure out why this was chosen upstream. There are IMHO batter ways to handle reproducibility here than restoring to a slower hash checking. I created https://fedoraproject.org/wiki/SIGs/Python/UpstreamPythonPatches page to track downstream pages. > 00111-no-static-lib.patch: Don't try to build a libpythonMAJOR.MINOR.a > "Downstream only: not appropriate for upstream." I created bpo-43103 "Add configure option to disable build libpython.a and don't install python.o" to upstream this change: https://bugs.python.org/issue43103 I updated https://fedoraproject.org/wiki/SIGs/Python/UpstreamPythonPatches In short, the Fedora package only has 3 downstream patches. * 00001-rpath.patch * 00251-change-user-install-location.patch * 00328-pyc-timestamp-invalidation-mode.patch The first two are waiting for other changes. So for now, the most important one is 00328-pyc-timestamp-invalidation-mode.patch. Removing 00001-rpath.patch makes numpy.distutils build Numpy (and some other packages) with wrong rpaths. numpy.distutils patches distutils, and since distutils is going away I expect some upstream changes in this area. I'd wait the ~2 years before trying to remove patch 00001 again. |