Skip to content

Commit 6709a9a

Browse files
authored
➖ Drop support for fastapi-cli-slim, no more versions will be released, use instead one of: "fastapi[standard]", "fastapi-cli[standard]", fastapi-cli (#320)
1 parent 6bb6442 commit 6709a9a

File tree

4 files changed

+0
-74
lines changed

4 files changed

+0
-74
lines changed

.github/labeler.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ internal:
1515
- scripts/**
1616
- .gitignore
1717
- .pre-commit-config.yaml
18-
- pdm_build.py
1918
- requirements*.txt
2019
- uv.lock
2120
- all-globs-to-all-files:

.github/workflows/publish.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ on:
88
jobs:
99
publish:
1010
runs-on: ubuntu-latest
11-
strategy:
12-
matrix:
13-
package:
14-
- fastapi-cli-slim
15-
- fastapi-cli
1611
permissions:
1712
id-token: write
1813
contents: read
@@ -30,7 +25,5 @@ jobs:
3025
uses: astral-sh/setup-uv@v7
3126
- name: Build distribution
3227
run: uv build
33-
env:
34-
TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }}
3528
- name: Publish
3629
run: uv publish

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
@@ -88,32 +88,6 @@ source-includes = [
8888
"scripts/",
8989
]
9090

91-
[tool.tiangolo._internal-slim-build.packages.fastapi-cli-slim.project]
92-
name = "fastapi-cli-slim"
93-
readme = "fastapi-cli-slim/README.md"
94-
dependencies = [
95-
"fastapi-cli",
96-
]
97-
optional-dependencies = {}
98-
scripts = {}
99-
100-
[tool.tiangolo._internal-slim-build.packages.fastapi-cli-slim.tool.pdm.build]
101-
# excludes needs to explicitly exclude the top level python packages,
102-
# otherwise PDM includes them by default
103-
# A "*" glob pattern can't be used here because in PDM internals, the patterns are put
104-
# in a set (unordered, order varies) and each excluded file is assigned one of the
105-
# glob patterns that matches, as the set is unordered, the matched pattern could be "*"
106-
# independent of the order here. And then the internal code would give it a lower score
107-
# than the one for a default included file.
108-
# By not using "*" and explicitly excluding the top level packages, they get a higher
109-
# score than the default inclusion
110-
excludes = ["src", "tests", "pdm_build.py"]
111-
# source-includes needs to explicitly define some value because PDM will check the
112-
# truthy value of the list, and if empty, will include some defaults, including "tests",
113-
# an empty string doesn't match anything, but makes the list truthy, so that PDM
114-
# doesn't override it during the build.
115-
source-includes = [""]
116-
11791
[tool.pytest.ini_options]
11892
addopts = [
11993
"--strict-config",

0 commit comments

Comments
 (0)