From 8e78b07636d75365dea17c05f0a85730fe64595e Mon Sep 17 00:00:00 2001 From: jo Date: Wed, 12 Jul 2023 21:02:54 +0200 Subject: [PATCH] feat: drop support for python3.7 --- .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 9ef29992..1599492f 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 0f0deb9f..963eebaa 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 00000000..94f9298b --- /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 78228547..340add1a 100644 --- a/tests/config.yml +++ b/tests/config.yml @@ -1,3 +1,3 @@ --- modules: - python_requires: ">=3.7" + python_requires: ">=3.8"