Skip to content

Commit

Permalink
Merge pull request #113 from valeriupredoi/python312
Browse files Browse the repository at this point in the history
Add support for Python=3.12
  • Loading branch information
valeriupredoi authored Mar 21, 2024
2 parents 7b954f7 + 79971aa commit 6980a80
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-deploy-on-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
============================
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 6980a80

Please sign in to comment.