From 73b955c09110d6eb8b32221c884628601a05d893 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Wed, 19 Jul 2023 14:28:21 +0200 Subject: [PATCH] feat: drop support for python3.7 (#270) --- .pre-commit-config.yaml | 2 +- README.md | 2 +- changelogs/fragments/drop-support-for-python-3.7.yml | 2 ++ tests/config.yml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 changelogs/fragments/drop-support-for-python-3.7.yml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9ef2999..1599492 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: rev: v3.9.0 hooks: - id: pyupgrade - args: [--py37-plus] + args: [--py38-plus] - repo: https://github.com/pycqa/isort rev: 5.12.0 diff --git a/README.md b/README.md index 0f0deb9..963eeba 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Ansible Hetzner Cloud Collection for controlling your Hetzner Cloud Resources. ### Python version compatibility -This collection depends on the [hcloud](https://github.com/hetznercloud/hcloud-python) library. Due to the [hcloud](https://github.com/hetznercloud/hcloud-python) Python Support Policy this collection requires Python 3.7 or greater. +This collection depends on the [hcloud](https://github.com/hetznercloud/hcloud-python) library. Due to the [hcloud](https://github.com/hetznercloud/hcloud-python) Python Support Policy this collection requires Python 3.8 or greater. ## Release notes diff --git a/changelogs/fragments/drop-support-for-python-3.7.yml b/changelogs/fragments/drop-support-for-python-3.7.yml new file mode 100644 index 0000000..94f9298 --- /dev/null +++ b/changelogs/fragments/drop-support-for-python-3.7.yml @@ -0,0 +1,2 @@ +breaking_changes: + - Drop support for python 3.7 diff --git a/tests/config.yml b/tests/config.yml index 7822854..340add1 100644 --- a/tests/config.yml +++ b/tests/config.yml @@ -1,3 +1,3 @@ --- modules: - python_requires: ">=3.7" + python_requires: ">=3.8"