diff --git a/pkgs/development/python-modules/aiowaqi/default.nix b/pkgs/development/python-modules/aiowaqi/default.nix index 9d99977249be..19e133e27cbd 100644 --- a/pkgs/development/python-modules/aiowaqi/default.nix +++ b/pkgs/development/python-modules/aiowaqi/default.nix @@ -13,8 +13,8 @@ buildPythonPackage rec { pname = "aiowaqi"; - version = "3.0.0"; - format = "pyproject"; + version = "3.0.1"; + pyproject = true; disabled = pythonOlder "3.11"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "joostlek"; repo = "python-waqi"; rev = "refs/tags/v${version}"; - hash = "sha256-FHpZVY7TFjk+2YNBejEwSdYWK41V9bti1JxpWivemw4="; + hash = "sha256-+4l820FGQI66GGr+KGEeDmPUFwRrMNvYFJuSouesakY="; }; postPatch = '' @@ -50,6 +50,15 @@ buildPythonPackage rec { "aiowaqi" ]; + disabledTests = [ + # Upstream mocking fails + "test_search" + ]; + + pytestFlagsArray = [ + "--snapshot-update" + ]; + meta = with lib; { description = "Module to interact with the WAQI API"; homepage = "https://github.com/joostlek/python-waqi";