Skip to content

Conversation

@chrisnovakovic
Copy link
Contributor

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.

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 please-build#81.
@peterebden
Copy link
Contributor

Makes sense, but weren't we getting rid of the CLI invocation in this repo in favour of a custom tool? @samwestmoreland ?

@samwestmoreland
Copy link
Contributor

Yes, we will ideally be moving to use the wheel resolver tool in v2 of the plugin. But definitely think it makes sense to have this in the meantime. Thanks, Chris!

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.

pip_library workaround breaks on Debian 12

3 participants