Bug 2083337

Summary: Distutils install with --prefix different between Fedora 35 and Fedora 36.
Product: [Fedora] Fedora Reporter: Jason Ish <ish>
Component: python3.10Assignee: Python Maintainers <python-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: cstratak, mhroncok, python-maint, python-sig, thrnciar, torsava, vstinner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-09 20:49:22 UTC 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:

Description Jason Ish 2022-05-09 18:16:21 UTC
Description of problem:

With Fedora 35 and older, installing a Python distutils package with a command line like:
  python setup.py install --prefix=/foo
would result in the expected behavior of the scripts being install in /foo/bin, modules, in /foo/lib, etc.

With Fedora 36, using a --prefix=/foo results in everything being installed under /foo/local.


Version-Release number of selected component (if applicable):


How reproducible: Always, tested with various Python packages.


Steps to Reproduce:
1. python setup.py install --prefix=/somewhere

Comment 1 Miro HronĨok 2022-05-09 20:49:22 UTC
Yes, this is a known thing. It is documented in the Fedora 36 release notes, yet for some reason, the release notes are not online yet.

*** This bug has been marked as a duplicate of bug 2026979 ***