Skip to content

[3.9.25.1] Upgrade bundled pip to 26.0.1.post3 (vendored urllib3 1.26.20.post4) - #112

Merged
icanhasmath merged 1 commit into
3.9.25.xfrom
3.9.25.1-pip-26.0.1.post3
Oct 28, 2026
Merged

icanhasmath merged 1 commit into
3.9.25.xfrom
3.9.25.1-pip-26.0.1.post3

Conversation

@icanhasmath

Copy link
Copy Markdown

Follow-up to #109 for 3.9.25.1. It moves ensurepip's bundled pip from 26.0.1.post2 to ActiveState pip 26.0.1.post3, the same pip #110 now bundles for 3.10. Linear PROD-1555.

Why

The review of #110 pointed out that pip 26.0.1.post2 still vendored an unpatched urllib3 1.26.20. pip 26.0.1.post3 (ActiveState/pip#15) vendors ActiveState urllib3 1.26.20.post4 instead, which fixes CVE-2025-50181, CVE-2025-66418, CVE-2025-66471, CVE-2026-21441, CVE-2026-44431, CVE-2026-97687 and CVE-2026-97689. It also carries the requests 2.33.0 fix for CVE-2026-25645. Everything else matches 26.0.1.post2, including certifi 2026.10.23.

Change

  • pip-26.0.1.post3-py3-none-any.whl replaces 26.0.1.post2. It's the release asset, sha256 be55af8f…e1d0.
  • _PIP_VERSION is set to "26.0.1.post3".
  • The NEWS entry and What's New are updated to match.

Testing (Linux x86_64, our 3.9.25.1 build with this branch's ensurepip)

  • test_ensurepip passes.
  • Fresh venv: in a --without-pip venv, ensurepip --upgrade installs pip 26.0.1.post3 and setuptools 82.0.1.post1.
  • Vendored packages: urllib3 1.26.20 (the fork), requests 2.32.5 and certifi 2026.10.23, where emSign Root CA - G1 is the only emSign root. There's no RequestsDependencyWarning under -W error.
  • Network: pip download six==1.16.0 from PyPI works.

ensurepip now bundles ActiveState pip 26.0.1.post3 instead of
26.0.1.post2:
https://github.com/ActiveState/pip/releases/tag/26.0.1.post3

It is 26.0.1.post2 (certifi 2026.10.23) plus ActiveState urllib3
1.26.20.post4 as its vendored urllib3, fixing CVE-2025-50181,
CVE-2025-66418, CVE-2025-66471, CVE-2026-21441, CVE-2026-44431,
CVE-2026-97687 and CVE-2026-97689 (raised in the review of #110: the
vendored urllib3 1.26.20 in 26.0.1.post2 had them open), and the
requests 2.33.0 fix for CVE-2026-25645.  The NEWS entry and What's New
are updated to match.

Wheel sha256 be55af8fd6e6afe2728f7539eae1ebe00e64264922f740aedfea619847a6e1d0,
matching the release notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@ezequielp-activestate ezequielp-activestate 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.

No blockers. The bundled pip-26.0.1.post3-py3-none-any.whl is byte-identical to the ActiveState pip 26.0.1.post3 release asset (sha256 be55af8f…), and the previous wheel is removed. That release was built from the 26.0.1.post3 tag, whose tree is the reviewed head of ActiveState/pip#15: the wheel's pip/ matches the tag's src/pip apart from the six _vendor/*.pyi stubs, which wheels leave out. _PIP_VERSION is 26.0.1.post3. In a Python 3.9 venv, python -m ensurepip from this tree installs pip 26.0.1.post3 and setuptools 82.0.1.post1, with vendored certifi 2026.10.23 and the patched urllib3 fork (max_decode_links present). What's New and the NEWS entry describe both.

@icanhasmath
icanhasmath merged commit e0adfb0 into 3.9.25.x Oct 28, 2026
20 of 22 checks passed
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