Closed iMicknl closed 1 month ago
@tetienne quite a big PR in the end. If you would have time coming week to have a quick glance, would be appreciated. I will do some tests on HA with this package, since there have been some (potential) breaking changes.
@tetienne quite a big PR in the end. If you would have time coming week to have a quick glance, would be appreciated. I will do some tests on HA with this package, since there have been some (potential) breaking changes.
Sure I will have a look. From my phone, it looks almost good.
This pull request includes multiple changes aimed at updating dependencies, improving type hints, and removing outdated configurations. The most important changes include updating the Python version, enhancing type hints, and cleaning up IntelliJ IDEA project files.
Breaking
Dependency and Version Updates:
.devcontainer/devcontainer.json
: Updated the Docker image tomcr.microsoft.com/devcontainers/python:1-3.12-bullseye
for Python 3.12..github/workflows/main.yaml
: Updated the Python versions in the matrix to include 3.12 and removed 3.8 and 3.9..python-version
: Updated the Python version to 3.12.pyproject.toml
: Updated dependencies and Python version requirements to>=3.10,<4.0
.Type Hint Improvements:
pyoverkiz/client.py
: Changed_ssl_context
to_ssl
and updated type hints for SSL context and verification. [1] [2] [3] [4] [5]pyoverkiz/models.py
: Updated imports to usecollections.abc
forIterator
.pyoverkiz/types.py
: Updated type hints to usecollections.abc
forCallable
and modernizedStateType
andJSON
definitions. [1] [2]Configuration Cleanup:
.idea/inspectionProfiles/Project_Default.xml
,.idea/inspectionProfiles/profiles_settings.xml
,.idea/misc.xml
,.idea/modules.xml
,.idea/python-tahoma-api.iml
, and.idea/vcs.xml
. [1] [2] [3] [4] [5] [6]Pre-commit and Tox Configuration:
.pre-commit-config.yaml
: Updatedpre-commit-hooks
tov4.6.0
and changedpyupgrade
arguments to--py310-plus
. [1] [2]tox.ini
: Updatedenvlist
to include Python 3.12 and removed 3.8 and 3.9. [1] [2]Miscellaneous:
.github/CODEOWNERS
: Removed@vlebourl
from the list of code owners..github/release-drafter.yml
: Added an empty line for better formatting.tests/test_client.py
: Updated fixtures to be asynchronous. [1] [2]