Skip to content

Commit c8e3c74

Browse files
Set minimum python version to 3.7 (#253)
* Set minimum python version to 3.7 and maximum version to 3.9 * Update github actions Co-authored-by: Andres Perez Hortal <16256571+aperezhortal@users.noreply.github.com>
1 parent bd94785 commit c8e3c74

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

.github/workflows/test_pysteps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
24-
python-version: [ "3.6", "3.8" ]
24+
python-version: [ "3.7", "3.9" ]
2525
max-parallel: 6
2626

2727
defaults:

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.6 <http://www.python.org/>`_
11+
* `python >=3.7 <http://www.python.org/>`_ (lower versions may work but they are not officially supported).
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.6
6+
- python>=3.7
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.6
7+
- python>=3.7
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.6
2+
python>=3.7
33
numpy
44
opencv-python
55
pillow

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@
9393
"Topic :: Scientific/Engineering :: Atmospheric Science",
9494
"Topic :: Scientific/Engineering :: Hydrology",
9595
"License :: OSI Approved :: BSD License",
96-
"Programming Language :: Python :: 3",
96+
"Programming Language :: Python :: 3 :: Only",
97+
"Programming Language :: Python :: 3.7",
98+
"Programming Language :: Python :: 3.8",
99+
"Programming Language :: Python :: 3.9",
97100
"Operating System :: OS Independent",
98101
],
99102
ext_modules=external_modules,

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# > tox -e black # Test for black formatting warnings
1515

1616
[tox]
17-
envlist = py36, py37, py38, py39
17+
envlist = py37, py38, py39
1818

1919
[testenv]
2020
description = Run the pysteps's test suite

0 commit comments

Comments
 (0)