Skip to content

Commit c9bd687

Browse files
authored
Adopt support for python 3.8-3.10 (#316)
* Unpin micromamba * Update actions to the node16 runtime * Adopt support for python 3.8-3.10 window (NEP 29) * Migrate codecov-action to v3
1 parent 7a39a6a commit c9bd687

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

.github/workflows/check_black.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- name: Set up Python 3.8
26-
uses: actions/setup-python@v2
26+
uses: actions/setup-python@v4
2727
with:
2828
python-version: 3.8
2929
- name: Install dependencies

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: Set up Python
18-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@v4
1919
with:
2020
python-version: '3.x'
2121
- name: Install dependencies

.github/workflows/test_pysteps.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,22 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
23-
python-version: [ "3.7", "3.8", "3.9" ]
23+
python-version: ["3.8", "3.10"]
2424
max-parallel: 6
2525

2626
defaults:
2727
run:
2828
shell: bash -l {0}
2929

3030
steps:
31-
- uses: actions/checkout@v2
32-
- uses: actions/setup-python@v2
31+
- uses: actions/checkout@v3
32+
- uses: actions/setup-python@v4
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535

3636
- name: Install mamba and create environment
3737
uses: mamba-org/provision-with-micromamba@main
3838
with:
39-
micromamba-version: 0.24.0
4039
environment-file: ci/ci_test_env.yml
4140
environment-name: test_environment
4241
extra-specs: python=${{ matrix.python-version }}
@@ -87,12 +86,12 @@ jobs:
8786

8887
- name: Upload coverage to Codecov (Linux only)
8988
if: matrix.os == 'ubuntu-latest'
90-
uses: codecov/codecov-action@v1
89+
uses: codecov/codecov-action@v3
9190
env:
9291
OS: ${{ matrix.os }}
9392
PYTHON: ${{ matrix.python-version }}
9493
with:
95-
file: ${{github.workspace}}/pysteps_data/coverage.xml
94+
files: ${{github.workspace}}/pysteps_data/coverage.xml
9695
flags: unit_tests
9796
env_vars: OS,PYTHON
9897
fail_ci_if_error: true

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.7, <3.10 <http://www.python.org/>`_ (lower or higher versions may work but are not tested).
11+
* `python >=3.8, <3.11 <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/>`_

0 commit comments

Comments
 (0)