BREAKING CHANGE: drop Python 3.5 support

This commit is contained in:
Robert Kaussow 2020-12-28 16:28:23 +01:00
parent a2043d6c0f
commit e36d4f112d
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 3 additions and 21 deletions

View File

@ -1,4 +1,4 @@
local PythonVersion(pyversion='3.5') = { local PythonVersion(pyversion='3.6') = {
name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest', name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest',
image: 'python:' + pyversion, image: 'python:' + pyversion,
environment: { environment: {
@ -60,7 +60,6 @@ local PipelineTest = {
'git fetch -tq', 'git fetch -tq',
], ],
}, },
PythonVersion(pyversion='3.5'),
PythonVersion(pyversion='3.6'), PythonVersion(pyversion='3.6'),
PythonVersion(pyversion='3.7'), PythonVersion(pyversion='3.7'),
PythonVersion(pyversion='3.8'), PythonVersion(pyversion='3.8'),
@ -77,10 +76,10 @@ local PipelineTest = {
'codecov --required -X gcov', 'codecov --required -X gcov',
], ],
depends_on: [ depends_on: [
'python35-pytest',
'python36-pytest', 'python36-pytest',
'python37-pytest', 'python37-pytest',
'python38-pytest', 'python38-pytest',
'python39-pytest',
], ],
}, },
], ],

View File

@ -40,19 +40,6 @@ steps:
commands: commands:
- git fetch -tq - 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 - name: python36-pytest
image: python:3.6 image: python:3.6
commands: commands:
@ -115,10 +102,10 @@ steps:
from_secret: codecov_token from_secret: codecov_token
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
- python35-pytest
- python36-pytest - python36-pytest
- python37-pytest - python37-pytest
- python38-pytest - python38-pytest
- python39-pytest
image_pull_secrets: image_pull_secrets:
- docker_config - docker_config
@ -677,8 +664,4 @@ trigger:
depends_on: depends_on:
- docs - docs
---
kind: signature
hmac: e4769957c0f74e3e94d504d92b80cb32e181d06eab5730b8b61a8aa65fcc8c87
... ...