From 239eafbd2e71d43e574eaa6d604ed2918b39200e Mon Sep 17 00:00:00 2001 From: Byron Hsu Date: Mon, 11 Nov 2024 14:18:21 -0800 Subject: [PATCH] Fix rust unit test and pypi token (#2001) --- .github/workflows/release-pypi-router.yml | 4 ++-- rust/tests/test_tree.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-pypi-router.yml b/.github/workflows/release-pypi-router.yml index f48bca4e7..056d06473 100644 --- a/.github/workflows/release-pypi-router.yml +++ b/.github/workflows/release-pypi-router.yml @@ -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 diff --git a/rust/tests/test_tree.rs b/rust/tests/test_tree.rs index 2fbecbfa7..ed0b85e0b 100644 --- a/rust/tests/test_tree.rs +++ b/rust/tests/test_tree.rs @@ -1,4 +1,4 @@ -use sglang_router::tree::RadixTree; +use sglang_router_rs::tree::RadixTree; #[test] fn test_new_tree() {