Skip to content

Commit

Permalink
Avoid numpy 2.0 until next release
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
  • Loading branch information
jeandet committed Jun 20, 2024
1 parent d4b0117 commit 4a72a9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-with-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run: |
sudo apt update
sudo apt install -y python3-pip lcov g++
pip install --upgrade meson ninja numpy meson-python>=0.14.0 build wheel ddt requests
pip install --upgrade meson ninja 'numpy<2.0' meson-python>=0.14.0 build wheel ddt requests
- name: Configure with meson
run: meson -Db_coverage=true -Dwith_tests=true . build
- name: Build (meson)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
build-backend = 'mesonpy'
requires = ['meson-python>=0.14.0', 'numpy']
requires = ['meson-python>=0.14.0', 'numpy<2.0']

[project]
name = "pycdfpp"
Expand All @@ -22,7 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = ['numpy', 'pyyaml']
dependencies = ['numpy<2.0', 'pyyaml']
dynamic = [
'version',
]
Expand Down

0 comments on commit 4a72a9b

Please sign in to comment.