Repository navigation
Conversation
filelock 4.2.1 and later need Python 3.11, so the lockfile could not take the patched release while the SDK still supported 3.10. Python 3.10 reached end of life in October 2026. Raise requires-python to 3.11, drop the 3.10 classifier, correct the contributor setup instructions, and upgrade filelock to 4.3.3. The lock also drops exceptiongroup, which only 3.10 needed. filelock comes in through the dev extra alone, so installed packages are unaffected. Bump the version to 3.7.0, since dropping a Python version is a minor release.
|
bugbot run |
PR SummaryMedium Risk Overview The dev lockfile upgrades Reviewed by Cursor Bugbot for commit 3cae5b6. Configure here. |
>=3.11 and patch filelock in the dev lockfile
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 3cae5b6. Configure here.
The dev extra installed hatch only so contributors could run `hatch build`. hatch depends on virtualenv, which brings in filelock and python-discovery, so every filelock advisory landed on this lockfile even though the SDK never imports it. CI installs its own hatch through the setup-hatch action and does not use the extra. `python -m build` calls the same hatchling backend declared in build-system and isolates the build with the standard library venv module, so the dev extra no longer needs virtualenv. hatchling leaves the extra too, since build tools fetch it from build-system.requires.
>=3.11 and patch filelock in the dev lockfile|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Summary
socketdev<3.7pin for projects that still run on 3.10.buildin thedevextra and documentpython -m build. Hatchling remains the build backend. This removesvirtualenv,python-discovery, andfilelockfrom the development lockfile.package-checkstatus depends on both jobs, and the 3.12 job uploads the distributions.The release and preview workflows continue to use their separately installed Hatch tooling. If #129 adds
pre-committo the development extra, it will bringvirtualenvback into the lockfile. Installingpre-commitas a standalone tool keeps its dependencies outside the project environment.Validation
python -m buildproduced the sdist and wheel, Twine validated both artifacts, and the wheel imported from a fresh environment.uv lock --checkandactionlintpassed.Refs CE-503