From d1f6175719bd7b09fecfedea052753e1588133e0 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 6 Dec 2021 16:42:26 +0100 Subject: [PATCH] BREAKING CHANGE: drop support for python 3.6 and 3.7 --- .drone.jsonnet | 7 +++---- .drone.yml | 27 ++++++++------------------- 2 files changed, 11 insertions(+), 23 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index fa8769f..82ba0a0 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -1,4 +1,4 @@ -local PythonVersion(pyversion='3.6') = { +local PythonVersion(pyversion='3.8') = { name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest', image: 'python:' + pyversion, environment: { @@ -24,7 +24,7 @@ local PipelineLint = { steps: [ { name: 'flake8', - image: 'python:3.9', + image: 'python:3.10', environment: { PY_COLORS: 1, }, @@ -47,10 +47,9 @@ local PipelineTest = { arch: 'amd64', }, steps: [ - PythonVersion(pyversion='3.6'), - PythonVersion(pyversion='3.7'), PythonVersion(pyversion='3.8'), PythonVersion(pyversion='3.9'), + PythonVersion(pyversion='3.10'), ], depends_on: [ 'lint', diff --git a/.drone.yml b/.drone.yml index a389a55..5e7c336 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ platform: steps: - name: flake8 - image: python:3.9 + image: python:3.10 commands: - pip install -r dev-requirements.txt -qq - flake8 @@ -30,19 +30,8 @@ platform: arch: amd64 steps: - - name: python36-pytest - image: python:3.6 - commands: - - pip install -r dev-requirements.txt -qq - - pip install -r test/unit/requirements.txt -qq - - python -m pytest --cov --cov-append --no-cov-on-fail - environment: - PY_COLORS: 1 - depends_on: - - clone - - - name: python37-pytest - image: python:3.7 + - name: python38-pytest + image: python:3.8 commands: - pip install -r dev-requirements.txt -qq - pip install -r test/unit/requirements.txt -qq @@ -52,8 +41,8 @@ steps: depends_on: - clone - - name: python38-pytest - image: python:3.8 + - name: python39-pytest + image: python:3.9 commands: - pip install -r dev-requirements.txt -qq - pip install -r test/unit/requirements.txt -qq @@ -63,8 +52,8 @@ steps: depends_on: - clone - - name: python39-pytest - image: python:3.9 + - name: python310-pytest + image: python:3.10 commands: - pip install -r dev-requirements.txt -qq - pip install -r test/unit/requirements.txt -qq @@ -206,6 +195,6 @@ depends_on: --- kind: signature -hmac: caf424e7fa2ffcf45e2eebf15a840d2c8a256e4032d3cf8fb2a6f1cef59b42a4 +hmac: ab27526306385333095136e854eb03172f211ee4322181c63fd2b2d282e79c2e ...