Bug 2133847 - Downstream-only patch in Python 3: #001 rpath
Summary: Downstream-only patch in Python 3: #001 rpath
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python3.12
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact:
URL:
Whiteboard:
: 1287556 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-11 15:06 UTC by Tomas Orsava
Modified: 2022-11-17 00:41 UTC (History)
8 users (show)

Fixed In Version: python3.12-3.12.0~a2-1.fc38
Clone Of:
Environment:
Last Closed: 2022-11-17 00:41:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1287556 0 unspecified CLOSED Downstream only patches in Python3 2022-10-11 15:20:20 UTC

Internal Links: 1287556

Description Tomas Orsava 2022-10-11 15:06:17 UTC
From python3.11.spec:

# 00001 # d06a8853cf4bae9e115f45e1d531d2dc152c5cc8
# Fixup distutils/unixccompiler.py to remove standard library path from rpath
# Was Patch0 in ivazquez' python3000 specfile
Patch1: 00001-rpath.patch

Comment 1 Tomas Orsava 2022-10-11 15:10:02 UTC
Previously tracked in BZ#1287556.

Comment 2 Miro Hrončok 2022-10-11 15:11:29 UTC
That'll go away with Python 3.12.

Comment 3 Tomas Orsava 2022-10-11 15:13:44 UTC
*** Bug 1287556 has been marked as a duplicate of this bug. ***

Comment 4 Miro Hrončok 2022-10-31 15:13:03 UTC
Python 3.11.0a1 was released with distutils, but the module should be removed in a2: https://github.com/python/cpython/issues/92584#issuecomment-1290886108

Comment 5 Victor Stinner 2022-11-04 16:07:17 UTC
I just removed the distutils packages in Python 3.12: https://github.com/python/cpython/commit/0faa0ba240e815614e5a2900e48007acac41b214

Let's see how it goes. I hope that the change will not be reverted soon, and that one year (until Python 3.12.0 final release) will be enough to go through all distutils/setuptools issues.

See also the related discussion: https://discuss.python.org/t/collaboration-on-handling-python-3-12-incompatible-changes-distutils-removal-invalid-escape-escape-etc/20721

Comment 6 Miro Hrončok 2022-11-15 18:00:03 UTC
https://src.fedoraproject.org/rpms/python3.12/pull-request/8 updates to Python 3.12.0a2 and removes this patch together with distutils.

Comment 7 Fedora Update System 2022-11-17 00:38:43 UTC
FEDORA-2022-9bc92ee714 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-9bc92ee714

Comment 8 Fedora Update System 2022-11-17 00:41:36 UTC
FEDORA-2022-9bc92ee714 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.