From f1064430665904d2fbd2df577fa6d3a0ea4031b1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 18 Nov 2020 04:10:46 +0100 Subject: [PATCH] python3Packages.PyRMVtransport: 0.2.9 -> 0.2.10 Disables the test, because they require pytest-httpx, which has not been packaged yet. --- .../python-modules/PyRMVtransport/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/PyRMVtransport/default.nix b/pkgs/development/python-modules/PyRMVtransport/default.nix index 1624a5fda2a..86fb75f1454 100644 --- a/pkgs/development/python-modules/PyRMVtransport/default.nix +++ b/pkgs/development/python-modules/PyRMVtransport/default.nix @@ -1,13 +1,13 @@ { lib, buildPythonPackage, fetchFromGitHub , flit -, lxml, aiohttp -, pytest, pytestcov, pytest-asyncio, pytest-mock, pytest-aiohttp, aresponses +, lxml, httpx +, pytest, pytestcov, pytest-asyncio, pytest-mock, aresponses , pythonOlder }: buildPythonPackage rec { pname = "PyRMVtransport"; - version = "0.2.9"; + version = "0.2.10"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -15,7 +15,7 @@ buildPythonPackage rec { owner = "cgtobi"; repo = pname; rev = "v${version}"; - sha256 = "1h3d0yxzrfi47zil5gr086v0780q768z8v5psvcikqw852f93vxb"; + sha256 = "03qrylidb1d6zw6a22d1drdf73cvfxqcqaa8qi8x4pli1axcfh5w"; }; nativeBuildInputs = [ @@ -23,16 +23,19 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - aiohttp + httpx lxml ]; + # requires pytest-httpx + doCheck = false; + checkInputs = [ pytest pytestcov pytest-asyncio pytest-mock - pytest-aiohttp + # pytest-httpx is missing aresponses ]; checkPhase = ''