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

tox devenv: Integration with running virtualenvs #3301

Closed
chrysle opened this issue Jun 26, 2024 · 4 comments
Closed

tox devenv: Integration with running virtualenvs #3301

chrysle opened this issue Jun 26, 2024 · 4 comments

Comments

@chrysle
Copy link

chrysle commented Jun 26, 2024

What's the problem this feature will solve?

This is really just out of laziness; I've got the pyenv-virtualenv plugin configured and am running a PyEnv-managed virtual environment, and when I run tox devenv, it creates a new virtualenv in my current working directory, which I find a bit unpractical.

Describe the solution you'd like

Could tox devenv detect any running virtual environment and create its developer environment within the same? Probably via a flag?

Alternative Solutions

Of course I can always pass it the path as a positional argument.

Additional context

@gaborbernat
Copy link
Member

This is by design and cannot be changed, you can try to alter it via plugin but I wouldn't recommend it.

@gaborbernat gaborbernat closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2024
@chrysle
Copy link
Author

chrysle commented Jun 26, 2024

May I ask why?

@gaborbernat
Copy link
Member

Because tox environments are meant to be exclusively managed by tox, and not shared with either other envs or user managed envs.

@chrysle
Copy link
Author

chrysle commented Jun 26, 2024

All right, thanks for the clarification.

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

No branches or pull requests

2 participants