diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 933337ad1..c876e8bed 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 4ba1b109b..57653a4c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]