diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5048e8ed7..bdcd62749 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] architecture: [x86, x64] os: [ @@ -68,7 +68,7 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.21.3 env: - CIBW_SKIP: pp* cp36-* + CIBW_SKIP: pp* cp36-* cp37-* cp38-* - name: Store wheel artifacts uses: actions/upload-artifact@v4 diff --git a/RELEASE.rst b/RELEASE.rst index 42e08d2ef..36ce60a16 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -13,6 +13,7 @@ Bottleneck 1.4.1 Enhancements ~~~~~~~~~~~~ +- Deprecate Python 3.7 and 3.8 - Add python 3.13 build Bottleneck 1.4.0 diff --git a/pyproject.toml b/pyproject.toml index 4f1b8741a..3a5ff500a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,10 @@ [build-system] requires = [ + # Setuptools has removed support for msvccompiler + # this is needed to build old versions of bottleneck "setuptools", "versioneer", "wheel", - "oldest-supported-numpy ; python_version < '3.9'", - # Setuptools has removed support for msvccompiler - # this is needed to build old versions of bottleneck - "setuptools<74 ; python_version < '3.9'", # Comments on numpy build requirement range: # # 1. >=2.0.x is the numpy requirement for wheel builds for distribution @@ -17,5 +15,5 @@ requires = [ # and disabling build isolation. # 3. The <2.3 upper bound is for matching the numpy deprecation policy, # it should not be loosened - "numpy>=2.0.0rc1,<2.3 ; python_version >= '3.9'", + "numpy>=2,<2.3" ]