Skip to content

Commit 3ed0a54

Browse files
authored
[router] Fix twine uploading (sgl-project#3095)
1 parent 8d8ef84 commit 3ed0a54

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/release-pypi-router.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
- name: Build SDist
8585
run: |
8686
pip install build
87+
python -m pip install -U packaging
8788
python -m build --sdist
8889
8990
- uses: actions/upload-artifact@v4

sgl-router/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ classifiers = [
2020
[tool.setuptools.packages]
2121
find = { where = ["py_src"] }
2222

23+
# workaround for https://github.com/pypa/twine/issues/1216
24+
[tool.setuptools]
25+
license-files = []
26+
2327
[[tool.setuptools-rust.ext-modules]]
2428
target = "sglang_router_rs"
2529
path = "Cargo.toml"

0 commit comments

Comments
 (0)