Skip to content

Commit 8e14c03

Browse files
committed
Set build requirement numpy<2 for python < 3.9
1 parent 19fd195 commit 8e14c03

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/upload_to_pypi.yml

-3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,3 @@ jobs:
7272
merge-multiple: true
7373

7474
- uses: pypa/gh-action-pypi-publish@release/v1
75-
with:
76-
user: __token__
77-
password: ${{ secrets.PYPI_API_TOKEN }}

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [
33
"wheel",
44
"setuptools",
55
"Cython>=0.29.2",
6-
"oldest-supported-numpy; python_version<'3.9'",
6+
"numpy<2; python_version<'3.9'",
77
"numpy>=2; python_version>='3.9'",
88
]
99
build-backend = 'setuptools.build_meta'

0 commit comments

Comments
 (0)