From 5cea09dbb4dea5d3029f7c5daa29238957812694 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 7 Dec 2024 16:37:37 +0100 Subject: [PATCH] python312Packages.python-kasa: 0.7.7 -> 0.8.1 https://github.com/python-kasa/python-kasa/blob/0.8.1/CHANGELOG.md --- .../python-modules/python-kasa/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/python-kasa/default.nix b/pkgs/development/python-modules/python-kasa/default.nix index 796b3e601f38..3dd1046f4cae 100644 --- a/pkgs/development/python-modules/python-kasa/default.nix +++ b/pkgs/development/python-modules/python-kasa/default.nix @@ -1,20 +1,20 @@ { lib, aiohttp, - async-timeout, asyncclick, buildPythonPackage, cryptography, fetchFromGitHub, hatchling, kasa-crypt, + mashumaro, orjson, ptpython, - pydantic, pytest-asyncio, pytest-freezer, pytest-mock, pytest-socket, + pytest-xdist, pytestCheckHook, pythonOlder, rich, @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "python-kasa"; - version = "0.7.7"; + version = "0.8.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -31,18 +31,17 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "python-kasa"; repo = "python-kasa"; - rev = "refs/tags/${version}"; - hash = "sha256-405FrKG1jZNrxTmz/K8vqwPhiOqrxURWVCpyFQRJeXc="; + tag = version; + hash = "sha256-4P66mFaDg7A9FHqWRUN5NV7nQhMTu3gU+gR2tHWHalU="; }; build-system = [ hatchling ]; dependencies = [ aiohttp - async-timeout asyncclick cryptography - pydantic + mashumaro ]; nativeCheckInputs = [ @@ -50,6 +49,7 @@ buildPythonPackage rec { pytest-freezer pytest-mock pytest-socket + pytest-xdist pytestCheckHook voluptuous ]; @@ -69,7 +69,7 @@ buildPythonPackage rec { disabledTestPaths = [ # Skip the examples tests - "kasa/tests/test_readme_examples.py" + "tests/test_readme_examples.py" ]; pythonImportsCheck = [ "kasa" ];