diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df60730..5efc659 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", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - name: Checkout diff --git a/Dockerfile b/Dockerfile index 8c88ab5..b4271a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9-alpine +FROM python:3.11-alpine ENV WORK_DIR=workdir \ HASSIO_DATA_PATH=/data \ diff --git a/README.md b/README.md index 9624ac1..060c98d 100644 --- a/README.md +++ b/README.md @@ -65,8 +65,8 @@ See [wiki](https://github.com/ParadoxAlarmInterface/pai/wiki/Installation) ## Tested Environment Tested in the following environment: -* Python 3.6, 3.7, 3.8 -* Mosquitto MQTT Broker >v 1.4.8 +* Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11 +* 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 * Paradox MG5050, SP7000 and EVO panels diff --git a/pyproject.toml b/pyproject.toml index 4da8c1a..8624690 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=46.4.0"] build-backend = "setuptools.build_meta" [tool.black] -target-version = ["py38", "py39", "py310", "py311", "py312"] +target-version = ["py38", "py39", "py310", "py311"] exclude = 'generated' [tool.isort] diff --git a/setup.cfg b/setup.cfg index 646aafc..7bdd488 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,13 +21,12 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 - Programming Language :: Python :: 3.12 license = EPL [options] zip_safe = True packages = find: -python_requires = >=3.8 +python_requires = >=3.8,<3.12 install_requires = construct~=2.9.43 argparse>=1.4.0 diff --git a/tox.ini b/tox.ini index 47a58ef..a0c0e34 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38, py39, py310, py311, py312 +envlist = py38, py39, py310, py311 isolated_build = True skip_missing_interpreters = True