-
Notifications
You must be signed in to change notification settings - Fork 159
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
Minimum dependencies test job #1203
Comments
Very easily. If we run that job in Python 3.11, we don’t even have to add a test dependency, we can just use the built-in Then parse it using packaging.specifiers.SpecifierSet and transform it into a list of Then begins the “fun” of finding out what the real minimum versions are that we support. |
This gets more complicated for cupy since:
So we may need to upgrade out GPU testing system to let us use other versions of CUDA, so that we can support older cupy to test against them. I think we'll just skip this for now. |
Another potential solution is to use https://pypi.org/project/pypi-timemachine/, which would help with transitive dependencies. However, I think this raises some new questions like: "what date do we set it to" and "what if a particular dependency should be from a newer date". |
Yeah, I feel like a PyPI time machine is more for “I can’t figure out how to get a working environment for this old thing anymore”, not our use case. |
Please describe your wishes and possible alternatives to achieve the desired result.
We should be testing against minimum versions of our dependencies. This is motivated by several recent issues related to pandas versions.
I propose we add a test job that grabs the minimum bounds of our dependencies and tests against it.
pyproject.toml
must be automated.Unfortunately, it doesn't look like there's a great way to automate the job:
We can probably just write a script to parse this from our
pyproject.toml
.cc: @flying-sheep
The text was updated successfully, but these errors were encountered: