Skip to content

Commit

Permalink
MNT: Bump minimum Python to 3.10 and Numpy to 1.23
Browse files Browse the repository at this point in the history
This is in accordance with NEP29 and dropping support for older
versions.

Additionally, get rid of extra CI compiler link steps.
  • Loading branch information
greglucas committed Mar 16, 2024
1 parent a24c307 commit 9ed215e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 20 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,6 @@ jobs:
compiler: gcc
version: 13

# The setup-fortran action doesn't work on macos-arm64 currently
- name: Link fortrans on macos-arm64
if: startsWith(matrix.os, 'macos-14')
run: |
ln -fs /opt/homebrew/bin/gfortran-13 /usr/local/bin/gfortran
ln -fs /opt/homebrew/bin/gcc-13 /usr/local/bin/gcc
ln -fs /opt/homebrew/bin/g++-13 /usr/local/bin/g++
- name: Compiler versions
run: |
which gcc
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ jobs:
compiler: gcc
version: 13

# The setup-fortran action doesn't work on macos-arm64 currently
- name: Link fortran on macos-arm64
if: startsWith(matrix.os, 'macos-14')
run: |
ln -fs /opt/homebrew/bin/gfortran-13 /usr/local/bin/gfortran
ln -fs /opt/homebrew/bin/gcc-13 /usr/local/bin/gcc
ln -fs /opt/homebrew/bin/g++-13 /usr/local/bin/g++
- name: Compiler versions
run: |
which gcc
Expand All @@ -75,7 +67,7 @@ jobs:
- name: Build wheels
uses: pypa/cibuildwheel@v2.17.0
env:
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*"
CIBW_BUILD: "cp310-* cp311-* cp312-*"
# skip 32 bit windows and linux builds because numpy
# does not provide wheels for these platforms
CIBW_SKIP: "*-win32 *_i686"
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -30,8 +29,8 @@ classifiers = [
"Operating System :: Unix",
"Operating System :: MacOS",
]
requires-python = ">=3.9"
dependencies = ["numpy"]
requires-python = ">=3.10"
dependencies = ["numpy>=1.23"]

[project.optional-dependencies]
tests = [
Expand Down

0 comments on commit 9ed215e

Please sign in to comment.