From a7acbd8ebcd5e929154141b00c1b99fcd48d8737 Mon Sep 17 00:00:00 2001 From: k204230 <bergemann@dkrz.de> Date: Fri, 10 Jun 2022 20:30:23 +0200 Subject: [PATCH] Support python version >= 3.6 --- .gitlab-ci.yml | 14 +------------- setup.py | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 810b742..16005bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,19 +16,10 @@ lint: - black --check src - pylint --fail-under 8.5 src/rechunk_data/__init__.py -test_35: - << : *py_test - before_script: - - conda create -q -n test python=3.5 pip -y - - conda run -n test python -m pip install .[test] - script: - - conda run -n test pytest -vv - test_36: << : *py_test before_script: - conda create -q -n test python=3.6 pip -y - - /tmp/test/python -m pip install .[test] - conda run -n test python -m pip install .[test] script: - conda run -n test pytest -vv @@ -36,8 +27,7 @@ test_36: test_37: << : *py_test before_script: - - conda create -q -n test python=3.7 pip - - conda create -q -p /tmp/test python=3.10 pip -y + - conda create -q -n test python=3.7 pip -y - conda run -n test python -m pip install .[test] script: - conda run -n test pytest -vv @@ -46,7 +36,6 @@ test_38: << : *py_test before_script: - conda create -q -n test python=3.8 pip - - conda create -q -p /tmp/test python=3.10 pip -y - conda run -n test python -m pip install .[test] script: - conda run -n test pytest -vv @@ -55,7 +44,6 @@ test_39: << : *py_test before_script: - conda create -q -n test python=3.10 pip -y - - /tmp/test/python -m pip install .[test] - conda run -n test python -m pip install .[test] script: - conda run -n test pytest -vv diff --git a/setup.py b/setup.py index 3c73b54..a276578 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ setup( "types-mock", ], }, - python_requires=">=3.5", + python_requires=">=3.6", classifiers=[ "Development Status :: 3 - Alpha", "Environment :: Console", -- GitLab