Skip to content

Commit

Permalink
Try specifying oldest-supported-numpy as a build dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
langmm committed Feb 5, 2024
1 parent 4f6e3a4 commit a9657e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
CIBW_TEST_COMMAND: "pytest -sv {project}/tests"
CIBW_SKIP: "cp2* cp33* cp34* cp35* cp36* cp37* pp* cp310-manylinux_i686 cp311-manylinux_i686 *-musllinux_*"
CIBW_ENVIRONMENT: "PIP_ONLY_BINARY=numpy"
CIBW_BEFORE_BUILD: pip install oldest-supported-numpy
# CIBW_BEFORE_BUILD: pip install oldest-supported-numpy
# CIBW_PRERELEASE_PYTHONS: True

- name: Upload artifacts
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ requires = [
"scikit-build-core",
"setuptools_scm",
"hatch-fancy-pypi-readme",
"numpy"
"numpy==1.13.3; python_version<'3.5'",
"oldest-supported-numpy; python_version>='3.5'",
]
build-backend = "scikit_build_core.build"

Expand Down

0 comments on commit a9657e5

Please sign in to comment.