Skip to content
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

Removed upper bound on Python version #252

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

spookylukey
Copy link
Contributor

This is unnecessary (Python is not SemVer'ed) and breaks dependency solvers.

See https://github.com/orgs/python-poetry/discussions/3757#discussioncomment-435337 which describes someone hitting the same problem with a different package and nedbat/coveragepy#1020 for another example.

See also https://twitter.com/codewithanthony/status/1362181541191766017

To be concrete I'm trying to set a correct bound of python = ">=3.8.0" in my pyproject.toml, but I get this error from poetry, caused by the upper bound in WebTest:

> poetry lock
Updating dependencies
Resolving dependencies... (4.7s)

The current project's Python requirement (>=3.8.0) is not compatible with some of the required packages Python requirement:
  - webtest requires Python >=3.7, <4, so it will not be satisfied for Python >=4

Because nstack depends on webtest (3.0.1.dev0) @ git+https://github.com/Pylons/webtest.git@8ef619f which requires Python >=3.7, <4, version solving failed.

The authors of poetry will not change this behaviour: python-poetry/poetry#5709

This is unnecessary (Python is not SemVer'ed) and breaks dependency solvers.

See https://github.com/orgs/python-poetry/discussions/3757#discussioncomment-435337
@gawel gawel merged commit 5bc6841 into Pylons:main Jun 8, 2023
@spookylukey spookylukey deleted the remove-python-upper-bound branch June 8, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants