Skip to content

build(deps): patch urllib3 in remaining comparison locks - #126

Merged
stefan-jansen merged 6 commits into
mainfrom
dependabot/uv/validation/environments/lean/urllib3-2.8.0
Oct 15, 2026
Merged

stefan-jansen merged 6 commits into
mainfrom
dependabot/uv/validation/environments/lean/urllib3-2.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Outcome

Patch urllib3 to 2.8.0 in the remaining LEAN, VectorBT OSS, current VectorBT Pro and historical VectorBT Pro comparison locks. Preserve the exact framework builds and their source or engine-image identities.

This addresses the published urllib3 streaming and proxy-TLS advisories, including GHSA-vxq7-64xx-v4gw and GHSA-8988-9cw3-xx77. These upstream advisories identify 2.8.0 as patched. The root and Zipline locks were already repaired separately.

Required historical lock repair

The 2025.12.31 VectorBT Pro lock still selected Specs 0.1.3 although Backtest now requires >=0.1.4. The real command below failed on 6ace8de034176ff77e9113ad75493ce29eb95819 with a stale-lock error:

uv sync --project validation/environments/vectorbt_pro_2025_12_31 --locked --no-dev

The lock was regenerated with uv to compatible Specs 0.1.5. Its VectorBT Pro source stays at 1305a1e1974325db9382eaeacc6452e9b075ca71. The locked install now succeeds, and an actual one-order portfolio ends at the independently expected equity of 101 from starting cash 100 and prices 1 then 2.

Verification

  • Original LEAN update 1a4bc1d5ce09aded26478be8ec269f7001306d20: verified locked CLI 1.0.228 and immutable engine image; all 13 native behavior checks and three retained case-study comparisons passed.
  • Additional lock repair branch 32cb4398f37ebac9feff94789e7ac95b4f848701: actual locked installs and imports verified urllib3 2.8.0, preserved exact framework identities, and passed both current VectorBT native behavior checks, 17 checks each.
  • Historical pinned VectorBT Pro 2025.12.31 locked install and Portfolio.from_orders check passed.
  • Nine actual Python 3.12 platform-resolution contexts passed; package versions are unchanged except urllib3 and the necessary historical Specs repair.
  • New wheel/sdist artifact hashes were checked against official PyPI metadata.
  • All hooks and diff checks passed.

Selected head 5d5ecb82d235cf8754b8b6046944cde899d015a5, based on main 6b53fbe017cdd57da7b8bb018be01982e30b8b76: all four locks pass uv lock --check, all hooks pass, and 14 support-policy/environment-builder tests pass. Final exact-head supported hosted CI and package checks are pending and must pass before ordinary merge. The numerical engine and timed runner source are unchanged by these lock updates. Previously measured reports retain their real generating revisions and environments; no new timing or parity claim is made from this dependency update.

Scope and AI assistance

This reuses the existing dependency PR for the same urllib3 security repair. Automated dependency updates retain the owning-issue exception. Codex reviewed the original update, reproduced the historical locked-install defect, generated the additional locks with uv, ran the recorded native and dependency checks, and drafted this description. No independent human review is asserted.

No release, tag, PyPI publication or deployment is part of this PR.

@dependabot dependabot Bot added dependencies Dependency updates python:uv Pull requests that update python:uv code labels Oct 7, 2026
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.7.0...2.8.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.8.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/validation/environments/lean/urllib3-2.8.0 branch from 0c156bf to 1a4bc1d Compare October 8, 2026 21:09
@stefan-jansen stefan-jansen changed the title build(deps): bump urllib3 from 2.7.0 to 2.8.0 in /validation/environments/lean build(deps): patch urllib3 in remaining comparison locks Oct 15, 2026
@stefan-jansen
stefan-jansen merged commit 3bef08e into main Oct 15, 2026
43 checks passed
@stefan-jansen
stefan-jansen deleted the dependabot/uv/validation/environments/lean/urllib3-2.8.0 branch October 15, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant