Skip to content

Commit 0aedc8c

Browse files
Pin local Python version to lowest supported (#351)
Just helps to ensure when developing that we're targeting the lowest supported version, otherwise it'll only be caught in CI. Ref: https://docs.astral.sh/uv/concepts/python-versions/#python-version-files
1 parent c50a40f commit 0aedc8c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.9

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ readme = "README.md"
99
license = "Apache-2.0"
1010
license-files = ["LICENSE"]
1111
keywords = ["validate", "protobuf", "protocol buffer"]
12+
# Keep our minimum version synced with ./.python-version.
1213
requires-python = ">=3.9"
1314
classifiers = [
1415
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)