With 2.1.12, @asherf encountered a case where pex detected an interpreter with a bad binary name:
pex: Building pex
pex: Building pex :: Resolving interpreters
pex: Constraints on interpreters: ['CPython>=3.6'], Matching Interpreter: /Users/asher/.pyenv/versions/3.8.2/bin/python3.8
pex: Constraints on interpreters: ['CPython>=3.6'], Matching Interpreter: /Users/asher/.toolchain/homebrew/Cellar/python@3.8/3.8.4/bin/python3.7
pex: Constraints on interpreters: ['CPython>=3.6'], Matching Interpreter: /usr/local/Cellar/python/3.7.8/Frameworks/Python.framework/Versions/3.7/bin/python3.7
pex: Constraints on interpreters: ['CPython>=3.6'], Matching Interpreter: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/bin/python3.7
The file /Users/asher/.toolchain/homebrew/Cellar/python@3.8/3.8.4/bin/python3.7 does not exist (python3.8 does, as might be expected).
This bug was reproduced in the context of a long lived pex_root, which @asherf can provide if need be.
With
2.1.12, @asherf encountered a case wherepexdetected an interpreter with a bad binary name:The file
/Users/asher/.toolchain/homebrew/Cellar/python@3.8/3.8.4/bin/python3.7does not exist (python3.8does, as might be expected).This bug was reproduced in the context of a long lived
pex_root, which @asherf can provide if need be.