From 19856a3f95e77e511c6ac4539824efe2b0041c27 Mon Sep 17 00:00:00 2001 From: "Gabriele N. Tornetta" Date: Sun, 10 Sep 2023 15:02:50 +0100 Subject: [PATCH] feat: support Python 3.12 --- .github/workflows/tests.yml | 6 +++--- README.md | 4 ++-- pyproject.toml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 359a699..86a601e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] name: Tests with Python ${{ matrix.python-version }} on Linux steps: @@ -67,7 +67,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] name: Tests with Python ${{ matrix.python-version }} on MacOS steps: @@ -108,7 +108,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] name: Tests with Python ${{ matrix.python-version }} on Windows steps: diff --git a/README.md b/README.md index 9dec295..3727d63 100644 --- a/README.md +++ b/README.md @@ -159,8 +159,8 @@ raw samples by aggregation. # Compatibility -The `austin-python` package is tested on Linux, macOS and Windows with Python -3.7-3.11. +The latest `austin-python` package is tested on Linux, macOS and Windows with +Python 3.8-3.12. # Documentation diff --git a/pyproject.toml b/pyproject.toml index d3850da..ee9402e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,14 +35,14 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = [ "protobuf~=3.12", "psutil>=5.7.0", @@ -76,7 +76,7 @@ dependencies = [ tests = "pytest --cov=austin --cov-report=term-missing --cov-report=xml {args}" [[tool.hatch.envs.tests.matrix]] -python = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11", "3.12"] [tool.hatch.envs.checks] python = "3.10"