From Fedora Project Wiki

< SIGs‎ | Python

No edit summary
Line 34: Line 34:
"instead of bundled wheels, use our RPM packaged wheels. We keep them in /usr/share/python-wheels."
"instead of bundled wheels, use our RPM packaged wheels. We keep them in /usr/share/python-wheels."


=> '''downstream only patch'''
=> Should be proposed upstream as an opt-in option.


Added by: https://src.fedoraproject.org/rpms/python3/c/0b241abda6b7f8d4b092974cecd11d9660fa7b83 (2018-08-15)
Added by: https://src.fedoraproject.org/rpms/python3/c/0b241abda6b7f8d4b092974cecd11d9660fa7b83 (2018-08-15)
Line 42: Line 42:
"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."
"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'''
=> Should be proposed upstream as a configure option.


Added by: https://src.fedoraproject.org/rpms/python3/c/332b947dfc8d0f0d3a4525864b121d0f239beb4d (2017-06-26)
Added by: https://src.fedoraproject.org/rpms/python3/c/332b947dfc8d0f0d3a4525864b121d0f239beb4d (2017-06-26)

Revision as of 13:53, 4 February 2020

Fedora downstream patches are tracked in the page: Python Patches. This page gives the status of the downstream patches currently maintained in the latest Python package of Fedora.

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 (2010-03-16)

00102-lib64.patch

"Use /usr/lib64 instead of /usr/lib on 64-bit systems"

=> Should be made upstream.

00111-no-static-lib.patch

"Don't try to build a libpythonMAJOR.MINOR.a"

Downstream only: not appropriate for upstream.

Added by: https://src.fedoraproject.org/rpms/python3/c/aa4aef22cccc56ab0e7957b45209502ec487cdb1 (2010-01-18)

00189-use-rpm-wheels.patch

"instead of bundled wheels, use our RPM packaged wheels. We keep them in /usr/share/python-wheels."

=> Should be proposed upstream as an opt-in option.

Added by: https://src.fedoraproject.org/rpms/python3/c/0b241abda6b7f8d4b092974cecd11d9660fa7b83 (2018-08-15)

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."

=> Should be proposed upstream as a configure option.

Added by: https://src.fedoraproject.org/rpms/python3/c/332b947dfc8d0f0d3a4525864b121d0f239beb4d (2017-06-26)

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 (2017-08-31)

00328-pyc-timestamp-invalidation-mode.patch

"Restore pyc to TIMESTAMP invalidation mode as default in rpmbuild"

=> downstream only patch

Patch related to PEP 552: Deterministic pycs implemented in Python 3.7.