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

Rename PexInterpreterConstraints to InterpreterConstraints and move to dedicated file #12021

Merged
merged 3 commits into from
May 6, 2021

Conversation

Eric-Arellano
Copy link
Contributor

@Eric-Arellano Eric-Arellano commented May 6, 2021

pex.py was already way too big and will keep getting bigger as we add per-tool lockfiles (https://docs.google.com/document/d/1bCYb0UQZx9a-9tAagydCN_z3826QRvz_3aVnXKSNTJw/edit#).

@jsirois
Copy link
Contributor

jsirois commented May 6, 2021

Interpreter constraints are absolutely Pex specific. The LHS syntax (PyPy or CPython) in particular is only understood by Pex. I have not read this PR, but it appears fully justified by other legitimate reasons you lay out. Consider dropping this false justification from the description to avoid lessening the power of your argument.

@Eric-Arellano Eric-Arellano requested a review from tdyas May 6, 2021 17:01
…aints

# Conflicts:
#	src/python/pants/backend/python/util_rules/pex.py
#	src/python/pants/backend/python/util_rules/pex_test.py
@Eric-Arellano Eric-Arellano merged commit 725fd41 into pantsbuild:main May 6, 2021
@Eric-Arellano Eric-Arellano deleted the interp-constraints branch May 6, 2021 19:09
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.

3 participants