Skip to content

Upgrade pywb to 2.11.0 and Werkzeug to 3.1.9 - #902

Open
santicomp2014 wants to merge 1 commit into
mainfrom
deps-pywb-werkzeug
Open

santicomp2014 wants to merge 1 commit into
mainfrom
deps-pywb-werkzeug

Conversation

@santicomp2014

@santicomp2014 santicomp2014 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Closes the 11 open Werkzeug Dependabot alerts in this repo (GHSA-g6x2-hccm-hh4m, fixed in Werkzeug 3.1.9).

Why pywb has to move too

pywb 2.10.1 pins werkzeug==3.1.7 exactly, so Werkzeug cannot be upgraded on its own. pywb 2.11.0 (released 2026-11-02) replaces that pin with werkzeug>=2.3.5.

What changes

  • pywb 2.10.1 to 2.11.0
  • werkzeug 3.1.7 to 3.1.9

Nothing else changes in requirements/*.txt. The files were recompiled with pip-compile on the pip version this repo pins (26.3), upgrading only these two packages.

What pywb 2.11.0 brings

This is a minor release of the library this service is built on, not only a pin change. From its release notes:

  • Frame requests are sent upstream with Sec-Fetch-Dest: document.
  • The Refresh header is rewritten, and immediate self-refreshes are skipped.
  • A new live_url_filter config option (off unless configured).
  • Index lookup and cache performance work, which applies to archive indexes rather than live proxying.
  • six is no longer a dependency of pywb, and the webassets pin is relaxed (we stay on 2.0).

pywb 2.11.0 still requires pyOpenSSL<26.2, so the cryptography cap does not change.

Testing

  • CI: lint, checkformatting, tests, coverage and functests all pass.
  • Locally, in a clean Python 3.11 container with requirements/tests.txt and requirements/functests.txt installed (pywb 2.11.0, Werkzeug 3.1.9 confirmed): 510 unit tests and 29 functional tests pass.

The tests cover our patches to pywb (viahtml/patch.py, the hooks). They do not exercise real sites, and this release changes how frames and Refresh headers are proxied, so it is worth a look on staging before production.

🤖 Generated with Claude Code

Werkzeug 3.1.9 fixes GHSA-g6x2-hccm-hh4m (safe_join() allows Windows special
device names). pywb 2.10.1 pins werkzeug==3.1.7 exactly, so Werkzeug cannot
move without pywb. pywb 2.11.0 replaces that pin with werkzeug>=2.3.5.

Recompiled with pip-compile on the pip the repo pins (26.3), upgrading only
these two packages. Nothing else changes in requirements/*.txt.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant