pip-sync --python-executable evaluates environment markers for the wrong environment. It evaluates for the calling environment instead of the target environment.
Environment Versions
OS Type: Arch Linux
Python version: multiple required to repro; see below
pip-sync --python-executable
evaluates environment markers for the wrong environment. It evaluates for the calling environment instead of the target environment.Environment Versions
Steps to replicate
Minimal reproducer:
Output:
Expected result
pip-sync
installstyping_extensions
.Actual result
pip-sync
exits 0 without installingtyping_extensions
(Everything up-to-date
).