From c1e995fcf1180e7764bc4de3aee3cfcab0aa4f4c Mon Sep 17 00:00:00 2001 From: Jevgeni Kiski Date: Tue, 14 Oct 2025 22:52:20 +0300 Subject: [PATCH 1/2] Test with python 3.12, 3.13 and 3.14 --- Dockerfile | 2 +- setup.cfg | 5 ++++- tox.ini | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7297f4d1..cefd42ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-alpine +FROM python:3.12-alpine ENV WORK_DIR=workdir \ HASSIO_DATA_PATH=/data \ diff --git a/setup.cfg b/setup.cfg index a2f4c7d4..a05707be 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,12 +21,15 @@ classifiers = Programming Language :: Python :: 3.9 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 license = EPL [options] zip_safe = True packages = find: -python_requires = >=3.8,<3.12 +python_requires = >=3.8,<3.15 install_requires = construct~=2.9.43 argparse>=1.4.0 diff --git a/tox.ini b/tox.ini index a0c0e34c..582646c1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38, py39, py310, py311 +envlist = py38, py39, py310, py311, py312, py313, py314 isolated_build = True skip_missing_interpreters = True From b62eb94dc6a8b88c5c80df5319a88e038746289b Mon Sep 17 00:00:00 2001 From: Jevgeni Kiski Date: Tue, 14 Oct 2025 22:55:27 +0300 Subject: [PATCH 2/2] More places --- .github/workflows/test.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5efc659d..76774d0a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - name: Checkout diff --git a/README.md b/README.md index ede7797c..b62a3883 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ See [wiki](https://github.com/ParadoxAlarmInterface/pai/wiki/Installation) ## Tested Environment Tested in the following environment: -* Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11 +* Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14 * Mosquitto MQTT Broker > 1.4.8 * OrangePi 2G-IOT, NanoPi NEO, and Raspberry Pi 3 through their built in Serial Port (with a level shifter!), or a USB RS232 TTL adapter (CP2102, PL2303, CH340, etc..) * Ubuntu Server 16.04.3 LTS