Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve plugins using the PEX --python option. (cherrypick of #12500) #12505

Merged
merged 1 commit into from Aug 5, 2021

Conversation

stuhood
Copy link
Sponsor Member

@stuhood stuhood commented Aug 5, 2021

As described in #12361, when Pants is running under a Python (generally selected by the pants script) which is not part of the interpreter_search_path, plugin resolution will fail to find an exact match.

Resolve Pants plugins using the PEX --python option to ensure that they are located regardless of the --python-path.

Fixes #12361 and the repro described there.

[ci skip-rust]
[ci skip-build-wheels]

As described in pantsbuild#12361, when Pants is running under a Python (generally selected by the `pants` script) which is not part of the `interpreter_search_path`, plugin resolution will fail to find an exact match.

Resolve Pants plugins using the PEX `--python` option to ensure that they are located regardless of the `--python-path`.

Fixes pantsbuild#12361 and the repro described there.

[ci skip-rust]
[ci skip-build-wheels]
@stuhood stuhood merged commit 4023c6b into pantsbuild:2.5.x Aug 5, 2021
@stuhood stuhood deleted the stuhood/pick-12500-for-2.5.x branch August 5, 2021 18:22
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.

None yet

2 participants