From 58296431bbee81dc13b7e356f08e821f6bb69362 Mon Sep 17 00:00:00 2001 From: Xiangzhuang Shen Date: Wed, 7 May 2025 15:49:18 +0800 Subject: [PATCH] chore: cover py3.12 and py3.13 in tests and meta info --- .github/workflows/CI.yaml | 8 ++++---- pyproject.toml | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index a6c5e5b2..e0c51a54 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -138,7 +138,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: # may support pypy in the future - python-version: [ "3.8-slim", "3.9-slim", "3.10-slim", "3.11-slim" ] + python-version: [ "3.8-slim", "3.9-slim", "3.10-slim", "3.11-slim", "3.12-slim", "3.13-slim" ] fail-fast: false env: BASE_PYTHON_IMAGE: ${{ matrix.python-version }} @@ -171,7 +171,7 @@ jobs: timeout-minutes: 20 strategy: matrix: - python-version: [ "3.8", "3.9", "3.10", "3.11" ] + python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ] test-path: ${{fromJson(needs.prep-plugin-and-unit-tests.outputs.matrix)}} fail-fast: false env: @@ -219,7 +219,7 @@ jobs: timeout-minutes: 10 strategy: matrix: - python-image-variant: [ "3.8-slim", "3.9-slim", "3.10-slim", "3.11-slim" ] + python-image-variant: [ "3.8-slim", "3.9-slim", "3.10-slim", "3.11-slim", "3.12-slim", "3.13-slim" ] fail-fast: false env: BASE_PYTHON_IMAGE: ${{ matrix.python-image-variant }} @@ -251,7 +251,7 @@ jobs: timeout-minutes: 20 strategy: matrix: - python-image-variant: [ "3.8-slim", "3.9-slim", "3.10-slim", "3.11-slim" ] + python-image-variant: [ "3.8-slim", "3.9-slim", "3.10-slim", "3.11-slim", "3.12-slim", "3.13-slim" ] case: - name: gRPC-single-process path: tests/e2e/case/grpc/single/e2e.yaml diff --git a/pyproject.toml b/pyproject.toml index 55a1334a..1def212e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,8 @@ classifiers = [ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Topic :: System :: Monitoring', 'Topic :: Software Development',