Skip to content

fix: upgrade certifi to 2026.10.19 and pip to 26.2.2 (eMudhra CA removal) - #2

Merged
vgulati-apphelix merged 1 commit into
masterfrom
vgulati/LP-1401
Oct 26, 2026
Merged

vgulati-apphelix merged 1 commit into
masterfrom
vgulati/LP-1401

Conversation

@vgulati-apphelix

Copy link
Copy Markdown
Member

Description

Security fix for the eMudhra / emSign CA incident (GHSA-6q48-6c7w-9gw2). certifi 2026.10.19 removes the compromised emSign root; pip ships its own certifi, so it needs 26.2.2 too.

  • certifi → 2026.10.19
  • pip → 26.2.2
  • pip-tools → 7.6.2 (older versions crash with pip 26.2.x)

Note: the repo's Dockerfile (ubuntu:xenial, Python 2.7) can't install these Python 3.12 requirements, before or after this change, so it isn't how the service is built. Whatever image is actually deployed needs a rebuild after merge.

Supporting information

Testing

  • Fresh venv: pip.txt → pip-tools → dev/test requirements installs cleanly, pip check clean (pip 26.2.2, pip-tools 7.6.2, certifi 2026.10.19)
  • production.txt installs with certifi 2026.10.19
  • pytest tests: 24 passed, 1 failed. The failure (test_jailed_grader::test_correct, codejail sandbox) also fails on master; unrelated to this PR.

🤖 Generated with Claude Code

…val)

The emSign root CA is removed from certifi 2026.10.19 after the eMudhra
security incident (GHSA-6q48-6c7w-9gw2). pip vendors its own certifi, so
pip must be upgraded to 26.2.2 as well. pip-tools is bumped to 7.6.2,
the first release that works with pip 26.2.x.

Ticket: LP-1401

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 22, 2026 15:36

Copilot AI 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.

🟢 Approval recommended

The dependency updates are narrowly scoped and consistent across requirement sets, with no unresolved blocking findings.

No open issues 🎉

What changed in this PR

Updates certificate trust dependencies to address the eMudhra / emSign CA incident, keeping application requirements and packaging tools aligned.

Changes:

  • Bumps certifi to 2026.10.19 across base, production, test, and CI requirements.
  • Bumps pip to 26.2.2 for its updated bundled certificate store.
  • Bumps pip-tools to 7.6.2 for compatibility with pip 26.2.x.

The deployed image needs a rebuild after merge to apply these updates.

File Description
requirements/​test.txt Updates the test certifi pin.
requirements/​production.txt Updates the production certifi pin.
requirements/​pip.txt Updates pip to 26.2.2.
requirements/​pip_tools.txt Updates pip-tools for pip compatibility.
requirements/​ci.txt Updates the CI certifi pin.
requirements/​base.txt Updates the base certifi pin.

Review effort: Balanced

@vgulati-apphelix
vgulati-apphelix merged commit 9bd7925 into master Oct 26, 2026
5 checks passed
@vgulati-apphelix
vgulati-apphelix deleted the vgulati/LP-1401 branch October 26, 2026 02:46
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.

3 participants