From 445fdf134e81ad9046abf0166f13e22f6964edd3 Mon Sep 17 00:00:00 2001 From: Sergey Vasilyev Date: Sat, 3 Oct 2026 12:49:01 +0200 Subject: [PATCH] Enable Python 3.15 support Signed-off-by: Sergey Vasilyev --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/publish.yaml | 2 +- .github/workflows/thorough.yaml | 4 ++-- looptime/_internal/plugin.py | 1 - pyproject.toml | 1 + 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5c1883f..3fb0e0d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ jobs: with: github-token: ${{ github.token }} enable-cache: true - python-version: "3.14" + python-version: "3.15" activate-environment: true - run: uv sync --no-dev --group lint - run: pre-commit run --all-files @@ -27,7 +27,7 @@ jobs: fail-fast: false matrix: # Assumption: if free-threaded works in one version, it works in all versions. - python-version: [ "3.11", "3.12", "3.13", "3.14", "3.14t" ] + python-version: [ "3.11", "3.12", "3.13", "3.14", "3.15", "3.15t" ] name: Python ${{ matrix.python-version }} runs-on: ubuntu-26.04 timeout-minutes: 5 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f147e18..93650b1 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -20,7 +20,7 @@ jobs: with: github-token: ${{ github.token }} enable-cache: true - python-version: "3.14" + python-version: "3.15" activate-environment: true - run: uv build - uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/thorough.yaml b/.github/workflows/thorough.yaml index 02dfc89..5c35842 100644 --- a/.github/workflows/thorough.yaml +++ b/.github/workflows/thorough.yaml @@ -18,7 +18,7 @@ jobs: with: github-token: ${{ github.token }} enable-cache: true - python-version: "3.14" + python-version: "3.15" activate-environment: true - run: uv sync --no-dev --group lint - run: pre-commit run --all-files @@ -29,7 +29,7 @@ jobs: fail-fast: false matrix: # Assumption: if free-threaded works in one version, it works in all versions. - python-version: [ "3.11", "3.12", "3.13", "3.14", "3.14t" ] + python-version: [ "3.11", "3.12", "3.13", "3.14", "3.15", "3.15t" ] name: Python ${{ matrix.python-version }} runs-on: ubuntu-26.04 timeout-minutes: 5 diff --git a/looptime/_internal/plugin.py b/looptime/_internal/plugin.py index 891552c..076dde1 100644 --- a/looptime/_internal/plugin.py +++ b/looptime/_internal/plugin.py @@ -108,7 +108,6 @@ from __future__ import annotations import asyncio -import sys from typing import Any import _pytest.nodes diff --git a/pyproject.toml b/pyproject.toml index d75f585..b9b0551 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy",