From 0c45b8aff70f795d3634cdc3baecac450ddc2953 Mon Sep 17 00:00:00 2001 From: Alexis Date: Mon, 29 Jul 2024 14:51:51 +0200 Subject: [PATCH] Upgrade minimum Python version --- .github/workflows/tests.yml | 2 -- CHANGELOG.md | 5 +++++ pyproject.toml | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 70ae659..0760232 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,8 +11,6 @@ jobs: strategy: matrix: python: - - "3.9" - - "3.10" - "3.11" - "3.12" runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index 4638930..7e0c70d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- The minimum Python version required has been bumped to `3.11` + ([#37](https://github.com/trailofbits/pypi-attestations/pull/37)) + ## [0.0.9] ### Added diff --git a/pyproject.toml b/pyproject.toml index f1f2af3..893465b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ dependencies = [ "sigstore~=3.0.0", "sigstore-protobuf-specs", ] -requires-python = ">=3.9" +requires-python = ">=3.11" [project.optional-dependencies] doc = ["pdoc"] @@ -75,7 +75,7 @@ warn_unused_ignores = true [tool.ruff] line-length = 100 -target-version = "py39" +target-version = "py311" [tool.ruff.lint] select = ["E", "F", "I", "W", "UP", "ANN", "D", "COM", "ISC", "TCH", "SLF"]