Skip to content

Commit

Permalink
Set minimum python version to 3.7 (#253)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
dnerini and aperezhortal committed Jan 15, 2022
1 parent bd94785 commit c8e3c74
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_pysteps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
python-version: [ "3.6", "3.8" ]
python-version: [ "3.7", "3.9" ]
max-parallel: 6

defaults:
Expand Down
2 changes: 1 addition & 1 deletion doc/source/user_guide/install_pysteps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Dependencies

The pysteps package needs the following dependencies

* `python >=3.6 <http://www.python.org/>`_
* `python >=3.7 <http://www.python.org/>`_ (lower versions may work but they are not officially supported).
* `jsonschema <https://pypi.org/project/jsonschema/>`_
* `matplotlib <http://matplotlib.org/>`_
* `netCDF4 <https://pypi.org/project/netCDF4/>`_
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
- defaults
dependencies:
- python>=3.6
- python>=3.7
- jsmin
- jsonschema
- matplotlib
Expand Down
2 changes: 1 addition & 1 deletion environment_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge
- defaults
dependencies:
- python>=3.6
- python>=3.7
- pip
- jsmin
- jsonschema
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Base dependencies
python>=3.6
python>=3.7
numpy
opencv-python
pillow
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Hydrology",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent",
],
ext_modules=external_modules,
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# > tox -e black # Test for black formatting warnings

[tox]
envlist = py36, py37, py38, py39
envlist = py37, py38, py39

[testenv]
description = Run the pysteps's test suite
Expand Down

0 comments on commit c8e3c74

Please sign in to comment.