Skip to content

Fastapi Dependency typo in the pyproject.toml #3422

@Menad-doctolib

Description

@Menad-doctolib

FastAPI version constraint typo allows incompatible versions (0.119.0+)

Describe the bug

The pyproject.toml contains a typo in the FastAPI version constraint that allows
incompatible FastAPI versions to be installed, causing OpenAPI schema generation
failures.

Current constraint:
"fastapi>=0.115.0, <1.119.0"

Should be:
"fastapi>=0.115.0, <0.119.0"

The typo <1.119.0 (one point one one nine) allows FastAPI 0.119.0+ to be installed, which
introduces breaking changes in OpenAPI schema generation (see
fastapi/fastapi#14168).

Metadata

Metadata

Labels

core[Component] This issue is related to the core interface and implementation

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions