Bug 2083337 - Distutils install with --prefix different between Fedora 35 and Fedora 36.
Summary: Distutils install with --prefix different between Fedora 35 and Fedora 36.
Keywords:
Status: CLOSED DUPLICATE of bug 2026979
Alias: None
Product: Fedora
Classification: Fedora
Component: python3.10
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Python Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-09 18:16 UTC by Jason Ish
Modified: 2022-05-09 20:49 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-05-09 20:49:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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