From c1e1a9be4bae506d805566cb86e513ccf3710864 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Fri, 20 Sep 2024 08:23:42 +0200 Subject: [PATCH] Align dependencies with Home Assistant --- CHANGES.md | 4 ++++ poetry.lock | 46 ++-------------------------------------------- pyproject.toml | 12 ++++++------ 3 files changed, 12 insertions(+), 50 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 61ce19a..5a84753 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Release Notes +## 1.8.2 (2024-09-20) + +- Align dependencies with Home Assistant + ## 1.8.1 (2024-09-20) - Fix backwards compatibility diff --git a/poetry.lock b/poetry.lock index ceac19b..ad8a300 100644 --- a/poetry.lock +++ b/poetry.lock @@ -114,7 +114,6 @@ files = [ [package.dependencies] aiohappyeyeballs = ">=2.3.0" aiosignal = ">=1.1.2" -async-timeout = {version = ">=4.0,<5.0", markers = "python_version < \"3.11\""} attrs = ">=17.3.0" frozenlist = ">=1.1.1" multidict = ">=4.5,<7.0" @@ -167,17 +166,6 @@ types-python-dateutil = ">=2.8.10" doc = ["doc8", "sphinx (>=7.0.0)", "sphinx-autobuild", "sphinx-autodoc-typehints", "sphinx_rtd_theme (>=1.3.0)"] test = ["dateparser (==1.*)", "pre-commit", "pytest", "pytest-cov", "pytest-mock", "pytz (==2021.1)", "simplejson (==3.*)"] -[[package]] -name = "async-timeout" -version = "4.0.3" -description = "Timeout context manager for asyncio programs" -optional = false -python-versions = ">=3.7" -files = [ - {file = "async-timeout-4.0.3.tar.gz", hash = "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f"}, - {file = "async_timeout-4.0.3-py3-none-any.whl", hash = "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028"}, -] - [[package]] name = "attrs" version = "24.2.0" @@ -271,20 +259,6 @@ files = [ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] -[[package]] -name = "exceptiongroup" -version = "1.2.2" -description = "Backport of PEP 654 (exception groups)" -optional = false -python-versions = ">=3.7" -files = [ - {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, - {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, -] - -[package.extras] -test = ["pytest (>=6)"] - [[package]] name = "frozenlist" version = "1.4.1" @@ -511,9 +485,6 @@ files = [ {file = "multidict-6.1.0.tar.gz", hash = "sha256:22ae2ebf9b0c69d206c003e2f6a914ea33f0a932d4aa16f236afc049d9958f4a"}, ] -[package.dependencies] -typing-extensions = {version = ">=4.1.0", markers = "python_version < \"3.11\""} - [[package]] name = "packaging" version = "24.1" @@ -694,11 +665,9 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "sys_platform == \"win32\""} -exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" pluggy = ">=1.5,<2" -tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] @@ -787,17 +756,6 @@ files = [ {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, ] -[[package]] -name = "tomli" -version = "2.0.1" -description = "A lil' TOML parser" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, - {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, -] - [[package]] name = "types-python-dateutil" version = "2.9.0.20240906" @@ -927,5 +885,5 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" -python-versions = "^3.9" -content-hash = "20bf2dd8239d2b66fda7fc5407f26a41af28231b194293e68e77cfb2db886b9b" +python-versions = "^3.12" +content-hash = "1bceccd55335d80d8d56ddd853317b4eda9050338f610e1e4a73c6901c751f79" diff --git a/pyproject.toml b/pyproject.toml index a4d35b7..3c84bc1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "chargeamps" -version = "1.8.1" +version = "1.8.2" readme = "README.md" description = "Charge-Amps API bindings for Python" authors = ["Jakob Schlyter "] @@ -27,12 +27,12 @@ classifiers = [ chargeamps = "chargeamps.cli:main" [tool.poetry.dependencies] -python = "^3.9" -aiohttp = "^3.9.5" -PyJWT = "^2.1.0" +python = "^3.12" +aiohttp = "^3.10.5" +PyJWT = "^2.9.0" isoduration = "^20.11.0" -ciso8601 = "^2.2.0" -pydantic = "^2.7.4" +ciso8601 = "^2.3.1" +pydantic = "^2.9.2" [tool.poetry.group.dev.dependencies] pytest = ">=7.4.3"