-
Notifications
You must be signed in to change notification settings - Fork 251
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
Warnings traced when installed with pyparsing 2.4.1 #170
Comments
Related to tox-dev/tox#1375. |
.. until packaging fixes their warnings - pypa/packaging#170
.. until packaging fixes their warnings - pypa/packaging#170
Pyparsing 2.4.2 (pushed to PyPI this evening) disables these warnings by default |
Awesome! I'll close this then. |
Thanks! I wonder if it would not worth even hiding the 2.4.1 version from pypi. |
Pyparsing 3.0.0 (released an hour ago) un-hid this again when warnings are enabled in the interpreter, so it might be worth reopening the issue if this indicates a problem which should be fixed. It's not entirely clear to me why pyparsing objects to the implementation in packaging.requirements however. Also, it's likely enhancement #468 will make it irrelevant if that's the direction packaging goes in. |
I can confirm this, and in particular, this causes builds with |
According to pyparsing/pyparsing#110 it will be fixed in pyparsing 3.0.5 (not yet released). |
pyparsing 3.0.5 was released today correcting this. |
This impacts packaging 19.0.
Issue: Importing
packaging.requirements
outputs warningsExpected: Importing
packaging.requirements
does not output warningsContext: pyparsing 2.4.1 was released yesterday and unfortunately caused our CI runs to fail because of the warning output to stdout on invocation of tox (which internally imports
packaging.requirements
). See pypa/pip#6767.To reproduce:
Available workarounds:
Either pin pyparsing to 2.4.0 or set the warnings filter to include
ignore:warn_ungrouped_named_tokens_in_collection
(e.g.PYTHONWARNINGS=ignore:warn_ungrouped_named_tokens_in_collection
).The text was updated successfully, but these errors were encountered: