Skip to content

Release v3.6.1: patched certifi, uv and virtualenv; require certifi>=2026.10.19 - #120

Merged
lelia merged 2 commits into
mainfrom
lelia/crit-vulsn-3.6.1-release
Oct 21, 2026
Merged

lelia merged 2 commits into
mainfrom
lelia/crit-vulsn-3.6.1-release

Conversation

@lelia

@lelia lelia commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Release PR for 3.6.1. It ships the Dependabot security bumps merged since 3.6.0, which fix critical vulnerabilities in certifi, uv and virtualenv:

Package 3.6.0 lock 3.6.1 lock PR
certifi 2025.11.12 2026.10.19 #117
uv 0.11.17 0.13.4 #116
virtualenv 20.36.1 21.14.7 #112, #118

Changes

  • Bumped socketdev/version.py to 3.6.1.
  • Added a CHANGELOG.md entry covering the security bumps, the Python 3.10 floor from fix: update security dependencies for Python 3.10+ #112, the requests>=2.33.0 floor, and the build tooling maintenance.
  • Requires certifi>=2026.10.19. requests takes its CA bundle from certifi, and socketdev didn't constrain it, so pip could leave consumers on a bundle that trusts the compromised eMudhra intermediate CAs. It's a floor rather than an exact pin, so later trust-store fixes still reach them. The built wheel now lists Requires-Dist: certifi>=2026.10.19.
  • Synced the release build toolchain pins. .github/actions/setup-hatch (used by release.yml, package-check.yml and pr-preview.yml) still installed virtualenv==21.7.13 and hatchling==1.32.0. Dependabot updates uv.lock but not the pip pins inside composite-action shell steps. Both pins now match the lock and [build-system] (virtualenv==21.14.7, hatchling==1.32.4), so the published artifacts are built with the patched virtualenv.

Notes for reviewers

Testing

  • Built the sdist and wheel locally with hatch==1.18.1, hatchling==1.32.4 and virtualenv==21.14.7 (the new setup-hatch toolchain). twine check passes for both.
  • uv lock --check is clean.
  • Rebuilt after adding the certifi floor: the wheel's metadata requires certifi>=2026.10.19, and twine check passes. The integration tests need SOCKET_SECURITY_API_KEY and SOCKET_ORG_SLUG, so they were skipped locally.
  • Unit tests: 150 passed, 1 skipped.

Public Changelog

Security release: picks up patched certifi, uv and virtualenv versions and requires Python 3.10 or newer. See CHANGELOG.md for details.


Note

Medium Risk
Raises minimum Python and adds certifi/requests floors that affect all consumers; changes are intentional security fixes with a documented Python 3.9 pin to 3.6.0.

Overview
3.6.1 is a security-focused release that bumps the package version and documents dependency fixes in CHANGELOG.md.

For installers, the PR tightens runtime constraints: requires-python is now >=3.10, requests floor is >=2.33.0, and certifi>=2026.10.19 is added as a direct dependency so pip pulls a CA bundle that no longer trusts the compromised eMudhra intermediates used by requests. uv.lock is refreshed for dev/CI (including certifi, uv, and virtualenv security updates).

Release builds align with the lockfile: .github/actions/setup-hatch now installs hatchling==1.32.4 and virtualenv==21.14.7 (matching pyproject.toml [build-system]), so wheels/sdists published from release.yml / package-check.yml / pr-preview.yml use the patched toolchain.

Reviewed by Cursor Bugbot for commit a9f1ad6. Configure here.

Cut a release that ships the Dependabot security bumps merged since 3.6.0
(#112, #116, #117, #118, #119).

The release build toolchain in setup-hatch still pinned virtualenv 21.7.13
and hatchling 1.32.0, because Dependabot updates uv.lock but not the pip
pins inside the composite action. Sync them to the locked virtualenv
21.14.7 and the [build-system] hatchling 1.32.4 so published artifacts are
built with the patched versions.
@lelia
lelia requested a review from a team as a code owner October 21, 2026 20:57
@lelia

lelia commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

requests takes its CA bundle from certifi, and socketdev didn't constrain
it, so pip could leave consumers on a bundle that trusts the compromised
eMudhra intermediate CAs. A floor rather than an exact pin, so later
trust-store fixes still reach them.
@lelia lelia changed the title Release 3.6.1: patched certifi, uv and virtualenv Release 3.6.1: patched certifi, uv and virtualenv; require certifi>=2026.10.19 Oct 21, 2026
@lelia
lelia deployed to socket-firewall October 21, 2026 21:18 — with GitHub Actions Active
@lelia lelia changed the title Release 3.6.1: patched certifi, uv and virtualenv; require certifi>=2026.10.19 Release v3.6.1: patched certifi, uv and virtualenv; require certifi>=2026.10.19 Oct 21, 2026
@lelia

lelia commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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 a9f1ad6. Configure here.

@lelia
lelia merged commit 234bc15 into main Oct 21, 2026
16 checks passed
@lelia
lelia deleted the lelia/crit-vulsn-3.6.1-release branch October 21, 2026 21:27
@lelia lelia mentioned this pull request Oct 21, 2026
7 tasks done

This branch was successfully deployed

1 active deployment
socket-firewall — a9f1ad6d Deployed Oct 21, 2026 by lelia via python-sfw-smoke-enterprise #111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants