From d8040cefc1a32787ccf12786ce243c05492b6679 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 16 Nov 2021 09:36:24 +0100 Subject: [PATCH] BREAKING CHANGE: drop Python 3.7 support (#269) --- .drone.jsonnet | 4 +--- .drone.yml | 17 +---------------- pyproject.toml | 3 +-- 3 files changed, 3 insertions(+), 21 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index a699aa0..aedd4ae 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -1,4 +1,4 @@ -local PythonVersion(pyversion='3.7') = { +local PythonVersion(pyversion='3.8') = { name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest', image: 'python:' + pyversion, environment: { @@ -73,7 +73,6 @@ local PipelineTest = { 'git fetch -tq', ], }, - PythonVersion(pyversion='3.7'), PythonVersion(pyversion='3.8'), PythonVersion(pyversion='3.9'), PythonVersion(pyversion='3.10'), @@ -89,7 +88,6 @@ local PipelineTest = { 'codecov --required -X gcov', ], depends_on: [ - 'python37-pytest', 'python38-pytest', 'python39-pytest', 'python310-pytest', diff --git a/.drone.yml b/.drone.yml index 3b992fc..7038d77 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,20 +48,6 @@ steps: commands: - 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 image: python:3.8 commands: @@ -114,7 +100,6 @@ steps: from_secret: codecov_token PY_COLORS: 1 depends_on: - - python37-pytest - python38-pytest - python39-pytest - python310-pytest @@ -647,6 +632,6 @@ depends_on: --- kind: signature -hmac: 978f8129485afdd50c04d9cf48b9cb7835ea4152d4688004d887827260fc7426 +hmac: bf3bbc73a313b1d3423820f0af6b8dea03eda6057b3a6d086924bf53e31aae4d ... diff --git a/pyproject.toml b/pyproject.toml index 92f52f4..733e4ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,6 @@ classifiers = [ "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -44,7 +43,7 @@ flake8 = "4.0.1" jsonschema = "4.2.1" nested-lookup = "0.2.23" pathspec = "0.9.0" -python = "^3.7.0" +python = "^3.8.0" python-json-logger = "2.0.2" toolz = "0.11.2" unidiff = "0.7.0"