Skip to content

Commit

Permalink
MAINT: Make python 3.9 the minimal compatible version
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel Aoun committed Dec 5, 2023
1 parent a02bc60 commit 684972c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9
- name: Install requirements
run: pip install -r requirements.txt
- name: Install icclim
Expand Down Expand Up @@ -47,10 +47,10 @@ jobs:
steps:
# actions/checkout@v2 checkouts to a new merge commit
- uses: actions/checkout@v3
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9
- name: Install requirements
run: pip install -r requirements.txt
- name: Install pytest-cov
Expand Down Expand Up @@ -100,10 +100,10 @@ jobs:
- uses: actions/checkout@v3
with:
lfs: true
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9
- name: Install requirements
run: pip install -r requirements.txt
- name: Install pytest-cov
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sphinx:
build:
os: "ubuntu-20.04"
tools:
python: "3.8"
python: "3.9"

python:
install:
Expand Down
6 changes: 6 additions & 0 deletions doc/source/references/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Release history
===============

6.5.0
-----

* [maint] Upgrade minimal python version to 3.9
* [fix] Avoid resampling SPI* indices.

6.4.0
-----

Expand Down
2 changes: 1 addition & 1 deletion doc/source/tutorials/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The dependencies to run icclim are listed under our

Installation (Linux, OS X)
--------------------------
.. note:: Make sure you have **Python 3.8+**.
.. note:: Make sure you have **Python 3.9+**.

To install from pip
~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
- defaults
dependencies:
# Core dependencies
- python>=3.8
- python>=3.9
- xclim==0.43
- numpy
- xarray>=2022.6
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
MINIMAL_REQUIREMENTS = [
"numpy>=1.16",
"xarray>=2022.6",
"xclim>=0.43, <0.44",
"xclim>=0.43",
"cf_xarray>=0.7.4",
"cftime>=1.4.1",
"dask[array]",
Expand All @@ -31,15 +31,15 @@
include_package_data=True,
url="https://github.com/cerfacs-globc/icclim",
install_requires=MINIMAL_REQUIREMENTS,
python_requires=">=3.8",
python_requires=">=3.9",
classifiers=[
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: French",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Atmospheric Science",
],
)

0 comments on commit 684972c

Please sign in to comment.