8000 'IF' statement is deprecated and will be removed in a future Cython version. · Issue #25652 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

'IF' statement is deprecated and will be removed in a future Cython version. #25652

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

Closed
thomasjpfan opened this issue Feb 20, 2023 · 0 comments · Fixed by #25654
Closed

'IF' statement is deprecated and will be removed in a future Cython version. #25652

thomasjpfan opened this issue Feb 20, 2023 · 0 comments · Fixed by #25654
Labels

Comments

@thomasjpfan
Copy link
Member

When building with Cython 3.0, the following warning appears multiple times:

warning: sklearn/cluster/_k_means_elkan.pyx:9:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See cython/cython#4310

This is related to how we use SKLEARN_OPENMP_PARALLELISM_ENABLED during compile-time. XREF: cython/cython#4310

CC @jeremiedbb @ogrisel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0