Fix rust unit test and pypi token (#2001)

This commit is contained in:
Byron Hsu
2024-11-11 14:18:21 -08:00
committed by GitHub
parent 9d427265fd
commit 239eafbd2e
2 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ jobs:
- name: Build package
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_BUILD: "cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64"
CIBW_BUILD: "cp38-manylinux_x86_64" # cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64"
CIBW_BEFORE_ALL: |
yum update && yum install -y openssl-devel && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
CIBW_ENVIRONMENT: "PATH=$HOME/.cargo/bin:$PATH"
@@ -98,7 +98,7 @@ jobs:
- name: Upload to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN_ROUTER }}
run: |
pip install twine
twine upload dist/* --verbose

View File

@@ -1,4 +1,4 @@
use sglang_router::tree::RadixTree;
use sglang_router_rs::tree::RadixTree;
#[test]
fn test_new_tree() {