Skip to content

pip_library: test for presence of --system option before invoking pip - #83

Closed
samwestmoreland wants to merge 1 commit into
v1from
master
Closed

pip_library: test for presence of --system option before invoking pip#83
samwestmoreland wants to merge 1 commit into
v1from
master

Conversation

@samwestmoreland

@samwestmoreland samwestmoreland commented Nov 14, 2022

Copy link
Copy Markdown
Contributor

Copying Chris's fix to the v1 branch.

The version of pip provided by python3-pip in Debian 12 will drop the custom --system option - passing it results in pip exiting with an error. Rather than always passing --system if the host OS is Debian-like, test whether the configured pip tool implements a --system option, and if so, pass it to the real pip invocation.

Fixes #81.

…#82)

The version of pip provided by `python3-pip` in Debian 12 will drop the
custom `--system` option - passing it results in pip exiting with an
error. Rather than always passing `--system` if the host OS is
Debian-like, test whether the configured pip tool implements a
`--system` option, and if so, pass it to the real pip invocation.

Fixes #81.
@samwestmoreland

Copy link
Copy Markdown
Contributor Author

Due to weird merge conflicts, doing this from a new branch instead of from master: #85

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.

2 participants