fly launch
can't detect a Python FastAPI
app with a dependency group specifier
#4078
Labels
bug
Something isn't working
Describe the bug
I'm making a
FastAPI
Python project and saw in this post that non-poetry projects are supported. But, runningfly launch
doesn't recognize my code as aFastAPI
project. I'm not using poetry, but do have a validpyproject.toml
.The issue is that I'm using the default dependency specifier from the FastAPI Docs:
fastapi[standard]
.flyctl
correctly finds and parses mypyproject.toml
, this function doesn't correctly handle the[standard]
extra:flyctl/scanner/python.go
Lines 93 to 108 in 09e201b
When I change my dependency from
"fastapi[standard] == 0.115.5"
to"fastapi == 0.115.5"
, it all works as expected.fly v0.3.40 darwin/arm64 Commit: 0a5966dcd8a4a7ae3a71623f9f04371a3e7f27ae BuildDate: 2024-11-19T20:46:55Z
Paste your
fly.toml
N/A, trying to create one
Command output:
The text was updated successfully, but these errors were encountered: