deps(deps): bump uvicorn from 0.30.6 to 0.46.0 in /backend#7
Open
dependabot[bot] wants to merge 1 commit intomasterfrom
Open
deps(deps): bump uvicorn from 0.30.6 to 0.46.0 in /backend#7dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot[bot] wants to merge 1 commit intomasterfrom
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
ninjat6
pushed a commit
that referenced
this pull request
Apr 27, 2026
…=3.11.4"
The backend had no machine-readable Python version pinning (no
pyproject.toml / setup.py / setup.cfg). Without a floor, defense
layers that rely on stdlib version (notably SEC-002 — expat 2.5+
billion-laughs amplification check, bundled with cpython 3.11.4 on
2023-06-06) could be silently bypassed:
• New contributors on Python 3.10 or 3.11.0–3.11.3 install
successfully and run a stripped-down defense surface.
• CI runners default to ubuntu-latest's preinstalled Python
(varies by image cycle).
• Docker `FROM python:3.11` may pull a 3.11.0–3.11.3 base on stale
images.
• Linux distros: Ubuntu 22.04 ships 3.10; Debian 12 ships 3.11
but patch level varies.
Fix: declare requires-python = ">=3.11.4" in backend/pyproject.toml.
pip honours this on `pip install -e backend` and rejects below-floor
interpreters at install time.
CI matrix already locked by security.yml `python-version: '3.11'`
(setup-python action resolves to latest 3.11 patch, which has been
≥ 3.11.4 since 2023-06-06). This commit closes the packaging-level
side per SEC-022 #7.
Verification: SpecifierSet(">=3.11.4") parses cleanly; rejects
3.11.3; accepts 3.11.4 / 3.12.x.
Closes: SEC-022
Refs: SEC-002 (defense-layer dependency), SEC-017 (CI lock)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
df5f579 to
3cb1b97
Compare
Bumps [uvicorn](https://github.com/Kludex/uvicorn) from 0.30.6 to 0.46.0. - [Release notes](https://github.com/Kludex/uvicorn/releases) - [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md) - [Commits](Kludex/uvicorn@0.30.6...0.46.0) --- updated-dependencies: - dependency-name: uvicorn dependency-version: 0.46.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
3cb1b97 to
3ccddfa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps uvicorn from 0.30.6 to 0.46.0.
Release notes
Sourced from uvicorn's releases.
... (truncated)
Changelog
Sourced from uvicorn's changelog.
... (truncated)
Commits
b224045Version 0.46.0 (#2918)7375b5bUsebytearrayfor incoming WebSocket message buffer in websockets-sansio (#...d438fb1Supportws_ping_intervalandws_ping_timeoutinwsprotoimplementation ...3e6b964Supportws_max_sizeinwsprotoimplementation (#2915)2c423bdVersion 0.45.0 (#2914)7f027f8Revert "Emithttp.disconnecton server shutdown for streaming responses" (#...73a80c3Add--reset-contextvarsflag to isolate ASGI request context (#2912)45c0b56Revert empty context for ASGI runs (#2911)850d926Raise helpfulImportErrorwhen PyYAML is missing for YAML log config (#2906)fdcacb4Acceptlog_levelstrings case-insensitively (#2907)