Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix relocation for virtualenv>=20.26.6 #33

Merged
merged 1 commit into from
Oct 27, 2024
Merged

Conversation

kevinconway
Copy link
Owner

Virtualenv versions 20.26.6 and greater include a change to the activate script templates. Previously, the full path to the virtualenv that is rendered into the activation script was quoted. The newer versions render unquoted paths. The regular expressions used to match these paths now conditionally matches the quotes which should work for both old and new activation scripts.

Virtualenv versions 20.26.6 and greater include a change to the activate
script templates. Previously, the full path to the virtualenv that is
rendered into the activation script was quoted. The newer versions
render unquoted paths. The regular expressions used to match these paths
now conditionally matches the quotes which should work for both old and
new activation scripts.
@kevinconway kevinconway merged commit f3a5035 into master Oct 27, 2024
7 checks passed
@kevinconway kevinconway deleted the optional-quotes branch October 27, 2024 11:32
@jansmets
Copy link

jansmets commented Nov 5, 2024

venvctrl 0.8.0 seems to break the relocate feature when combined with virtualenv 20.17.1+ds (packaged by debian bookworm)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants