From 65b09d6f53eb3c3ec982948dd3b14d521a8c42ae Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Fri, 15 Aug 2025 16:34:33 -0400 Subject: [PATCH] Pin local Python version to lowest supported Just helps to ensure when developing that we're targeting the lowest supported version, otherwise it'll only be caught in CI. --- .python-version | 1 + pyproject.toml | 1 + 2 files changed, 2 insertions(+) create mode 100644 .python-version diff --git a/.python-version b/.python-version new file mode 100644 index 00000000..bd28b9c5 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/pyproject.toml b/pyproject.toml index 64b1c83c..b838dcd8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,7 @@ readme = "README.md" license = "Apache-2.0" license-files = ["LICENSE"] keywords = ["validate", "protobuf", "protocol buffer"] +# Keep our minimum version synced with ./.python-version. requires-python = ">=3.9" classifiers = [ "Programming Language :: Python :: 3.9",