lol

python3Packages.respx: 0.17.0 -> 0.17.1

+17 -11
+17 -11
pkgs/development/python-modules/respx/default.nix
··· 3 3 , fetchFromGitHub 4 4 , httpcore 5 5 , httpx 6 + , flask 6 7 , pytest-asyncio 7 - , pytest-cov 8 8 , pytestCheckHook 9 + , starlette 9 10 , trio 10 11 }: 11 12 12 13 buildPythonPackage rec { 13 14 pname = "respx"; 14 - version = "0.17.0"; 15 + version = "0.17.1"; 15 16 16 17 src = fetchFromGitHub { 17 18 owner = "lundberg"; 18 19 repo = pname; 19 20 rev = version; 20 - sha256 = "sha256-unGAIsslGXOUHXr0FKzC9bX6+Q3mNGZ9Z/dtjz0gkj4="; 21 + sha256 = "0w8idh6l2iq04ydz7r2qisq9jsxq8wszkx97kx4g3yjwg4ypvc6k"; 21 22 }; 22 23 23 - # Coverage is under 100 % due to the excluded tests 24 - postPatch = '' 25 - substituteInPlace setup.cfg --replace "--cov-fail-under 100" "" 26 - ''; 27 - 28 - propagatedBuildInputs = [ httpx ]; 24 + propagatedBuildInputs = [ 25 + httpx 26 + ]; 29 27 30 28 checkInputs = [ 31 29 httpcore 32 30 httpx 31 + flask 33 32 pytest-asyncio 34 - pytest-cov 35 33 pytestCheckHook 34 + starlette 36 35 trio 37 36 ]; 38 37 39 - disabledTests = [ "test_pass_through" ]; 38 + postPatch = '' 39 + sed -i "/--cov/d" setup.cfg 40 + ''; 41 + 42 + disabledTests = [ 43 + "test_pass_through" 44 + ]; 45 + 40 46 pythonImportsCheck = [ "respx" ]; 41 47 42 48 meta = with lib; {