Skip to content

Commit 079b883

Browse files
authored
Drop python 3.10, support python 3.13 (#486)
1 parent 8c4e510 commit 079b883

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
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.10
25+
- name: Set up Python 3.11
2626
uses: actions/setup-python@v5
2727
with:
28-
python-version: "3.10"
28+
python-version: "3.11"
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.10", "3.12"]
23+
python-version: ["3.11", "3.13"]
2424
max-parallel: 6
2525

2626
defaults:

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 2
77
build:
88
os: "ubuntu-22.04"
99
tools:
10-
python: "3.10"
10+
python: "3.11"
1111

1212
sphinx:
1313
configuration: doc/source/conf.py

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.10
7+
- python>=3.11
88
- pip
99
- mamba
1010
# Minimal dependencies

doc/source/user_guide/install_pysteps.rst

Lines changed: 5 additions & 5 deletions
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.10, <3.13 <http://www.python.org/>`_ (lower or higher versions may work but are not tested).
11+
* `python >=3.11, <3.14 <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/>`_
@@ -61,10 +61,10 @@ a community-driven package repository for conda packages.
6161

6262
To install pysteps with mamba in a new environment, run in a terminal::
6363

64-
mamba create -n pysteps python=3.10
64+
mamba create -n pysteps python=3.11
6565
mamba activate pysteps
6666

67-
This will create and activate the new python environment called 'pysteps' using python 3.10.
67+
This will create and activate the new python environment called 'pysteps' using python 3.11.
6868
The next step is to add the conda-forge channel where the pysteps package is located::
6969

7070
conda config --env --prepend channels conda-forge
@@ -92,9 +92,9 @@ First, make sure that Rosetta 2 is installed::
9292

9393
softwareupdate --install-rosetta
9494

95-
Use mamba to create a new environment called 'pysteps' for intel packages with python 3.10::
95+
Use mamba to create a new environment called 'pysteps' for intel packages with python 3.11::
9696

97-
CONDA_SUBDIR=osx-64 mamba create -n pysteps python=3.10
97+
CONDA_SUBDIR=osx-64 mamba create -n pysteps python=3.11
9898
mamba activate pysteps
9999

100100
Make sure that conda/mamba commands in this environment use intel packages::

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.10
6+
- python>=3.11
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.10
7+
- python>=3.11
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.10
2+
python>=3.11
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.10",
9897
"Programming Language :: Python :: 3.11",
9998
"Programming Language :: Python :: 3.12",
99+
"Programming Language :: Python :: 3.13",
100100
"Operating System :: OS Independent",
101101
],
102102
ext_modules=external_modules,

0 commit comments

Comments
 (0)