pip installs extra files to /usr/etc instead of /usr/local/etc

Bug #1964588 reported by Dr. Jens Harbott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.10 (Ubuntu)
Fix Released
Undecided
Stefano Rivera

Bug Description

Example:

$ sudo pip install glance-store

Expected result:

Find extra files in /usr/local/etc/glance

Current result:

Extra files are in /usr/etc/glance

Revision history for this message
Stefano Rivera (stefanor) wrote :

Thanks, I just noticed this bug too.

Changed in python3.10 (Ubuntu):
assignee: nobody → Stefano Rivera (stefanor)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python3.10 - 3.10.2-7

---------------
python3.10 (3.10.2-7) unstable; urgency=medium

  [ Stefano Rivera ]
  * Use the same is_virtual_environment() proposed in PEP 668 across the site,
    sysconfig, and distutils modules. Stop checking for PYTHONUSERBASE or
    VIRTUAL_ENV environment variables.
  * Correct assertion descriptions in module-install-* autopkgtests.
  * Extend module-install-* autopkgtests to catch the issues fixed in -6:
    - Check the directory that the modules are installed to.
    - Check editable installs.
    - Check pip-driven PEP-517 installs.
    - Check that virtualenvs are seeded with the correct layout.
  * Re-enable module-install-virtualenv.

 -- Matthias Klose <email address hidden> Mon, 14 Mar 2022 06:18:40 +0100

Changed in python3.10 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.