Skip to content

Commit

Permalink
Set build requirement numpy<2 for python < 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Dec 15, 2024
1 parent 19fd195 commit 8e14c03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/upload_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,3 @@ jobs:
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [
"wheel",
"setuptools",
"Cython>=0.29.2",
"oldest-supported-numpy; python_version<'3.9'",
"numpy<2; python_version<'3.9'",
"numpy>=2; python_version>='3.9'",
]
build-backend = 'setuptools.build_meta'

0 comments on commit 8e14c03

Please sign in to comment.