BREAKING CHANGE: drop support for python 3.6 and 3.7
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Robert Kaussow 2021-12-06 16:42:26 +01:00
parent 22e6546396
commit d1f6175719
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 16 additions and 28 deletions

View File

@ -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',

View File

@ -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,28 +30,6 @@ 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
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: python38-pytest
image: python:3.8
commands:
@ -74,6 +52,17 @@ steps:
depends_on:
- clone
- name: python310-pytest
image: python:3.10
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
trigger:
ref:
- refs/heads/master
@ -206,6 +195,6 @@ depends_on:
---
kind: signature
hmac: caf424e7fa2ffcf45e2eebf15a840d2c8a256e4032d3cf8fb2a6f1cef59b42a4
hmac: ab27526306385333095136e854eb03172f211ee4322181c63fd2b2d282e79c2e
...