From f8e69d826d1ed77b073064e749cd13832509ca31 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 19 Jan 2025 19:32:35 +0100 Subject: [PATCH] python313Packages.pook: 1.4.3 -> 2.1.3 https://github.com/h2non/pook/blob/v2.1.3/History.rst --- .../python-modules/pook/default.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pook/default.nix b/pkgs/development/python-modules/pook/default.nix index 9b704e6b2e77..489bb808ca85 100644 --- a/pkgs/development/python-modules/pook/default.nix +++ b/pkgs/development/python-modules/pook/default.nix @@ -1,6 +1,5 @@ { lib, - aiohttp, buildPythonPackage, fetchFromGitHub, furl, @@ -8,15 +7,15 @@ jsonschema, pytest-asyncio, pytest-httpbin, - pytest7CheckHook, + pytest-pook, + pytestCheckHook, pythonOlder, - requests, xmltodict, }: buildPythonPackage rec { pname = "pook"; - version = "1.4.3"; + version = "2.1.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,27 +24,31 @@ buildPythonPackage rec { owner = "h2non"; repo = "pook"; tag = "v${version}"; - hash = "sha256-sdfkMvPSlVK7EoDUEuJbiuocOjGJygqiCiftrsjnDhU="; + hash = "sha256-DDHaKsye28gxyorILulrLRBy/B9zV673jeVZ85uPZAo="; }; nativeBuildInputs = [ hatchling ]; propagatedBuildInputs = [ - aiohttp furl jsonschema - requests xmltodict ]; nativeCheckInputs = [ pytest-asyncio pytest-httpbin - pytest7CheckHook + pytest-pook + pytestCheckHook ]; pythonImportsCheck = [ "pook" ]; + disabledTests = [ + # furl compat issue + "test_headers_not_matching" + ]; + disabledTestPaths = [ # Don't test integrations "tests/integration/"