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
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]

steps:
- uses: actions/checkout@v7
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v2
- name: Install uv
uses: astral-sh/setup-uv@v10.1.0
uses: astral-sh/setup-uv@v10.2.0
with:
enable-cache: true
cache-suffix: "python${{ matrix.python-version }}"
Expand All @@ -39,7 +39,7 @@ jobs:
# run ruff
#----------------------------------------------
- name: Linter with ruff
if: matrix.python-version == 3.14
if: matrix.python-version == 3.15
run: |
uv run ruff check .
uv run ruff format --check .
Expand All @@ -55,7 +55,7 @@ jobs:
#----------------------------------------------
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v7
if: matrix.python-version == 3.14
if: matrix.python-version == 3.15
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
directory: .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v7
with:
python-version: '3.14'
python-version: '3.15'

- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v2

- name: Install uv
uses: astral-sh/setup-uv@v10.1.0
uses: astral-sh/setup-uv@v10.2.0
with:
enable-cache: true

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
exclude: docs/auto_examples
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.16.7
rev: v0.16.10
hooks:
# Run the linter.
- id: ruff
Expand Down
5 changes: 5 additions & 0 deletions docs/releases/3.2.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

*Not released yet*

## Python compatibility in 3.2.2

Added Python 3.15 on the test matrix. python-statemachine 3.2.2 supports Python 3.10, 3.11, 3.12,
3.13, 3.14 and 3.15.

## Bug fixes in 3.2.2

### Event declarations inside `State.Compound`
Expand Down
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Home Automation",
"Topic :: Software Development :: Libraries",
]
Expand All @@ -34,18 +35,18 @@ io = ["PyYAML >= 6.0", "jsonschema >= 4.18"]

[dependency-groups]
dev = [
"ruff >=0.16.7",
"ruff >=0.16.10",
"pre-commit",
"mypy",
"pytest >=9.1.1",
"pytest-cov >=7.1.0",
"pytest-sugar >=1.1.1",
"pytest-mock >=3.15.1",
"pytest-mock >=3.16.0",
"pytest-benchmark >=5.3.0",
"pytest-asyncio >=1.4.0",
"pydot",
"django >=6.1.1; python_version >='3.12'",
"django >=5.2.17; python_version <'3.12'",
"django >=6.1.2; python_version >='3.12'",
"django >=5.2.18; python_version <'3.12'",
"pytest-django >=4.14.0",
"Sphinx",
"sphinx-gallery",
Expand Down Expand Up @@ -133,7 +134,7 @@ directory = "tmp/htmlcov"
show_contexts = true

[tool.mypy]
python_version = "3.14"
python_version = "3.15"
warn_return_any = true
warn_unused_configs = true
disable_error_code = "annotation-unchecked"
Expand Down
Loading
Loading