Skip to content

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

Merged
samwestmoreland merged 1 commit into
please-build:v1from
samwestmoreland:copy-chris-fix-pip-cmd
Nov 15, 2022
Merged

pip_library: test for presence of --system option before invoking pip#85
samwestmoreland merged 1 commit into
please-build:v1from
samwestmoreland:copy-chris-fix-pip-cmd

Conversation

@samwestmoreland

Copy link
Copy Markdown
Contributor

Copy Chris's fix to pip_cmd from master to v1

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
samwestmoreland merged commit 733a417 into please-build:v1Nov 15, 2022
@samwestmoreland
samwestmoreland deleted the copy-chris-fix-pip-cmd branch November 15, 2022 14:41
Sign up for freeto 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.

1 participant

@samwestmoreland