Releases: kevinconway/venvctrl
v0.9.0 - Fix venv bash activation script relocation
This fixes a bug in the regular expression used to match and modify the paths in venv activation scripts. Virtualenv users were unaffected.
What's Changed
- Fix handling of venv bash activation scripts by @kevinconway in #36
Full Changelog: 0.8.0...0.9.0
v0.8.0 - Update for virtualenv>=20.26.6
A recent update to virtualenv included a small change to the format of activation scripts that broke the relocate feature. This release updates the relocate feature to work for both old and new style activation scripts.
What's Changed
- Fix relocation for virtualenv>=20.26.6 by @kevinconway in #33
Full Changelog: 0.7.0...0.8.0
v0.7.0 - Support stdlib venv module for Python 3.12
The standard library venv
module was close enough to virtualenv
that it worked as-is until Python 3.12. This release adds support for venv
changes in Python 3.12.
What's Changed
- Add provisional stdlib venv support by @kevinconway in #29
Full Changelog: 0.6.0...0.7.0
v0.6.0 - Fix nushell for virtualenv>=20.14.0
Thanks to @mmeier162 for fixing nushell support.
This release modifies nushell activation script handling to work with both old and new versions. Existing users who were pinned to virtualenv<=20.11.2 are unaffected. Those wishing to use venvctrl with the latest virtualenv versions may now do so without needing to also disable nushell support.
v0.5.0 - Add nu shell support
Virtualenv 20.8.0 and above includes a new activate script for nu shell. This release add support for that new file.
Account for modern quote characters
A patch introduced in virtualenv 20.0.0 changed double quotes to single
quotes for the activate script variables that contain the embedded path
of the virtualenv. The existing tests were able to detect the regression
when run with the latest virtualenv. This patch modifies the regexes
used to detect the embedded path by checking for both kinds of quote
characters. Additionally, the output format of modified paths now uses
single quotes anywhere that virtualenv does so the outputs match.
Add support for .pth files and xsh activation scripts
- Add recursive .pth detection and path rewriting
- Add support xsh scripts
- Format project using black