bpo-22490: Remove PYVENV_LAUNCHER from environment during launch by ronaldoussoren · Pull Request #9516 · python/cpython (original) (raw)
I would love to know how to repro the original bug so I can demonstrate this actually fixes it.
Here's what I think should be the repro:
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -c 'import subprocess; p = subprocess.Popen([".mypy/venv/bin/python3","-m","mypy.dmypy","-h"]).communicate()'
The setup is that .mypy/venv
is a virtualenv that has mypy.dmypy
installed. This is what failed for the user who reported this.
Unfortunately this does not fail for me (with a framework build from master installed). Would I have to do the install via brew? (I would have to learn about locally testing modified brew recipes, I suppose.)