-
Notifications
You must be signed in to change notification settings - Fork 183
MAINT: Skip conformance tests running with too old array API packages #2803
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
MAINT: Skip conformance tests running with too old array API packages #2803
Conversation
|
/azp run Nightly |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
/azp run Nightly |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
This kind of syntax didn't work - tests were not skipped. @ethanglaser Any ideas about how these conditional skips could be added? |
|
I don't believe its possible to deselect based on python, probably makes sense to just deselect entirely and add comment about constraint |
Changed to deselect unconditionally. |
Description
Some tests introduced in sklearn1.8 require versions of array API packages that are not available for older python versions.
Along with bumping the python versions used for the CI jobs that test against the main branch from sklearn, it's also required to skip these problematic tests once sklearn1.8 is released.
This PR tries to deselect the tests based on python versions, but I'm not sure that it will work as intended. Currently, it seems that all of the deselections work only on versions of scikit-learn, and I'm not sure what would be the logic for deselecting based on python versions or versions of other packages instead.
Note that the actual requirement is
array-api-strict>=2.4.1, which in turn requirespython>=3.12.Checklist:
Completeness and readability
Testing