From 3b38fa8a4b478658b1c5a1191619edee17674dfc Mon Sep 17 00:00:00 2001 From: CyanideCN Date: Sun, 28 Apr 2024 16:14:02 -0700 Subject: [PATCH 1/2] ci: drop 3.8 & test numpy 2.0 --- .github/workflows/ci.yml | 2 +- environment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67f6ae7..0ba9ad3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest", "windows-latest"] - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 diff --git a/environment.yaml b/environment.yaml index eb49561..ff22171 100644 --- a/environment.yaml +++ b/environment.yaml @@ -3,7 +3,7 @@ channels: - conda-forge dependencies: - pip - - numpy + - numpy>=2.0.0rc1 - matplotlib - cartopy - setuptools From 0d1f55f95e85f218c8ffd42a5c575116d1f52a5c Mon Sep 17 00:00:00 2001 From: CyanideCN Date: Sun, 28 Apr 2024 16:19:24 -0700 Subject: [PATCH 2/2] ci: numpy 2.0 --- .github/workflows/ci.yml | 1 + environment.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ba9ad3..b17809f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,7 @@ jobs: run: | python -m pip install --upgrade setuptools python -m pip install --upgrade wheel + python -m pip install --upgrade numpy==2.0.0rc1 python setup.py bdist_wheel - name: Upload artifact uses: actions/upload-artifact@v2 diff --git a/environment.yaml b/environment.yaml index ff22171..eb49561 100644 --- a/environment.yaml +++ b/environment.yaml @@ -3,7 +3,7 @@ channels: - conda-forge dependencies: - pip - - numpy>=2.0.0rc1 + - numpy - matplotlib - cartopy - setuptools