Skip to content
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

♻️ Add fastapi-cli[standard] including Uvicorn, make fastapi-cli and fastapi-cli-slim have the same packages #55

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

tiangolo
Copy link
Member

@tiangolo tiangolo commented Aug 1, 2024

♻️ Add fastapi-cli[standard] including Uvicorn, make fastapi-cli and fastapi-cli-slim have the same packages.

Summary

Install with:

pip install "fastapi[standard]"

Or if for some reason installing only the CLI:

pip install "fastapi-cli[standard]"

Before

Before this, fastapi-cli would include Uvicorn and fastapi-cli-slim would not include Uvicorn.

Now fastapi-cli doesn't include Uvicorn unless it is installed with fastapi-cli[standard].

There will be a fastapi[standard] and that one will include fastapi-cli[standard].

Before you would install pip install fastapi, or pip install fastapi-cli, now you should include the standard optional dependencies (unless you want to exclude one of those).

@tiangolo tiangolo merged commit bb107a8 into main Aug 1, 2024
12 checks passed
@tiangolo tiangolo deleted the fastapi-cli-standard branch August 1, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant