[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-28 Thread Bug Watch Updater
** Changed in: python3.10 (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962791 Title: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-15 Thread Launchpad Bug Tracker
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

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-14 Thread Anders Kaseorg
Fixed in 3.10.2-7 in jammy-proposed. ** Changed in: python3.10 (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962791 Title: python3 -m venv instal

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-12 Thread Stefano Rivera
FYI, I filed https://salsa.debian.org/cpython- team/python3/-/merge_requests/18 including a fix for this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962791 Title: python3 -m venv installs pip to

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-10 Thread Dan Halbert
For anyone looking for a workaround, thanks to andersk above. I edited /usr/lib/python3.10/sysconfig.py per this diff: usr/lib/python3.10$ diff -p sysconfig.py~ sysconfig.py *** sysconfig.py~ 2022-02-26 03:21:15.0 -0500 --- sysconfig.py2022-03-10 21:09:02.572726493 -0500

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-08 Thread Brian Murray
** Tags added: rls-jj-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962791 Title: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip To manage notifications about this

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-06 Thread Mathew Hodson
** Changed in: python3.10 (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962791 Title: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pi

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-05 Thread Anders Kaseorg
sysconfig-debian-schemes.patch uses an incorrect test for a virtual environment: if 'real_prefix' in sys.__dict__ or 'VIRTUAL_ENV' in os.environ: Both sys.real_prefix and VIRTUAL_ENV are only set by virtualenv, not venv, and then only when the virtualenv is activated by VENV_ROOT/bin/activate, no

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-04 Thread Dan Halbert
Confirmed: I ran into this independently. I tried uninstalling python3.9-venv, just in case it was interfering, and updating pip with itself to 22.0.3, and neither helped. $ python3.10 -mvenv 310 $ python3.9 -mvenv 39 $ ls 310/bin activate activate.csh activate.fish Activate.ps1 python python

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-04 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: python3.10 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962791 Title:

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-03 Thread Bug Watch Updater
** Changed in: python3.10 (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962791 Title: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-02 Thread Anders Kaseorg
** Tags added: jammy testcase -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962791 Title: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip To manage notifications about this

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-02 Thread Anders Kaseorg
** Bug watch added: Debian Bug tracker #1006707 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006707 ** Also affects: python3.10 (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006707 Importance: Unknown Status: Unknown -- You received this bug notification b

[Bug 1962791] Re: python3 -m venv installs pip to incorrect path VENV_ROOT/local/bin/pip

2022-03-02 Thread Anders Kaseorg
Trying virtualenv instead of venv, it installs pip to the right path, but if you use it to install other packages before activating the virtualenv, their binaries end up in the wrong path. Ubuntu 21.10: # apt update; apt install python3-virtualenv # virtualenv /tmp/my-virtualenv # /tmp/my-virtual