<#1885 venv_dir calculation doesn't correctly hand...
# github-notifications
q
#1885 venv_dir calculation doesn't correctly handle PEX_PYTHON_PATH with symlinks. New issue created by hrfuller I noticed a bug in the variables.venv_dir hash computation. If PEX_PYTHON_PATH has the path of a symlinked interpreter that interpreter value isn't added to the hash of the venv_dir. This can cause collisions in which interpreter is used to resolve dependencies via resolver.resolve. This happens because the canonical path to the interpreter is computed but the PEX_PYTHON_PATH is assumed to have canonical paths. line in question I think it would be reasonable to map the PEX_PYTHON_PATH entries to their realpath's before comparing with the requested venv interpreter. pantsbuild/pex