Skip to content

Conversation

@david-cortes-intel
Copy link
Contributor

@david-cortes-intel david-cortes-intel commented Nov 28, 2025

Description

Sets env. variable SCIPY_ARRAY_API=1 for the tests runner scripts, which is required in order for all array API functionalities in sklearn to work.

Note that some tests were setting this environment variable manually, but it only has an effect when set before scipy is imported, so this logic was actually incorrect:
https://docs.scipy.org/doc/scipy/dev/api-dev/array_api.html


Checklist:

Completeness and readability

  • Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details).
  • I have resolved any merge conflicts that might occur with the base branch.

Testing

  • All CI jobs are green or I have provided justification why they aren't.

@codecov
Copy link

codecov bot commented Nov 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
azure 80.43% <ø> (-0.06%) ⬇️
github 82.02% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant