Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: v0.0.6
_commit: v0.1.1
_src_path: ../template-python/
author: Kevin Weiss
author_email: [email protected]
Expand Down
68 changes: 0 additions & 68 deletions .github/agents/pr-review.agent.md

This file was deleted.

15 changes: 0 additions & 15 deletions .github/copilot-instructions.md

This file was deleted.

6 changes: 1 addition & 5 deletions .github/instructions/lobaro-template.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ applyTo: "**"

## Python version

Python ≥ 3.10. Always use built-in generics — `list[X]`, `dict[K, V]`, `X | None` — never `typing.List` etc.
Python ≥ 3.11. Always use built-in generics — `list[X]`, `dict[K, V]`, `X | None` — never `typing.List` etc.

## Validation workflow

Expand All @@ -34,7 +34,3 @@ If lint passes but tests fail, diagnose the test failure — do not bypass check
- Follow PEP 8 and PEP 257
- Type-hint all public functions and methods
- Try not to add third-party dependencies unless necessary — prefer built-in features

## Agents

- PR review agent: [instructions](../agents/pr-review.agent.md)
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ env:
TOX_VERSION: "4.49.1"
TOX_UV_VERSION: "1.33.4"
UV_VERSION: "0.10.11"
MIN_PYTHON_VERSION: "3.10"
MAX_PYTHON_VERSION: "3.13"
MIN_PYTHON_VERSION: "3.11"
MAX_PYTHON_VERSION: "3.14"

jobs:
check-commits:
Expand Down Expand Up @@ -83,8 +83,8 @@ jobs:
strategy:
matrix:
python:
- "3.10"
- "3.13"
- "3.11"
- "3.14"
platform:
- ubuntu-24.04
runs-on: ${{ matrix.platform }}
Expand All @@ -110,6 +110,9 @@ jobs:
release:
if: startsWith(github.ref, 'refs/tags/')
needs: [test, prepare]
# `uv`, not `k8s`: the bare `k8s` label is also answered by the preliumtarn
# scale set, which runs the upstream actions-runner image and has no `zip`.
# Only the Lobaro-built images carry `uv`.
runs-on: ubuntu-24.04
steps:
- name: Release
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ license-files = [ "LICENSE" ]
authors = [
{ name = "Kevin Weiss", email = "[email protected]" },
]
requires-python = ">=3.10"
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = [ "version" ]
dependencies = [
Expand All @@ -45,4 +45,4 @@ packages.find.where = [ "src" ]
version_scheme = "no-guess-dev"

[tool.pyproject-fmt]
max_supported_python = "3.13"
max_supported_python = "3.14"
2 changes: 1 addition & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target-version = "py310"
target-version = "py311"

src = [
"examples",
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
# Read more under https://tox.wiki/

[tox]
minversion = 3.24
minversion = 4
envlist = default
isolated_build = True


[testenv]
Expand Down