From 84ba10a077c47c2da453b9fa618111fa58ad8b4e Mon Sep 17 00:00:00 2001 From: 761417898 <761417898@qq.com> Date: Tue, 21 Apr 2026 18:09:47 +0800 Subject: [PATCH 1/3] [ci]python ut multi version --- .github/workflows/unit-test-python.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit-test-python.yml b/.github/workflows/unit-test-python.yml index c29764abf..0295fb847 100644 --- a/.github/workflows/unit-test-python.yml +++ b/.github/workflows/unit-test-python.yml @@ -44,6 +44,7 @@ jobs: max-parallel: 15 matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] runs-on: ${{ matrix.os }} steps: @@ -54,7 +55,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.11" + python-version: ${{ matrix.python-version }} # Setup caching of the artifacts in the .m2 directory, so they don't have to # all be downloaded again for every build. @@ -111,6 +112,6 @@ jobs: - name: Upload whl Artifact uses: actions/upload-artifact@v7 with: - name: tsfile-${{ runner.os }}-whl + name: tsfile-${{ runner.os }}-py${{ matrix.python-version }}-whl path: python/dist/tsfile-*.whl retention-days: 1 From 9529e64edc960cdc698c3bc32d08744529e00842 Mon Sep 17 00:00:00 2001 From: 761417898 <761417898@qq.com> Date: Tue, 21 Apr 2026 18:23:40 +0800 Subject: [PATCH 2/3] [ci]python ut multi version --- .github/workflows/unit-test-python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-test-python.yml b/.github/workflows/unit-test-python.yml index 0295fb847..b4281cae1 100644 --- a/.github/workflows/unit-test-python.yml +++ b/.github/workflows/unit-test-python.yml @@ -44,7 +44,7 @@ jobs: max-parallel: 15 matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: ["3.9", "3.11", "3.14"] runs-on: ${{ matrix.os }} steps: From d77bccecb5c7cdf50da034ed534edaf17ba85ffb Mon Sep 17 00:00:00 2001 From: 761417898 <761417898@qq.com> Date: Tue, 21 Apr 2026 18:41:31 +0800 Subject: [PATCH 3/3] fix ci --- .github/workflows/unit-test-python.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-test-python.yml b/.github/workflows/unit-test-python.yml index b4281cae1..b17ba4ffb 100644 --- a/.github/workflows/unit-test-python.yml +++ b/.github/workflows/unit-test-python.yml @@ -107,7 +107,11 @@ jobs: if [[ "$RUNNER_OS" == "Windows" ]]; then export PATH="/c/mingw64/bin:$PATH" fi - ./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} -P with-python -Denable.asan=OFF -Dbuild.type=Release clean verify + BLACK_VER_PROP="" + if [[ "${{ matrix.python-version }}" == "3.9" ]]; then + BLACK_VER_PROP="-Dblack.version=25.11.0" + fi + ./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} -P with-python -Denable.asan=OFF -Dbuild.type=Release clean verify ${BLACK_VER_PROP} - name: Upload whl Artifact uses: actions/upload-artifact@v7