question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Poetry UserWarning: warn_ungrouped_named_tokens_in_collection

See original GitHub issue
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Question

/home/zach/project/.venv/lib/python3.7/site-packages/poetry/version/requirements.py:170: 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/zach/project/.venv/lib/python3.7/site-packages/poetry/version/requirements.py:173: 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")

I’ve been seeing the above warning messages while using poetry commands such as

poetry install
poetry run
poetry shell

I pip installed poetry 0.12.17 in my Python 3.7.0 virtual environment.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:10
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
paulmcg-iiocommented, Jul 30, 2019

Pyparsing 2.4.2 (pushed to PyPI this evening) disables these warnings by default

0reactions
zachliucommented, Aug 23, 2019

Pyparsing 2.4.2 is not solving this problem for me:

/usr/local/lib/python3.6/dist-packages/poetry/version/requirements.py:170: 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")
/usr/local/lib/python3.6/dist-packages/poetry/version/requirements.py:173: UserWarning: warn_ungrouped_named_tokens_in_collection: setting results name 'marker' on And expression collides with '_original_end' on contained expression

Here’s my pyproject.toml:

[tool.poetry.dependencies]
python = ">=2.7, != 3.0.*, != 3.1.*, != 3.2.*, != 3.3.*"
selenium = "^3.14"
future = "^0.16.0"

[tool.poetry.dev-dependencies]
pytest = "^3.0.6"
pylama = {version = "^7.6", python = ">= 3.4" }
pylint = { version = "^2.2", python = ">= 3.4" }
pytest-cov = "^2.6"
black = { version = "18.9b0", python = ">= 3.6" }
sphinx = { version = "^2.0", python = ">= 3.5" }
mock = "^1.3.0"

This is in my poetry.lock:

[[package]]
category = "dev"
description = "Python parsing module"
marker = "python_version >= \"3.5\""
name = "pyparsing"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
version = "2.4.2"

What about pyparsing 2.4.0?

Read more comments on GitHub >

github_iconTop Results From Across the Web

warn_ungrouped_named_token...
I pip installed poetry 0.12.17 in my Python 3.7.0 virtual environment. The text was updated successfully, but these errors ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found