From 2321f38306c991e3e5b75e43a8bffbcee103ff01 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:47:06 +0100 Subject: [PATCH] . --- .github/workflows/run-tox.yml | 4 ++-- docs/interface_mqtt.rst | 2 +- docs/requirements.txt | 6 +++--- requirements.txt | 2 +- requirements_setup.txt | 4 ++-- requirements_tests.txt | 2 +- tox.ini | 2 ++ 7 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/run-tox.yml b/.github/workflows/run-tox.yml index a5af4ec3..554be9e0 100644 --- a/.github/workflows/run-tox.yml +++ b/.github/workflows/run-tox.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - uses: pre-commit/action@v3.0.1 @@ -20,7 +20,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 diff --git a/docs/interface_mqtt.rst b/docs/interface_mqtt.rst index d9f6dcd2..6aeb2230 100644 --- a/docs/interface_mqtt.rst +++ b/docs/interface_mqtt.rst @@ -182,7 +182,7 @@ MqttPublishOptions import HABApp from unittest.mock import MagicMock - HABApp.mqtt.util.topic_info.publish = MagicMock() + HABApp.mqtt.util.publish_options.publish = MagicMock() # ------------ hide: stop ------------- from HABApp.mqtt.util import MqttPublishOptions diff --git a/docs/requirements.txt b/docs/requirements.txt index 323ae56e..4f465973 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,7 +1,7 @@ # Packages required to build the documentation -sphinx == 8.0.2 +sphinx == 8.1.3 sphinx-autodoc-typehints == 2.5.0 -sphinx_rtd_theme == 3.0.0 -sphinx-exec-code == 0.12 +sphinx_rtd_theme == 3.0.1 +sphinx-exec-code == 0.13 autodoc_pydantic == 2.2.0 sphinx-copybutton == 0.5.2 diff --git a/requirements.txt b/requirements.txt index f6ae32fc..048b7b82 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ # Packages for source formatting # ----------------------------------------------------------------------------- pre-commit == 4.0.1 -ruff == 0.7.0 +ruff == 0.7.3 autotyping == 24.9.0 # ----------------------------------------------------------------------------- # Packages for other developement tasks diff --git a/requirements_setup.txt b/requirements_setup.txt index 33110f39..a08269ff 100644 --- a/requirements_setup.txt +++ b/requirements_setup.txt @@ -1,8 +1,8 @@ -aiohttp == 3.10.9 +aiohttp == 3.10.10 pydantic == 2.9.2 msgspec == 0.18.6 bidict == 0.23.1 -watchdog == 5.0.3 +watchdog == 6.0.0 ujson == 5.10.0 aiomqtt == 2.3.0 diff --git a/requirements_tests.txt b/requirements_tests.txt index 743130e3..b0c32dfb 100644 --- a/requirements_tests.txt +++ b/requirements_tests.txt @@ -6,6 +6,6 @@ # ----------------------------------------------------------------------------- # Packages to run source tests # ----------------------------------------------------------------------------- -packaging == 24.1 +packaging == 24.2 pytest == 8.3.3 pytest-asyncio == 0.24.0 diff --git a/tox.ini b/tox.ini index 99b103b5..4e7c5a94 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = py310 py311 py312 + py313 docs slotscheck @@ -13,6 +14,7 @@ python = 3.10: py310, docs 3.11: py311 3.12: py312, slotscheck + 3.13: py313 [testenv]