Skip to content

Commit 08d7cbd

Browse files
leliaclaude
andcommitted
Bound runtime dependency ranges and pin build backend
Add version bounds to the runtime dependencies: requests was fully unbounded and typing-extensions had no upper bound, so a fresh install could resolve either to any just-published release. As a library, socketdev declares bounded ranges rather than exact pins - exact pins in package metadata would conflict with consumers that pin their own dependencies, including socket-python-cli, which pins its entire runtime closure (socketsecurity 2.5.10+) and relies on this package's ranges staying compatible. Floors match the versions already resolved and tested in uv.lock; ceilings exclude the next major. Also pins the hatchling build backend used for sdist builds. Dependabot (uv ecosystem, 7-day cooldown) already keeps the lockfile fresh within these bounds. Companion to the socket-python-cli dependency pinning work (CE-359). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: lelia <2418071+lelia@users.noreply.github.com>
1 parent 8ad17ae commit 08d7cbd

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[build-system]
2-
requires = ["hatchling"]
2+
requires = ["hatchling==1.31.0"]
33
build-backend = "hatchling.build"
44

55
[project]
66
name = "socketdev"
77
version = "3.4.2"
88
requires-python = ">= 3.9"
99
dependencies = [
10-
'requests',
11-
'typing-extensions>=4.12.2'
10+
'requests>=2.32.5,<3',
11+
'typing-extensions>=4.12.2,<5'
1212
]
1313
readme = "README.rst"
1414
license = {file = "LICENSE"}

socketdev/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.4.2"
1+
__version__ = "3.4.3"

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)