Today I learned about the venv module’s --upgrade flag. Cool!
I wondered if it might support updating virtualenvs created from Python installed from source using target altinstall, all located in the same containg dir. I tried this out, and found that it updated the venv’s
pyenv.cfg but not the links in venv/
It would be great if the --upgrade flag supported Python installations located in the same containing dir, including those installed from source using target altinstall, though they’re not official system installs.