Skip to content

Commit

Permalink
build: upgrade & test for python 3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
boidolr committed Jan 25, 2025
1 parent d738969 commit 89b307d
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 68 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
build:
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["310", "311", "312", "313", "314"]
runs-on: ubuntu-latest
env:
# renovate: datasource=github-releases depName=astral-sh/uv
UV_VERSION: "0.5.13"
UV_VERSION: "0.5.24"

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
Expand All @@ -40,7 +40,7 @@ jobs:
run: uv tool install tox --with tox-uv

- name: Execute tests
run: tox --runner virtualenv -e ${{ matrix.python-version }}
run: tox -e py${{ matrix.python-version }}

precommit:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ module = "tests.*"
disallow_untyped_defs = false

[tool.tox]
requires = ["tox>=4.19"]
envlist = ["py310", "py311", "py312", "py313", "pre-commit", "static"]
requires = ["tox>=4.19", "tox-uv>=1.19.1"]
envlist = ["py310", "py311", "py312", "py313", "py314", "pre-commit", "static"]
isolated_build = true

[tool.tox.env_run_base]
Expand All @@ -104,7 +104,7 @@ commands = [
]
extras = ["tests", "svg", "avif"]
runner = "uv-venv-lock-runner"
uv_sync_flags = ["--python={env_python}", "--no-editable"]
uv_sync_flags = ["--no-editable"]

[tool.tox.env.pre-commit]
description = "run commit hooks on code base"
Expand Down
Loading

0 comments on commit 89b307d

Please sign in to comment.