Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <adam2392@gmail.com>
  • Loading branch information
adam2392 committed Jun 30, 2023
1 parent e62e22b commit 9963fb9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
# Ensure that a wheel builder finishes even if another fails
fail-fast: false
matrix:
python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11.0-alpha - 3.11.0"]]
python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"]]
# python[0] is used to specify the python versions made by cibuildwheel

steps:
Expand Down
19 changes: 10 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,24 @@ requires = [
# We follow scipy for much of these pinnings
# https://github.com/scipy/scipy/blob/main/pyproject.toml

# On Windows we need to avoid 1.21.6, 1.22.0 and 1.22.1 because they were
# built with vc142. 1.22.3 is the first version that has 32-bit Windows
# wheels *and* was built with vc141. So use that:
"numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'",
# NumPy dependencies - to update these, sync from
# https://github.com/scipy/oldest-supported-numpy/, and then
# update minimum version to match our install_requires min version
# ----------------------------------------------------------------

# now matches minimum supported version, keep here as separate requirement
# to be able to sync more easily with oldest-supported-numpy

# default numpy requirements
"numpy==1.21.1; python_version=='3.8' and platform_python_implementation != 'PyPy'",
"numpy==1.21.1; python_version=='3.9' and platform_python_implementation != 'PyPy'",
"numpy==1.21.6; python_version=='3.10' and platform_system != 'Windows' and platform_python_implementation != 'PyPy'",
"numpy==1.23.3; python_version=='3.11' and platform_python_implementation != 'PyPy'",
"numpy==1.22.4; python_version<='3.10' and platform_python_implementation != 'PyPy'",
"numpy==1.23.2; python_version=='3.11' and platform_python_implementation != 'PyPy'",

# For Python versions which aren't yet officially supported,
# we specify an unpinned NumPy which allows source distributions
# to be used and allows wheels to be used as soon as they
# become available.
"numpy; python_version>='3.12'",
"numpy; python_version>='3.8' and platform_python_implementation=='PyPy'",
"numpy; python_version>='3.9' and platform_python_implementation=='PyPy'",
]

[tool.poetry-dynamic-versioning]
Expand Down

0 comments on commit 9963fb9

Please sign in to comment.