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

High Python versions should not be compatible with very old RDT versions #595

Open
npatki opened this issue Dec 9, 2022 · 0 comments
Open
Labels
maintenance Task related to infrastructure & dependencies

Comments

@npatki
Copy link
Contributor

npatki commented Dec 9, 2022

Description

If I am on a high, unsupported version of Python (such as 3.11 or 3.12), the pip resolver thinks that very old versions of RDT (such as 0.2.1) are compatible with my environment. It installs them -- and the code doesn't work.

The root cause: For RDT version 0.2.1 and before, the Python requirements is >=3.5, with no upper limit. After version 0.2.1, the Python requirement has an upper limit such as >=3.5, <3.8, which gets updated.

Expected Update

I expect that I should not be allowed to install incompatible RDT packages. There are many solutions to this including:

  • Yanking older versions, see PEP 592
  • Modifying older versions

Note: Once we add support for new versions of Python, pip would no longer need to reach this far back into history to find an older version. Another solution can be to make sure we support all newer versions of Python.

@npatki npatki added the maintenance Task related to infrastructure & dependencies label Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Task related to infrastructure & dependencies
Projects
None yet
Development

No branches or pull requests

1 participant