Skip to content

Bump werkzeug from 3.1.5 to 3.1.6#2

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/werkzeug-3.1.6
Closed

Bump werkzeug from 3.1.5 to 3.1.6#2
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/werkzeug-3.1.6

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 21, 2026

Bumps werkzeug from 3.1.5 to 3.1.6.

Release notes

Sourced from werkzeug's releases.

3.1.6

This is the Werkzeug 3.1.6 security fix release, which fixes a security issue but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.

PyPI: https://pypi.org/project/Werkzeug/3.1.6/ Changes: https://werkzeug.palletsprojects.com/page/changes/#version-3-1-6

  • safe_join on Windows does not allow special devices names in multi-segment paths. GHSA-29vq-49wr-vm6x
Changelog

Sourced from werkzeug's changelog.

Version 3.1.6

Released 2026-02-19

  • safe_join on Windows does not allow special devices names in multi-segment paths. :ghsa:29vq-49wr-vm6x
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-version: 3.1.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Feb 21, 2026
rustyconover added a commit that referenced this pull request Feb 21, 2026
Addresses Dependabot alert #2 (moderate): Werkzeug safe_join() allows
Windows special device names in versions < 3.1.6.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Feb 21, 2026

Looks like werkzeug is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Feb 21, 2026
@dependabot dependabot Bot deleted the dependabot/uv/werkzeug-3.1.6 branch February 21, 2026 14:50
rustyconover added a commit that referenced this pull request Apr 28, 2026
Three related cleanups, finishing the symmetry between init and
exchange paths and between producer and exchange shapes.

#1: producer continuations now populate the access log's response_state.
``_run_http_producer_turn`` is refactored to take an ``outcome:
_DispatchOutcome`` parameter and mutate it directly (matching
``_run_http_exchange_turn``'s pattern), instead of returning a
``(buf, error_type, error_message)`` tuple that the caller bridged
into outcome by hand.  When the loop mints a continuation token it now
sets ``outcome.response_state_bytes = state_bytes`` — closing a real
telemetry gap where producer-continuation access-log records were
missing the issued state's bytes.

#3: drop the auth/transport_metadata contextvar fallback inside
``_run_http_producer_turn``.  Both call sites now pass them
explicitly; the helper signature requires ``auth: AuthContext`` and
``transport_metadata: Mapping[str, Any]`` (no defaults, no fallback).
Removes one redundant ``_get_auth_and_metadata()`` call per producer
continuation and matches the explicit-parameter pattern we already
established for ``stream_id``.

#2: split the init dispatcher's producer/exchange branches into
``_run_http_producer_init`` and ``_run_http_exchange_init``, mirroring
``_run_http_producer_turn`` / ``_run_http_exchange_turn`` on the
exchange-sync side.  ``_run_stream_init_sync`` is now a thin router:

    _run_stream_init_sync
    ├─ result.input_schema == _EMPTY_SCHEMA  → _run_http_producer_init
    └─ else                                  → _run_http_exchange_init

Each helper owns its own header-write + body-shape logic; the
dispatcher is just request validation, ctx injection, stream_id
generation, and the telemetry shell wrapping the impl call.

Verification:

* ruff format / ruff check / mypy / ty: clean.
* HTTP conformance against regular worker: 97 pass / 4 skip.
* HTTP conformance against strict-cap worker: 99 pass / 2 skip.
* Full pytest: 2986 passed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants