Skip to content

Update uvicorn to 0.45.0 - #566

Closed
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-uvicorn-0.4.6-to-0.45.0
Closed

Update uvicorn to 0.45.0#566
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-uvicorn-0.4.6-to-0.45.0

Conversation

@pyup-bot

@pyup-bot pyup-bot commented Apr 21, 2026

Copy link
Copy Markdown
Collaborator

This PR updates uvicorn from 0.4.6 to 0.45.0.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Summary by CodeRabbit

  • Chores
    • Updated internal dependencies to improve stability and performance.

@coderabbitai

coderabbitai Bot commented Apr 21, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

The dependency version for uvicorn in src/requirements.txt has been updated from 0.4.6 to 0.45.0. All other dependencies remain unchanged.

Changes

Cohort / File(s) Summary
Dependency Version Updates
src/requirements.txt
Updated uvicorn from version 0.4.6 to 0.45.0; other dependencies (fastapi, gitpython) unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minute

Poem

🐰 Hop, hop, hooray! A version leap,
From point-four-six to forty-five so steep!
Uvicorn bounds through cyberspace with glee,
Faster, stronger, wild and free! 🚀
Our warren celebrates this upgrade spree!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately and concisely describes the main change: updating the uvicorn dependency version from 0.4.6 to 0.45.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch pyup-update-uvicorn-0.4.6-to-0.45.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/requirements.txt`:
- Line 3: The uvicorn pin in requirements.txt (uvicorn==0.45.0) conflicts with
the older fastapi dependency; update the dependency resolution by either
upgrading the fastapi entry to a recent compatible release (replace
fastapi==0.6.4 with a modern version that supports Python >=3.10 and newer
Starlette/Pydantic) or else pin uvicorn to a back-compatible release that
matches your target Python runtime (e.g., choose a uvicorn version that supports
Python <3.10 if you must keep fastapi==0.6.4); modify the requirements.txt
entries for "uvicorn" and "fastapi" accordingly so both packages and their
transitive dependencies are compatible with your project's Python version.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6eff218c-4b98-42e4-ab75-34f336d87006

📥 Commits

Reviewing files that changed from the base of the PR and between d377ad0 and 544f52a.

📒 Files selected for processing (1)
  • src/requirements.txt

Comment thread src/requirements.txt
fastapi==0.6.4
gitpython
uvicorn==0.4.6
uvicorn==0.45.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== Dependency pins in repo =="
rg -n --iglob '*requirements*.txt' --iglob '*setup.py' 'fastapi|uvicorn|starlette|pydantic'

echo
echo "== PyPI metadata: fastapi 0.6.4 =="
curl -s https://pypi.org/pypi/fastapi/0.6.4/json | jq '.info.requires_python, .info.requires_dist'

echo
echo "== PyPI metadata: uvicorn 0.45.0 =="
curl -s https://pypi.org/pypi/uvicorn/0.45.0/json | jq '.info.requires_python, .info.requires_dist'

echo
echo "== Search for uvicorn CLI usage/flags in deployment files =="
rg -n --iglob '*Dockerfile*' --iglob '*.yml' --iglob '*.yaml' --iglob '*.sh' \
  '\buvicorn\b|--host|--port|--workers|--reload|--loop|--http|--ws|--lifespan'

Repository: salimfadhley/dockerized_python_playground

Length of output: 1746


Python version incompatibility blocks this dependency change.

uvicorn==0.45.0 requires Python ≥3.10, but fastapi==0.6.4 is compatible with Python ≥3.6. This creates a hard constraint conflict: if your environment runs Python <3.10, uvicorn 0.45.0 will fail to install; if it runs Python ≥3.10, the 0.6.4 version of fastapi (released ~early 2020) may have unresolved transitive dependencies on ancient starlette (0.11.1) and pydantic (0.17–0.18.2).

Resolve by either upgrading fastapi to a recent version compatible with uvicorn 0.45.0 or pinning uvicorn to a version supporting your Python version requirement.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/requirements.txt` at line 3, The uvicorn pin in requirements.txt
(uvicorn==0.45.0) conflicts with the older fastapi dependency; update the
dependency resolution by either upgrading the fastapi entry to a recent
compatible release (replace fastapi==0.6.4 with a modern version that supports
Python >=3.10 and newer Starlette/Pydantic) or else pin uvicorn to a
back-compatible release that matches your target Python runtime (e.g., choose a
uvicorn version that supports Python <3.10 if you must keep fastapi==0.6.4);
modify the requirements.txt entries for "uvicorn" and "fastapi" accordingly so
both packages and their transitive dependencies are compatible with your
project's Python version.

@pyup-bot

Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #569

@pyup-bot pyup-bot closed this Apr 23, 2026
@salimfadhley
salimfadhley deleted the pyup-update-uvicorn-0.4.6-to-0.45.0 branch April 23, 2026 09:32
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