From 2b264fdcec6e7ccfa337b8df56b891787d492df1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 7 Oct 2026 11:43:48 +0200 Subject: [PATCH] python3Packages.besen: 0.3.4 -> 0.4.7 https://github.com/moryoav/besen/releases/tag/library-v0.4.7 --- .../python-modules/besen/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/besen/default.nix b/pkgs/development/python-modules/besen/default.nix index 6545379143f0..445cdbc6dc39 100644 --- a/pkgs/development/python-modules/besen/default.nix +++ b/pkgs/development/python-modules/besen/default.nix @@ -10,14 +10,14 @@ buildPythonPackage (finalAttrs: { pname = "besen"; - version = "0.3.4"; + version = "0.4.7"; pyproject = true; src = fetchFromGitHub { owner = "moryoav"; repo = "besen"; - tag = "v${finalAttrs.version}"; - hash = "sha256-abWF9v1snIscua2PzesuxYS4IYKYrq8dSfjbnzT4P/A="; + tag = "library-v${finalAttrs.version}"; + hash = "sha256-qXvp0tP+KoSdm+Hbq+TAFodvEJK8M0x1YrZiMYv5CPY="; }; build-system = [ setuptools ]; @@ -29,12 +29,12 @@ buildPythonPackage (finalAttrs: { pytestCheckHook ]; - # The other tests are for the bundled Home Assistant integration - pytestFlags = [ - "tests/test_client.py" - "tests/test_models.py" - "tests/test_protocol.py" - ]; + preCheck = '' + # specific to the custom component tests + rm tests/conftest.py + ''; + + enabledTestPaths = [ "tests/library" ]; pythonImportsCheck = [ "besen" ];