diff --git a/environment.yml b/environment.yml index aa4772edec..3fd49094eb 100644 --- a/environment.yml +++ b/environment.yml @@ -9,5 +9,5 @@ dependencies: - graphviz - gcc_linux-64 - libunwind # Needed for Python3.7+ - - python>=3.6 + - python>=3.6,<3.8 - python-stratify diff --git a/meta.yaml b/meta.yaml index 3492e9b227..ed28d85fdb 100644 --- a/meta.yaml +++ b/meta.yaml @@ -29,13 +29,13 @@ build: requirements: build: - git - - python>=3.6 + - python>=3.6,<3.8 # Normally installed via pip: - pytest-runner - setuptools_scm run: # esmvaltool - - python>=3.6 + - python>=3.6,<3.8 - libunwind # specifically for Python3.7+ - graphviz - iris>=2.2.1