Skip to content

Commit

Permalink
chore: drop support for python 3.7 (#441)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The support for Python 3.7 was removed.
  • Loading branch information
xoxys authored Jul 23, 2023
1 parent 8b99e80 commit c6b1734
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 210 deletions.
4 changes: 1 addition & 3 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local PythonVersion(pyversion='3.7') = {
local PythonVersion(pyversion='3.8') = {
name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest',
image: 'python:' + pyversion,
environment: {
Expand Down Expand Up @@ -71,7 +71,6 @@ local PipelineTest = {
'git fetch -tq',
],
},
PythonVersion(pyversion='3.7'),
PythonVersion(pyversion='3.8'),
PythonVersion(pyversion='3.9'),
PythonVersion(pyversion='3.10'),
Expand All @@ -86,7 +85,6 @@ local PipelineTest = {
'codecov --nonZero',
],
depends_on: [
'python37-pytest',
'python38-pytest',
'python39-pytest',
'python310-pytest',
Expand Down
16 changes: 1 addition & 15 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,6 @@ steps:
commands:
- git fetch -tq

- name: python37-pytest
image: python:3.7
commands:
- pip install poetry poetry-dynamic-versioning -qq
- poetry install
- poetry run pytest --cov-append
- poetry version
- poetry run prometheus-pve-sd --help
environment:
PY_COLORS: 1
depends_on:
- fetch

- name: python38-pytest
image: python:3.8
commands:
Expand Down Expand Up @@ -120,7 +107,6 @@ steps:
CODECOV_TOKEN:
from_secret: codecov_token
depends_on:
- python37-pytest
- python38-pytest
- python39-pytest
- python310-pytest
Expand Down Expand Up @@ -440,6 +426,6 @@ depends_on:

---
kind: signature
hmac: 950f00a56e8c3e4a09a1d870e158f3b617662500627c51bc9851309293152f89
hmac: 8ad7bcb9f0d72c5c875078d46d6bcc5dd868db3a89c2482c683d46f81521ed73

...
Empty file added docs/.drone.yml
Empty file.
Loading

0 comments on commit c6b1734

Please sign in to comment.