From d1e8cbea05e70361c3a1330dfc37904948dec86312ae93a11fdcd02fa87e9085 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 27 Dec 2023 14:29:12 +0000 Subject: [PATCH] - update to 0.5.4: * Support to the alternative discovery protocol and foundational work to support other communication protocols, thanks to @sdb9696. * Reliability improvements by avoiding overflowing device buffers, thanks to @cobryan05. * Optimizations for downstream device accesses, thanks to @bdraco. * Support for both pydantic v1 and v2. * This release adds support for defining the device port and introduces dependency on async-timeout which improves timeout handling. * Adds optional dependency for for `orjson` and `kasa-crypt` to speed-up protocol handling by an order of magnitude. * Drops Python 3.7 support as it is no longer maintained. * Add benchmarks for speedups \#473 (@bdraco) * Add fixture for KP405 Smart Dimmer Plug \#470 (@xinud190) * Remove importlib-metadata dependency \#457 (@rytilahti) - skip python 3.6 (only compatible with python 3.7+) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kasa?expand=0&rev=11 --- python-kasa-0.5.1.tar.gz | 3 --- python-kasa-0.5.4.tar.gz | 3 +++ python-kasa.changes | 24 +++++++++++++++++++++++- python-kasa.spec | 9 ++++++--- 4 files changed, 32 insertions(+), 7 deletions(-) delete mode 100644 python-kasa-0.5.1.tar.gz create mode 100644 python-kasa-0.5.4.tar.gz diff --git a/python-kasa-0.5.1.tar.gz b/python-kasa-0.5.1.tar.gz deleted file mode 100644 index 77655a6..0000000 --- a/python-kasa-0.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ae533f9e4af7a54467965eec76f66bdb1d2c05b2500d3148579f899da39b89a -size 129912 diff --git a/python-kasa-0.5.4.tar.gz b/python-kasa-0.5.4.tar.gz new file mode 100644 index 0000000..0fe8dad --- /dev/null +++ b/python-kasa-0.5.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07adb7658b92236d138fd53f100d7b217eb7879d2b6730cb98d2083a98f8e04b +size 147071 diff --git a/python-kasa.changes b/python-kasa.changes index 87be78a..8f76095 100644 --- a/python-kasa.changes +++ b/python-kasa.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Wed Dec 27 14:26:35 UTC 2023 - Dirk Müller + +- update to 0.5.4: + * Support to the alternative discovery protocol and + foundational work to support other communication protocols, + thanks to @sdb9696. + * Reliability improvements by avoiding overflowing device + buffers, thanks to @cobryan05. + * Optimizations for downstream device accesses, thanks to + @bdraco. + * Support for both pydantic v1 and v2. + * This release adds support for defining the device port and + introduces dependency on async-timeout which improves timeout + handling. + * Adds optional dependency for for `orjson` and `kasa-crypt` to + speed-up protocol handling by an order of magnitude. + * Drops Python 3.7 support as it is no longer maintained. + * Add benchmarks for speedups \#473 (@bdraco) + * Add fixture for KP405 Smart Dimmer Plug \#470 (@xinud190) + * Remove importlib-metadata dependency \#457 (@rytilahti) + ------------------------------------------------------------------- Thu Mar 9 09:18:28 UTC 2023 - Guillaume GARDET @@ -13,7 +35,7 @@ Mon Sep 26 14:29:53 UTC 2022 - Guillaume GARDET ------------------------------------------------------------------- Sat Feb 13 09:49:13 UTC 2021 - Dirk Müller -- skip python 3.6 (only compatible with python 3.7+) +- skip python 3.6 (only compatible with python 3.7+) ------------------------------------------------------------------- Mon May 25 06:50:29 UTC 2020 - Petr Gajdos diff --git a/python-kasa.spec b/python-kasa.spec index 37ebad7..3729bf1 100644 --- a/python-kasa.spec +++ b/python-kasa.spec @@ -16,17 +16,18 @@ # -%define skip_python2 1 -%define skip_python36 1 +%{?sle15_python_module_pythons} Name: python-kasa -Version: 0.5.1 +Version: 0.5.4 Release: 0 Summary: Python API for TP-Link Kasa Smarthome products License: GPL-3.0-or-later URL: https://github.com/python-kasa/python-kasa Source0: https://github.com/python-kasa/python-kasa/archive/refs/tags/%{version}.tar.gz#/python-kasa-%{version}.tar.gz BuildRequires: %{python_module anyio} +BuildRequires: %{python_module async-timeout} BuildRequires: %{python_module asyncclick} +BuildRequires: %{python_module orjson} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry} BuildRequires: %{python_module pydantic} @@ -40,7 +41,9 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros # Runtime requires Requires: python-anyio +Requires: python-async-timeout Requires: python-asyncclick +Requires: python-orjson Requires: python-pydantic Requires: python-setuptools Requires: python-voluptuous