try
try copied to clipboard
Use plain python venv instead of virtualenv
The package was using virtualenv as an unlisted dependency. I'm switching here to using python -m venv
instead, which appears to be part of the standard library. Without this, try
is broken for me.
Let me give this a shot later today before I merge it :) But looks great!
@timofurrer, any updates on this?
Even if virtualenv is present, pip it for some reason creates venv with outdated pip which produces warnings.
Workaround:
- install pipx via pipx-in-pipx
pip install pipx-in-pipx
- Install trypackage and virtualenv in isolated venvs:
pipx install trypackage pipx install virtualenv
- Bonus: upgrade bundled libs for virtualenv (gets rid of old pip warnings)
virtualenv --upgrade-embed-wheels