From e36d4f112d93ee34c3643a703ed568b7ea92aa80 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 28 Dec 2020 16:28:23 +0100 Subject: [PATCH] BREAKING CHANGE: drop Python 3.5 support --- .drone.jsonnet | 5 ++--- .drone.yml | 19 +------------------ 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 0120a18..72cf112 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -1,4 +1,4 @@ -local PythonVersion(pyversion='3.5') = { +local PythonVersion(pyversion='3.6') = { name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest', image: 'python:' + pyversion, environment: { @@ -60,7 +60,6 @@ local PipelineTest = { 'git fetch -tq', ], }, - PythonVersion(pyversion='3.5'), PythonVersion(pyversion='3.6'), PythonVersion(pyversion='3.7'), PythonVersion(pyversion='3.8'), @@ -77,10 +76,10 @@ local PipelineTest = { 'codecov --required -X gcov', ], depends_on: [ - 'python35-pytest', 'python36-pytest', 'python37-pytest', 'python38-pytest', + 'python39-pytest', ], }, ], diff --git a/.drone.yml b/.drone.yml index ddb3b7f..a2f8802 100644 --- a/.drone.yml +++ b/.drone.yml @@ -40,19 +40,6 @@ steps: commands: - git fetch -tq -- name: python35-pytest - image: python:3.5 - commands: - - pip install poetry poetry-dynamic-versioning -qq - - poetry install -q - - poetry run pytest ansiblelater --cov=ansiblelater --cov-append --no-cov-on-fail - - poetry version - - poetry run ansible-later --help - environment: - PY_COLORS: 1 - depends_on: - - clone - - name: python36-pytest image: python:3.6 commands: @@ -115,10 +102,10 @@ steps: from_secret: codecov_token PY_COLORS: 1 depends_on: - - python35-pytest - python36-pytest - python37-pytest - python38-pytest + - python39-pytest image_pull_secrets: - docker_config @@ -677,8 +664,4 @@ trigger: depends_on: - docs ---- -kind: signature -hmac: e4769957c0f74e3e94d504d92b80cb32e181d06eab5730b8b61a8aa65fcc8c87 - ...