Skip to content

warn_ungrouped_named_tokens_in_collection warning from pyparsing 2.4.1 #1375

Closed
@jnrbsn

Description

@jnrbsn

tox now causes a warn_ungrouped_named_tokens_in_collection warning from the latest version of pyparsing, which appears to have been released yesterday. I get the warning when running any tox command.

[~] $ mkdir tox_test
[~] $ cd tox_test/
[~/tox_test] $ virtualenv venv
New python executable in /home/jnrbsn/tox_test/venv/bin/python
Installing setuptools, pip, wheel...
done.
[~/tox_test] $ . venv/bin/activate
(venv) [~/tox_test] $ python --version
Python 2.7.16+
(venv) [~/tox_test] $ pip install tox
...
(venv) [~/tox_test] $ tox --version
/home/jnrbsn/tox_test/venv/local/lib/python2.7/site-packages/packaging/requirements.py:57: UserWarning: warn_ungrouped_named_tokens_in_collection: setting results name 'specifier' on And expression collides with '_original_end' on contained expression
  VERSION_SPEC = originalTextFor(_VERSION_SPEC)("specifier")
/home/jnrbsn/tox_test/venv/local/lib/python2.7/site-packages/packaging/requirements.py:60: UserWarning: warn_ungrouped_named_tokens_in_collection: setting results name 'marker' on And expression collides with '_original_end' on contained expression
  MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
3.13.2 imported from /home/jnrbsn/tox_test/venv/local/lib/python2.7/site-packages/tox/__init__.pyc
(venv) [~/tox_test] $ pip freeze -l | grep pyparsing
pyparsing==2.4.1
(venv) [~/tox_test] $ pip install -U pyparsing==2.4.0
...
(venv) [~/tox_test] $ tox --version
3.13.2 imported from /home/jnrbsn/tox_test/venv/local/lib/python2.7/site-packages/tox/__init__.pyc

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:upstreamsomething does not behave as it should, but can't or shouldn't be fixed in tox, but in a dependency

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions