Skip to content

misc: Replace deprecated uvicorn.workers with uvicorn-worker #2053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 5, 2025

Conversation

adamantike
Copy link
Contributor

Description
According to the uvicorn docs [1], the uvicorn.workers.UvicornWorker class is deprecated and replaced by the uvicorn-worker package [2].

[1] https://www.uvicorn.org/deployment/#gunicorn
[2] https://github.com/Kludex/uvicorn-worker

Checklist

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

According to the `uvicorn` docs [1], the `uvicorn.workers.UvicornWorker`
class is deprecated and replaced by the `uvicorn-worker` package [2].

[1] https://www.uvicorn.org/deployment/#gunicorn
[2] https://github.com/Kludex/uvicorn-worker
@adamantike adamantike requested review from gantoine and zurdi15 July 5, 2025 16:20
Copy link

trunk-io bot commented Jul 5, 2025

Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information.

@adamantike adamantike merged commit 605a445 into master Jul 5, 2025
7 checks passed
@adamantike adamantike deleted the misc/uvicorn-worker branch July 5, 2025 17:24
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.

2 participants