← All tasks
pythonPyCQA/isort #1877Not a task: already works

isort limits python_require to <4.0

envgap__PyCQA__isort-1877

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
98673ff4bc158fdc79f587775b6a15abd9fdc248
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

PyCQA/isort #1877 · read the original issue
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/
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]