This is an automated email from the ASF dual-hosted git repository. kezhenxu94 pushed a commit to branch py12 in repository https://gitbox.apache.org/repos/asf/skywalking-python.git
commit e7baa4f9b9877b17456fcbd32c9ff3333dc1cb23 Author: kezhenxu94 <kezhenx...@apache.org> AuthorDate: Mon May 26 16:45:09 2025 +0800 feat: bump up 3.12 and 3.13 --- .github/workflows/CI.yaml | 8 ++++---- docker/Makefile | 4 ++++ docs/en/setup/Container.md | 2 +- pyproject.toml | 4 +++- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index a6c5e5b..e0c51a5 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/docker/Makefile b/docker/Makefile index 8fc0ee1..0e26c39 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -27,10 +27,14 @@ py3.8: BASE_PYTHON_IMAGE = python:3.8 py3.9: BASE_PYTHON_IMAGE = python:3.9 py3.10: BASE_PYTHON_IMAGE = python:3.10 py3.11: BASE_PYTHON_IMAGE = python:3.11 +py3.12: BASE_PYTHON_IMAGE = python:3.12 +py3.13: BASE_PYTHON_IMAGE = python:3.13 py3.8-slim: BASE_PYTHON_IMAGE = python:3.8-slim py3.9-slim: BASE_PYTHON_IMAGE = python:3.9-slim py3.10-slim: BASE_PYTHON_IMAGE = python:3.10-slim py3.11-slim: BASE_PYTHON_IMAGE = python:3.11-slim +py3.12-slim: BASE_PYTHON_IMAGE = python:3.12-slim +py3.13-slim: BASE_PYTHON_IMAGE = python:3.13-slim push-py3.8: BASE_PYTHON_IMAGE = python:3.8 push-py3.9: BASE_PYTHON_IMAGE = python:3.9 diff --git a/docs/en/setup/Container.md b/docs/en/setup/Container.md index 31df529..e08af6d 100644 --- a/docs/en/setup/Container.md +++ b/docs/en/setup/Container.md @@ -4,7 +4,7 @@ source** This image hosts the SkyWalking Python agent package on top of official Python base images (full & slim) providing support from -Python 3.8 - 3.11. +Python 3.8 - 3.13. ## How to use this image diff --git a/pyproject.toml b/pyproject.toml index 55a1334..272a55b 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', @@ -69,7 +71,7 @@ sw-python = 'skywalking.bootstrap.cli.sw_python:start' [tool.poetry.dependencies] -python = ">=3.8, <=3.13" +python = ">=3.8, <=3.14" grpcio = '*' grpcio-tools = '*' packaging = '*'