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

fastapi-cli is not installed with the new "fastapi[standard]" #1821

Open
cospectrum opened this issue Sep 23, 2024 · 1 comment
Open

fastapi-cli is not installed with the new "fastapi[standard]" #1821

cospectrum opened this issue Sep 23, 2024 · 1 comment

Comments

@cospectrum
Copy link

cospectrum commented Sep 23, 2024

Describe the issue

I would expect fastapi cmd to work with mkPoetryEnv and the latest fastapi[standard], but it does not.
poetry run fastapi does not find a command. I can see fastapi bin in the final poetryEnv derivation, but its broken and tells me to run pip install fastapi[standard] (still doesn't help).
If I try to add fastapi-cli as a poetry dependency, the build will fail completely.

@TyberiusPrime
Copy link
Contributor

uv2nix had a similary run in recently. 'bin/fastapi' is being supplied by both packages, but goes to the same entry point. Perhaps try to add an override for fastapi that deletes bin/fastapi after build, so that fastapi-cli can place it's version (or visa versa).

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

No branches or pull requests

2 participants