-
First Check
Commit to Help
Example CodeTo investigate, run [tool.poetry]
name = "test"
version = "0.1.0"
description = "test"
authors = ["test"]
[tool.poetry.dependencies]
python = "^3.12"
fastapi = { version = "0.110.3", extras = [] }
Then change fastapi version to 0.111.0: [tool.poetry.dependencies]
fastapi = { version = "0.111.0", extras = [] }
The former (v0.110.3) has a much simpler dependency tree, and (notably, for our requirement) does not include uvloop. The latter (v0.111.0) has significantly more dependencies included by default. Compare the results in the lock files: 0.110.3:
vs 0.111.0:
DescriptionAs far as I can tell from the fastapi pyproject.toml, uvicorn[standard] is an optional dependency, I've looked at the comparison between 0.110.3 and 0.111.0 (^) and the only difference is that a This is a breaking change for us, as we have a dependency on Operating SystemLinux Operating System DetailsNo response FastAPI Version0.111.0 Pydantic Version2.7.1 Python Version3.12.3 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've resolved my own question ... |
Beta Was this translation helpful? Give feedback.
I've resolved my own question ...
fastapi-slim
is the new alternative. I promise I did look for alternatives answers, but of course I only see it after posting 😂