python3Packages.aresponses: 2.1.4 -> 2.1.5

main
Fabian Affolter 2 years ago committed by Jonathan Ringer
parent 1fdd3a53ad
commit 04811c34b7
  1. 18
      pkgs/development/python-modules/aresponses/default.nix

@ -2,24 +2,24 @@
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, pythonOlder
, pytest
, pytest-asyncio
, pytest-cov
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aresponses";
version = "2.1.4";
version = "2.1.5";
format = "setuptools";
disabled = !isPy3k;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "CircleUp";
repo = pname;
rev = version;
sha256 = "sha256-crMiMZ2IDuYDFt8Bixg3NRhlUa2tqmfzd7ZeHM+2Iu4=";
sha256 = "sha256-9ZzIrj87TwxQi0YMlTHFPAp0V1oxfuL0+RMGXxUxFoE=";
};
propagatedBuildInputs = [
@ -34,19 +34,20 @@ buildPythonPackage rec {
checkInputs = [
aiohttp
pytest-asyncio
pytest-cov
pytestCheckHook
];
# Disable tests which requires network access
disabledTests = [
# Disable tests which requires network access
"test_foo"
"test_passthrough"
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "aresponses" ];
pythonImportsCheck = [
"aresponses"
];
meta = with lib; {
description = "Asyncio testing server";
@ -55,3 +56,4 @@ buildPythonPackage rec {
maintainers = with maintainers; [ makefu ];
};
}

Loading…
Cancel
Save