Skip to content

Remove pipx#1027

Merged
ghickman merged 2 commits intomainfrom
remove-pipx
Nov 18, 2022
Merged

Remove pipx#1027
ghickman merged 2 commits intomainfrom
remove-pipx

Conversation

@ghickman
Copy link
Copy Markdown
Contributor

This removes pipx from the macOS installation docs since opensafely-cli has no dependencies and the primary use of pipx is to provide a place to install python tools with dependencies without using your global python env.

This does add a possible risk for future maintenance in that we're now telling users to configure pyenv such it should take priority over a homebrewed or system python. While this is considered the correct way to install Python on macOS (because homebrew and system pythons can be updated out from under you), my concern is that it ends up with further burden on our tech support. The pipx method used the pyenv-installed python but didn't put it on ones path. This is probably fine, but if we see any issues with it I think it makes sense to switch back to the pipx method.

Fixes: #1026

We now have to set the pyenv installed python as the system python so
opensafely-cli will be on the path once installed.
@ghickman ghickman merged commit 7acadb5 into main Nov 18, 2022
@ghickman ghickman deleted the remove-pipx branch November 18, 2022 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop pipx from macOS docs

2 participants