Skip to content

Commit

Permalink
Updated numpy min version and min py version
Browse files Browse the repository at this point in the history
Now minimum supported numpy is 1.18 and minimum supported python (py3) is 3.9
  • Loading branch information
manodeep authored Jul 29, 2024
1 parent b3522d5 commit 6930781
Showing 1 changed file with 8 additions and 25 deletions.
33 changes: 8 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
matrix:
os: ["ubuntu-20.04", "ubuntu-latest", "macos-latest"]
compiler: [gcc-7, gcc-9, clang]
python-version: ["2.7", "3.7", "3.8", "3.9"]
numpy-version: ["1.16", "1.18"]
python-version: ["2.7", "3.9", "3.12"]
numpy-version: ["1.18", "2.0.1"]

include:
- numpy-version: "1.22"
- numpy-version: "1.23"
compiler: gcc-10
python-version: "3.10"
os: ubuntu-latest

- numpy-version: "1.22"
- numpy-version: "1.23"
compiler: gcc-11
python-version: "3.10"
os: ubuntu-latest
Expand All @@ -39,17 +39,17 @@ jobs:
python-version: "3.10"
os: ubuntu-latest

- numpy-version: "1.22"
- numpy-version: "1.23"
compiler: gcc-10
python-version: "3.11"
os: ubuntu-latest

- numpy-version: "1.22"
- numpy-version: "1.23"
compiler: gcc-11
python-version: "3.11"
os: ubuntu-latest

- numpy-version: "1.22"
- numpy-version: "1.23"
compiler: gcc-12
python-version: "3.11"
os: ubuntu-latest
Expand Down Expand Up @@ -88,10 +88,7 @@ jobs:
- os: "ubuntu-latest"
compiler: gcc-7

# Don't run numpy 1.16 on ubuntu-latest
- os: "ubuntu-latest"
numpy-version: 1.16

# Only use latest numpy on ubuntu-latest
- os: "ubuntu-latest"
numpy-version: 1.18

Expand All @@ -107,20 +104,6 @@ jobs:
numpy-version: "1.18"
- python-version: "3.9"
numpy-version: "1.18"
- python-version: "3.8"
numpy-version: "1.18"
- python-version: "3.7"
numpy-version: "1.18"

# excludes for numpy 1.22
# - python-version: "2.7"
# numpy-version: "1.22"
# - python-version: "3.9"
# numpy-version: "1.22"
# - python-version: "3.8"
# numpy-version: "1.22"
# - python-version: "3.7"
# numpy-version: "1.22"

env:
CC: ${{ matrix.compiler }}
Expand Down

0 comments on commit 6930781

Please sign in to comment.