Skip to content

Commit 76eb12e

Browse files
Drop support for Python 3.6 (#1200)
Co-authored-by: Bouwe Andela <b.andela@esciencecenter.nl>
1 parent 710cb4a commit 76eb12e

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

doc/recipe/preprocessor.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Overview
3131
========
3232

3333
..
34-
ESMValTool is a modular ``Python 3.6+`` software package possessing capabilities
34+
ESMValTool is a modular ``Python 3.7+`` software package possessing capabilities
3535
of executing a large number of diagnostic routines that can be written in a
3636
number of programming languages (Python, NCL, R, Julia). The modular nature
3737
benefits the users and developers in different key areas: a new feature

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ dependencies:
1111
- esmpy
1212
- iris>=3.0.2,<3.0.4 # iris=3.0.4 dropped support for Python 3.6 but we haven't just yet (23 July 2021, bugfix release 2.3.1)
1313
- graphviz
14-
- python>=3.6
14+
- python>=3.7
1515
- python-stratify
1616
- scipy<1.6 # until ESMValGroup/ESMValCore/issues/927 gets resolved

package/meta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ build:
2929
requirements:
3030
build:
3131
- git
32-
- python>=3.6
32+
- python>=3.7
3333
# Normally installed via pip:
3434
- pytest-runner
3535
- setuptools_scm
3636
run:
3737
# esmvaltool
38-
- python>=3.6
38+
- python>=3.7
3939
- graphviz
4040
- iris>=3.0.2,<3.0.4 # iris=3.0.4 dropped support for Python 3.6 but we haven't just yet (23 July 2021, bugfix release 2.3.1)
4141
- python-stratify

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ def read_description(filename):
198198
'Natural Language :: English',
199199
'Operating System :: POSIX :: Linux',
200200
'Programming Language :: Python :: 3',
201-
'Programming Language :: Python :: 3.6',
202201
'Programming Language :: Python :: 3.7',
203202
'Programming Language :: Python :: 3.8',
203+
'Programming Language :: Python :: 3.9',
204204
'Topic :: Scientific/Engineering',
205205
'Topic :: Scientific/Engineering :: Atmospheric Science',
206206
'Topic :: Scientific/Engineering :: GIS',

tests/integration/preprocessor/_io/test_concatenate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def test_fail_on_calendar_concatenate_with_overlap(self):
384384
Cube([33., 55.],
385385
var_name='sample',
386386
dim_coords_and_dims=((time_coord, 0), )))
387-
with self.assertRaises(TypeError):
387+
with self.assertRaises((TypeError, ValueError)):
388388
_io.concatenate(self.raw_cubes)
389389

390390
def test_fail_on_units_concatenate_with_overlap(self):

0 commit comments

Comments
 (0)