BREAKING CHANGE: drop Python 3.7 support (#269)

This commit is contained in:
Robert Kaussow 2021-11-16 09:36:24 +01:00 committed by GitHub
parent ceaae5c429
commit d8040cefc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 21 deletions

View File

@ -1,4 +1,4 @@
local PythonVersion(pyversion='3.7') = { local PythonVersion(pyversion='3.8') = {
name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest', name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest',
image: 'python:' + pyversion, image: 'python:' + pyversion,
environment: { environment: {
@ -73,7 +73,6 @@ local PipelineTest = {
'git fetch -tq', 'git fetch -tq',
], ],
}, },
PythonVersion(pyversion='3.7'),
PythonVersion(pyversion='3.8'), PythonVersion(pyversion='3.8'),
PythonVersion(pyversion='3.9'), PythonVersion(pyversion='3.9'),
PythonVersion(pyversion='3.10'), PythonVersion(pyversion='3.10'),
@ -89,7 +88,6 @@ local PipelineTest = {
'codecov --required -X gcov', 'codecov --required -X gcov',
], ],
depends_on: [ depends_on: [
'python37-pytest',
'python38-pytest', 'python38-pytest',
'python39-pytest', 'python39-pytest',
'python310-pytest', 'python310-pytest',

View File

@ -48,20 +48,6 @@ steps:
commands: commands:
- git fetch -tq - git fetch -tq
- name: python37-pytest
image: python:3.7
commands:
- pip install poetry poetry-dynamic-versioning -qq
- poetry config experimental.new-installer false
- poetry install -E ansible-core
- poetry run pytest
- poetry version
- poetry run ansible-later --help
environment:
PY_COLORS: 1
depends_on:
- fetch
- name: python38-pytest - name: python38-pytest
image: python:3.8 image: python:3.8
commands: commands:
@ -114,7 +100,6 @@ steps:
from_secret: codecov_token from_secret: codecov_token
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
- python37-pytest
- python38-pytest - python38-pytest
- python39-pytest - python39-pytest
- python310-pytest - python310-pytest
@ -647,6 +632,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 978f8129485afdd50c04d9cf48b9cb7835ea4152d4688004d887827260fc7426 hmac: bf3bbc73a313b1d3423820f0af6b8dea03eda6057b3a6d086924bf53e31aae4d
... ...

View File

@ -10,7 +10,6 @@ classifiers = [
"Natural Language :: English", "Natural Language :: English",
"Operating System :: POSIX", "Operating System :: POSIX",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
@ -44,7 +43,7 @@ flake8 = "4.0.1"
jsonschema = "4.2.1" jsonschema = "4.2.1"
nested-lookup = "0.2.23" nested-lookup = "0.2.23"
pathspec = "0.9.0" pathspec = "0.9.0"
python = "^3.7.0" python = "^3.8.0"
python-json-logger = "2.0.2" python-json-logger = "2.0.2"
toolz = "0.11.2" toolz = "0.11.2"
unidiff = "0.7.0" unidiff = "0.7.0"