Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 083b6eb

Browse files
authored
➖ Drop support for fastapi-slim, no more versions will be released, use only "fastapi[standard]" or fastapi (#14957)
1 parent 1b9a351 commit 083b6eb

3 files changed

Lines changed: 0 additions & 67 deletions

File tree

.github/labeler.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ internal:
2929
- scripts/**
3030
- .gitignore
3131
- .pre-commit-config.yaml
32-
- pdm_build.py
3332
- uv.lock
3433
- docs/en/data/sponsors.yml
3534
- docs/en/overrides/main.html

pdm_build.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

pyproject.toml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -198,32 +198,6 @@ source-includes = [
198198
"docs/en/docs/img/favicon.png",
199199
]
200200

201-
[tool.tiangolo._internal-slim-build.packages.fastapi-slim.project]
202-
name = "fastapi-slim"
203-
readme = "fastapi-slim/README.md"
204-
dependencies = [
205-
"fastapi",
206-
]
207-
optional-dependencies = {}
208-
scripts = {}
209-
210-
[tool.tiangolo._internal-slim-build.packages.fastapi-slim.tool.pdm.build]
211-
# excludes needs to explicitly exclude the top level python packages,
212-
# otherwise PDM includes them by default
213-
# A "*" glob pattern can't be used here because in PDM internals, the patterns are put
214-
# in a set (unordered, order varies) and each excluded file is assigned one of the
215-
# glob patterns that matches, as the set is unordered, the matched pattern could be "*"
216-
# independent of the order here. And then the internal code would give it a lower score
217-
# than the one for a default included file.
218-
# By not using "*" and explicitly excluding the top level packages, they get a higher
219-
# score than the default inclusion
220-
excludes = ["fastapi", "tests", "pdm_build.py"]
221-
# source-includes needs to explicitly define some value because PDM will check the
222-
# truthy value of the list, and if empty, will include some defaults, including "tests",
223-
# an empty string doesn't match anything, but makes the list truthy, so that PDM
224-
# doesn't override it during the build.
225-
source-includes = [""]
226-
227201
[tool.mypy]
228202
plugins = ["pydantic.mypy"]
229203
strict = true

0 commit comments

Comments
 (0)