Skip to content

Commit

Permalink
MAINT: bump minimum Python version to 3.10 and NumPy to 1.25 [wheel b…
Browse files Browse the repository at this point in the history
…uild]

Follows NumPy, SciPy and SPEC 0
  • Loading branch information
rgommers committed Mar 3, 2025
1 parent 4327bce commit e477c15
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
MPLBACKEND: Agg
CYTHON_TRACE: 1
CYTHONSPEC: cython
NUMPY_MIN: numpy==1.23.0
NUMPY_MIN: numpy==1.25.0
CYTHON_MIN: cython==3.0.4

jobs:
Expand All @@ -33,7 +33,7 @@ jobs:
fail-fast: false
matrix:
runs-on: [ubuntu-latest] # Arm runner tested separately, see below
python-version: ["3.10", "3.13"]
python-version: ["3.11", "3.13"]
MINIMUM_REQUIREMENTS: [0]
USE_SDIST: [0]
REFGUIDE_CHECK: [1]
Expand All @@ -45,13 +45,13 @@ jobs:
python-version: "3.13"
# Linux amd64
- runs-on: ubuntu-latest
python-version: "3.10"
python-version: "3.11"
MINIMUM_REQUIREMENTS: 1
OPTIONS_NAME: "minimum-req"
- runs-on: ubuntu-latest
python-version: "3.10"
python-version: "3.11"
- runs-on: ubuntu-latest
python-version: "3.10"
python-version: "3.11"
USE_SDIST: 1
OPTIONS_NAME: "install-from-sdist"
- runs-on: ubuntu-latest
Expand Down Expand Up @@ -181,14 +181,14 @@ jobs:
# Ensure that a wheel builder finishes even if another fails
fail-fast: false
matrix:
python-version: ["3.10", "3.13"]
python-version: ["3.11", "3.13"]
MINIMUM_REQUIREMENTS: [0]
USE_SDIST: [0]
REFGUIDE_CHECK: [0]
PIP_FLAGS: [""]
OPTIONS_NAME: ["default"]
include:
- python-version: "3.10"
- python-version: "3.11"
MINIMUM_REQUIREMENTS: 1
OPTIONS_NAME: "osx-minimum-req"
- python-version: "3.13"
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/wheel_tests_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
cibw_python: ["cp310", "cp311", "cp312", "cp313", "cp313t"]
cibw_python: ["cp311", "cp312", "cp313", "cp313t"]
cibw_arch: ["x86_64"]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
Expand All @@ -43,7 +43,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: "3.10"
python-version: "3.12"

- name: Install build deps; set CIBW environment variables
if: ${{ matrix.cibw_python }} == "cp313t"
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04-arm]
cibw_python: ["cp310", "cp311", "cp312", "cp313"]
cibw_python: ["cp311", "cp312", "cp313"]
cibw_arch: ["aarch64"]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
Expand All @@ -88,7 +88,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: "3.10"
python-version: "3.12"

- name: Build the wheel
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
Expand All @@ -112,7 +112,7 @@ jobs:
matrix:
# macos-13 is the last runner that supports Intel (x86_64) architecture
os: [macos-13, macos-14]
cibw_python: ["cp310", "cp311", "cp312", "cp313", "cp313t"]
cibw_python: ["cp311", "cp312", "cp313", "cp313t"]
cibw_arch: ["x86_64", "arm64"]
exclude:
- os: macos-14
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
matrix:
os: [windows-latest]
cibw_arch: ["AMD64", "x86"]
cibw_python: ["cp310", "cp311", "cp312", "cp313", "cp313t"]
cibw_python: ["cp311", "cp312", "cp313", "cp313t"]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
Expand All @@ -185,7 +185,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: "3.10"
python-version: "3.12"

- name: Setup MSVC (32-bit)
if: matrix.cibw_arch == 'x86'
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: "3.10"
python-version: "3.12"

- name: Install Twine
run: |
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ maintainers = [
{name = "The PyWavelets Developers", email = "[email protected]"}
]
description = "PyWavelets, wavelet transform module"
requires-python = ">=3.10"
dependencies = ["numpy>=1.23,<3"]
requires-python = ">=3.11"
dependencies = ["numpy>=1.25,<3"]
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -43,7 +43,6 @@ classifiers = [
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down

0 comments on commit e477c15

Please sign in to comment.