Skip to content

Commit e3eed9e

Browse files
authored
Drop python 3.9, support python 3.12 (#422)
* Drop python 3.9, supoprt python 3.12 * Fix syntax
1 parent 176a9c2 commit e3eed9e

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

.github/workflows/check_black.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222

2323
steps:
2424
- uses: actions/checkout@v4
25-
- name: Set up Python 3.9
25+
- name: Set up Python 3.10
2626
uses: actions/setup-python@v5
2727
with:
28-
python-version: 3.9
28+
python-version: "3.10"
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install --upgrade pip

.github/workflows/test_pysteps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
23-
python-version: ["3.9", "3.11"]
23+
python-version: ["3.10", "3.12"]
2424
max-parallel: 6
2525

2626
defaults:

ci/ci_test_env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
- defaults
66
dependencies:
7-
- python>=3.9
7+
- python>=3.10
88
- pip
99
- mamba
1010
# Minimal dependencies

doc/source/user_guide/install_pysteps.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Dependencies
88

99
The pysteps package needs the following dependencies
1010

11-
* `python >=3.9, <3.12 <http://www.python.org/>`_ (lower or higher versions may work but are not tested).
11+
* `python >=3.10, <3.13 <http://www.python.org/>`_ (lower or higher versions may work but are not tested).
1212
* `jsonschema <https://pypi.org/project/jsonschema/>`_
1313
* `matplotlib <http://matplotlib.org/>`_
1414
* `netCDF4 <https://pypi.org/project/netCDF4/>`_

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
- defaults
55
dependencies:
6-
- python>=3.9
6+
- python>=3.10
77
- jsmin
88
- jsonschema
99
- matplotlib

environment_dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
- defaults
66
dependencies:
7-
- python>=3.9
7+
- python>=3.10
88
- pip
99
- jsmin
1010
- jsonschema

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Base dependencies
2-
python>=3.9
2+
python>=3.10
33
numpy
44
opencv-python
55
pillow

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@
9494
"Topic :: Scientific/Engineering :: Hydrology",
9595
"License :: OSI Approved :: BSD License",
9696
"Programming Language :: Python :: 3 :: Only",
97-
"Programming Language :: Python :: 3.9",
9897
"Programming Language :: Python :: 3.10",
9998
"Programming Language :: Python :: 3.11",
99+
"Programming Language :: Python :: 3.12",
100100
"Operating System :: OS Independent",
101101
],
102102
ext_modules=external_modules,

0 commit comments

Comments
 (0)