diff --git a/.github/workflows/build-and-deploy-on-pypi.yml b/.github/workflows/build-and-deploy-on-pypi.yml index a6f6a6e6..d3c391df 100644 --- a/.github/workflows/build-and-deploy-on-pypi.yml +++ b/.github/workflows/build-and-deploy-on-pypi.yml @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - name: Set up Python 3.11 - uses: actions/setup-python@v1 + - name: Set up Python 3.12 + uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: Install pep517 run: >- python -m diff --git a/.github/workflows/run-tests-push.yml b/.github/workflows/run-tests-push.yml index 77495f27..7c1e5b8a 100644 --- a/.github/workflows/run-tests-push.yml +++ b/.github/workflows/run-tests-push.yml @@ -8,7 +8,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.11"] + python-version: ["3.12"] fail-fast: false name: Linux Python ${{ matrix.python-version }} steps: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 894a041b..729588a7 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,7 +13,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] fail-fast: false name: Linux Python ${{ matrix.python-version }} steps: diff --git a/README.md b/README.md index 1ffbcbcd..2c6167cf 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ This work was funded through WP1 of the Terrafirma project. Current version notes: -- Suported versions of Python: 3.9, 3.10 and 3.11 +- Suported versions of Python: 3.9, 3.10, 3.11, and 3.12 Environment and installation ============================ diff --git a/environment.yml b/environment.yml index fd42d47c..3a45b5a3 100644 --- a/environment.yml +++ b/environment.yml @@ -10,7 +10,7 @@ dependencies: - matplotlib - nctoolkit >=0.8.7 # use linux64 build - netcdf4 - - numpy >1.24.3, <1.25 # basemap=1.3.7 needs <1.25 + - numpy >1.24.3 - pip !=21.3 - python >=3.9 - pyyaml diff --git a/setup.py b/setup.py index 3baa25f6..134b294f 100755 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ 'matplotlib', 'nctoolkit>=0.8.7', # use linux64 build 'netcdf4', - 'numpy>1.24.3,<1.25', # basemap 1.3.7 needs <1.25 + 'numpy>1.24.3', 'pip!=21.3', 'pyyaml', 'scikit-learn', @@ -176,6 +176,7 @@ def read_authors(filename): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Atmospheric Science', 'Topic :: Scientific/Engineering :: GIS',