Idea #20543
closedDocumentation should stop suggesting `pip install --user`
Description
This installation method will fail on distributions that mark themselves as "externally managed" following PEP 668. As I write this that's Debian 12 and Ubuntu 23.04. Others are expected to follow.
The best replacement is probably:
python3 -m venv DIRNAME DIRNAME/bin/pip install PKGNAME
… and then run the software from DIRNAME/bin
, either explicitly, using $PATH
, a symlink from $PATH
, whatever.
Updated by Brett Smith over 1 year ago
- Story points set to 0.5
- Target version changed from Future to To be scheduled
As I write this the only documentation suggesting this is the README
files for sdk/python
and services/fuse
, which appear on PyPI. It might be worth taking a look at what other polished, user-facing packages are doing, and cribbing from them.
Updated by Peter Amstutz over 1 year ago
- Target version changed from To be scheduled to Development 2023-07-19 sprint
Updated by Brett Smith over 1 year ago
- Status changed from New to In Progress
20543-pip-install-virtualenv @ 863c2ec507f778087942fa928bbc414ad75e2afc - developer-run-tests: #3734
Updated by Peter Amstutz over 1 year ago
- Target version changed from Development 2023-07-19 sprint to Development 2023-08-02 sprint
Updated by Brett Smith over 1 year ago
Note I had to rebase to fix a Git commit message problem, and while I was at it, I went ahead and just squashed everything. 0ea942762 incorporates all the review feedback.
Updated by Brett Smith over 1 year ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|48a0d575e6de34bcda91c489e4aa98df291a8cca.