Skip to content

Commit 793d9d6

Browse files
leliaclaude
andcommitted
Fix static project version and use a Python 3.9-compatible hatchling
The [project] version in pyproject.toml is static ([tool.hatch.version] is only consulted when version is declared dynamic), so bumping version.py alone left the packaging metadata and uv.lock at 3.4.2. Set the static version to 3.5.0 to match. Pin hatchling to 1.27.0 instead of 1.31.0: 1.28+ requires Python 3.10, while this package's requires-python still includes 3.9, so the newer pin would break sdist builds on 3.9. Addresses PR#103 review findings. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: lelia <2418071+lelia@users.noreply.github.com>
1 parent 934d491 commit 793d9d6

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
[build-system]
2-
requires = ["hatchling==1.31.0"]
2+
# 1.27.0 is the newest hatchling that supports Python 3.9, which this
3+
# package's requires-python still includes.
4+
requires = ["hatchling==1.27.0"]
35
build-backend = "hatchling.build"
46

57
[project]
68
name = "socketdev"
7-
version = "3.4.2"
9+
version = "3.5.0"
810
requires-python = ">= 3.9"
911
dependencies = [
1012
'requests>=2.32.5,<3',

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)