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 and poetry both create their own venvs #74

Open
laurentS opened this issue Apr 17, 2022 · 1 comment
Open

tox and poetry both create their own venvs #74

laurentS opened this issue Apr 17, 2022 · 1 comment

Comments

@laurentS
Copy link

laurentS commented Apr 17, 2022

It looks like using both poetry and tox ends up creating multiple virtual envs for no useful reason, so all dependencies are installed twice, which seems a bit of a waste.

Maybe there is a way to make them aware of each other so that tox can reuse the poetry venv, or the other way around?

@aaronsteers
Copy link
Contributor

@laurentS - I've run into this also, and I've experimented on a couple options with moderate success.

As I understand it, Tox prioritizes multiple builds in separate python versions, which limits the reusability of a single Poetry env.

I believe the SDK example does reuse the poetry env but my memory is rusty on this.

In case it is helpful:

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

No branches or pull requests

2 participants