Update werkzeug requirement from <3.1 to <3.2 by dependabot[bot] · Pull Request #1050 · encode/httpcore
Updates the requirements on werkzeug to permit the latest version.
Release notes
Sourced from werkzeug's releases.
3.1.4
This is the Werkzeug 3.1.4 fix release, which fixes bugs 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.4/ Changes: https://werkzeug.palletsprojects.com/page/changes/#version-3-1-4 Milestone: https://github.com/pallets/werkzeug/milestone/42?closed=1
safe_joinon Windows does not allow special device names. This prevents reading from these when usingsend_from_directory.secure_filenamealready prevented writing to these. ghsa-hgf8-39gv-g3f2- The debugger pin fails after 10 attempts instead of 11. #3020
- The multipart form parser handles a
\r\nsequence at a chunk boundary. #3065- Improve CPU usage during Watchdog reloader. #3054
Request.jsonannotation is more accurate. #3067- Traceback rendering handles when the line number is beyond the available source lines. #3044
HTTPException.get_responseannotation and doc better conveys the distinction between WSGI and sans-IO responses. #3056
Changelog
Sourced from werkzeug's changelog.
Version 3.1.4
Released 2025-11-28
safe_joinon Windows does not allow special device names. This prevents reading from these when usingsend_from_directory.secure_filenamealready prevented writing to these. :ghsa:hgf8-39gv-g3f2- The debugger pin fails after 10 attempts instead of 11. :pr:
3020- The multipart form parser handles a
\r\nsequence at a chunk boundary. :issue:3065- Improve CPU usage during Watchdog reloader. :issue:
3054Request.jsonannotation is more accurate. :issue:3067- Traceback rendering handles when the line number is beyond the available source lines. :issue:
3044HTTPException.get_responseannotation and doc better conveys the distinction between WSGI and sans-IO responses. :issue:3056Version 3.1.3
Released 2024-11-08
- Initial data passed to
MultiDictand similar interfaces only acceptslist,tuple, orsetwhen passing multiple values. It had been changed to accept anyCollection, but this matched types that should be treated as single values, such asbytes. :issue:2994- When the
Hostheader is not set andRequest.hostfalls back to the WSGISERVER_NAMEvalue, if that value is an IPv6 address it is wrapped in[]to match theHostheader. :issue:2993Version 3.1.2
Released 2024-11-04
- Improve type annotation for
TypeConversionDict.getto allow thetypeparameter to be a callable. :issue:2988Headersdoes not inherit fromMutableMapping, as it is does not exactly match that interface. :issue:2989Version 3.1.1
Released 2024-11-01
- Fix an issue that caused
str(Request.headers)to always appear empty.
... (truncated)
Commits
1c7beb6release version 3.1.49c8b754install less to run tox474e22fupdate dev dependencies4b83337Merge commit from fork9bdec46safe_join prevents windows special device namesb11713ebetterHTTPException.get_responseannotation (#3072)1131dbddistinguish wsgi and sansio response annotation5d9a403skip rendering missing source (#3071)60ea32cskip rendering missing sourcec0e67e9Request.jsonproperty is onlyAny(#3070)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)