-
-
Notifications
You must be signed in to change notification settings - Fork 529
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 3.1 regression #906
Comments
@benjaoming - thanks for the report. I have to admit that this is the first time I see this django section, so this looks like an undocumented feature of tox to me (not the first one for sure). We'll release a fix later today that reverts part of the substitution behaviour, which could possibly also fix this problem. We'll see. If not, we'll look into this after we fixed #899 |
It's not the first time either we run into issues with the config file sytnax. Maybe we should freeze the config file format and start with a fresh start via pyproject.toml. |
Sounds famliar :) |
I didn't author our |
Don't worry about it @benjaoming - all I can say is that I never have seen this usage befrore. We'll have to fix this anyway because we don't want to break configurations in the wild without warning. I will be preparign the relase now and will check it against your project to see if that also fixes your problem. If not there will be a bugfix for it soon. |
Thanks a lot @obestwalter ! :) You could also consider to detect and deprecate unwanted syntax (through warning messages) such that it can be finally cleaned up in say 3.2 or 3.3. |
Definitely a good way to handle it - unfortunately we didn't even know that this syntax was supported 😆 I think we might actually feature freeze the old |
A bit OT: No shame in writing your own parser when the syntax is simple, easy to read and does the job :) What I really like about Smiles from a happy Tox user :) |
I just cloned django-money and tested with 3.1.2 - I think we can close this as fixed for now. |
JFI: Django appears to have been picked up correctly ( |
New version with improved changes, fixing errors raised with the previous version: tox-dev#899 tox-dev#906
New version with improved changes, fixing errors raised with the previous version: tox-dev#899 tox-dev#906
New version with improved changes, fixing errors raised with the previous version: tox-dev#899 tox-dev#906
New version with improved changes, fixing errors raised with the previous version: tox-dev#899 tox-dev#906
New version with improved changes, fixing errors raised with the previous version: tox-dev#899 tox-dev#906
New version with improved changes, fixing errors raised with the previous version: tox-dev#899 tox-dev#906
New version with improved changes, fixing errors raised with the previous version: tox-dev#899 tox-dev#906
Observation
In django-money/django-money#433, I downgraded Tox because previous behavior is failing.
It seems since 3.1 that all our
[django]
sections intox.ini
are now concatenated, rather than picked individually.So this is the actual result:
And this is the expected result:
Minimal reproducible example or detailed description, assign "bug"
OS and
pip list
outputThe text was updated successfully, but these errors were encountered: