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

isort limits python_require to <4.0 #1877

Closed
staticdev opened this issue Jan 5, 2022 · 0 comments · Fixed by #1878
Closed

isort limits python_require to <4.0 #1877

staticdev opened this issue Jan 5, 2022 · 0 comments · Fixed by #1878

Comments

@staticdev
Copy link
Collaborator

It is not possible for instance to create a project that uses isort and require python>=3.9 for instance. Solver will have a message like:

Because no versions of isort match >5.10.1,<6.0.0
   and isort (5.10.1) requires Python >=3.6.1,<4.0, isort is forbidden.
  So, because your-package depends on isort (^5.10.1), version solving failed.

It would be nice to soften this requirement, since there is no real information that shows isort will stop working on python 4.0.

There is an extensive article with ideas of why one should not limit that: https://iscinumpy.dev/post/bound-version-constraints/

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 a pull request may close this issue.

1 participant