Skip to content

MNT Configures boundscheck=True for one of the CI instances #21779

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

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

thomasjpfan
Copy link
Member

Reference Issues/PRs

Fixes #21668

What does this implement/fix? Explain your changes.

This PR adds SKLEARN_ENABLE_DEBUG_CYTHON_DIRECTIVES that configures Cython to perform more checks.

Any other comments?

If we want to configure other directives, we can add them in a follow up PR.

Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It probably makes the run a little longer (22min) but it's still reasonable and not longer than some other jobs like the windows ones for instance, so LGTM.

@glemaitre glemaitre merged commit a611fed into scikit-learn:main Nov 25, 2021
@glemaitre
Copy link
Member

LGTM. @lorentzenchr will be happier maybe :)

@jjerphan
Copy link
Member

Thanks @thomasjpfan.

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.

CI with boundscheck=False
4 participants