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

Python3.6 Constraints #6557

Closed
tcco opened this issue Sep 26, 2018 · 3 comments
Closed

Python3.6 Constraints #6557

tcco opened this issue Sep 26, 2018 · 3 comments

Comments

@tcco
Copy link

tcco commented Sep 26, 2018

What is the recommended python-setup interpreter_constraints for specifying python 3.6?

Have tried in both the pants.ini and python_library and python_binary definitions with compatibility

'CPython>=3.6' -> Defaults to 3.7
'CPython>=3.6,<3.7' -> Conflicting Targets
'CPython==3.6' -> Conflicting targets

Feel like I'm missing the mark slightly here.

@jsirois
Copy link
Member

jsirois commented Sep 26, 2018

You probably want 'CPython>=3.6,<3.7', and for simplicity of debugging, starting with just the pants.ini setting. It's very likely something else is going on here though. Can you run with the environment variable PEX_VERBOSE=9 exported and provide full output?

@stuhood
Copy link
Sponsor Member

stuhood commented Sep 26, 2018

What version of pants are you using? is #6284 relevant to you?

@tcco
Copy link
Author

tcco commented Sep 26, 2018

Appreciate the insight. I had a clash with a root level BUILD file that was contradicting my sub directory BUILD. And am running pants 1.9.0.

Happy to close out as this was my own doing

@tcco tcco closed this as completed Sep 26, 2018
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

No branches or pull requests

3 participants