-
Notifications
You must be signed in to change notification settings - Fork 211
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
pytest_cov.__version__ string is broken on >=2.10.1 #468
Comments
Assuming this was not intentional, I think this might be caused by a tooling bug. A few commits before I'll try to fix it. |
An unfortunate consequence of me using old bumpversion and messing up the quotes :-( |
😆 thanks for fixing it! |
Thanks for addressing this. Will there a new patch release with this fix in the near future? |
Yes, yes. Gonna sort it out this week. |
Just released 2.12 |
Summary
Expected vs actual result
I expect
pytest_cov.__version__ == 'x.y.z'
, but as of 2.10.1 it'spytest_cov.__version__ == "__version__ = 'x.y.z'"
: da61b91#diff-cfb899e3f5cac1afba8f5bafcd74392faf2677836ed2f3b068217df610ea6e82R2This broke code that relied on the version string. There's no explanation in the CHANGELOG:
pytest-cov/CHANGELOG.rst
Lines 36 to 42 in 2cd0094
Looking at PEP 396 I'm not sure this is valid: https://www.python.org/dev/peps/pep-0396/#id27
Reproducer
Versions
Output of relevant packages
pip list
,python --version
,pytest --version
etc.Config
N/A
Code
The text was updated successfully, but these errors were encountered: