Skip to content

Commit

Permalink
Removed explicit installation of numpy-1.x in cd_release.yml and pypr…
Browse files Browse the repository at this point in the history
…oject.toml
  • Loading branch information
jesper-friis committed Dec 3, 2024
1 parent 68c77e4 commit 8b999a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/cd_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,10 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install -U pip
pip install -U setuptools wheel
# Build package/tool
pip install -U build
pip install -U setuptools wheel build
# Build requirements
pip install -U oldest-supported-numpy cmake
pip install -U -r requirements.txt -r requirements_dev.txt
- name: Build source distribution
run: python -m build --no-isolation --sdist python
Expand Down
5 changes: 3 additions & 2 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
requires = [
"setuptools>=58",
"wheel>=0.37",
"oldest-supported-numpy",
"cmake",
"numpy>=1.14.5,<2.1.3",
"cmake=3.31.1",
"swig=4.1.1",
]
build-backend = "setuptools.build_meta"

Expand Down

0 comments on commit 8b999a4

Please sign in to comment.