https://pantsbuild.org/ logo
#development
Title
# development
h

hundreds-father-404

07/20/2021, 9:59 PM
Hey @enough-analyst-54434, do you know how PyPy interpreter constraints are expressed w/ Pex? I realized there's both the PyPy version and the Python reference version, like PyPy 7.3.5 can be PyPy2.7 or PyPy 3.7 is it
--interpreter-constraint='pypy==2.7.*'
or
--interpreter-constraint='pypy==7.3.5'
?
I'm being lazy asking: I couldn't find it searching Pex repo yesterday, and am lazy that I didn't try installing PyPy If you don't already know, you can let me know and I'll try it out
e

enough-analyst-54434

07/20/2021, 10:02 PM
Yeah, you'll need to dig. It's certainly in PythonIdentity in pex/interpreter.py.
👍 1
IIRC sys.version_info is used for the numerics no matter the interpreter.
2 Views