8000 MAINT: default to C11 rather than C99, fix most build warnings with Clang 14 by rgommers · Pull Request #25072 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

MAINT: default to C11 rather than C99, fix most build warnings with Clang 14 #25072

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 7 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
BLD: update minimum Cython version to 3.0.6
Needed to include the bug fix for using complex types with C11
(Cython PR 5809).
  • Loading branch information
rgommers committed Dec 13, 2023
commit 0ee0b6f95631d24325b2ce324ef5b18205d6b25f
2 changes: 1 addition & 1 deletion build_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
meson-python>=0.13.1
Cython>=3.0
Cython>=3.0.6
ninja
spin==0.8
build
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ elif cc.get_id() == 'msvc'
'when building with MSVC')
endif
endif
if not cy.version().version_compare('>=0.29.34')
error('NumPy requires Cython >= 0.29.34')
if not cy.version().version_compare('>=3.0.6')
error('NumPy requires Cython >= 3.0.6')
endif

py = import('python').find_installation(pure: false)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
6EA4
Original file line numberDiff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
build-backend = "mesonpy"
requires = [
"meson-python>=0.15.0",
"Cython>=3.0",
"Cython>=3.0.6", # keep in sync with version check in meson.build
]

[project]
Expand Down
0