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 {black,lint} environment re-creation on tox4 #28

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

garrison
Copy link
Member

I've found that the existing tox configuration, which has the black and lint environments sharing the same envdir, works fine on tox3 but on tox4 results in the environments being re-created every time one toggles between them.

There is a suggested solution on StackOverflow, but it seems not to work as expected on tox4, so I've opened an issue there: tox-dev/tox#2362

This uses generative section names, hence the bumping of minversion to tox 3.15.

I'll plan to merge this PR once the above issue with tox is resolved.

I've found that the existing tox configuration, which has the black and
lint environments sharing the same `envdir`, works fine on tox3 but on
tox4 results in the environments being re-created every time one toggles
between them.

There is a suggested solution [on StackOverflow](https://stackoverflow.com/a/64060423),
but it seems not to work as expected on tox4, so I've opened an issue there:
tox-dev/tox#2362

I'll plan to merge this PR once the above issue with tox is resolved.
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.

1 participant