Merge pull request #109427 from fabaff/bump-aresponses
python3Packages.aresponses: 2.0.0 -> 2.1.0
This commit is contained in:
commit
511b87c7a9
@ -1,23 +1,24 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
# propagatedBuildInputs
|
||||
, aiohttp
|
||||
# buildInputs
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, isPy3k
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aresponses";
|
||||
version = "2.0.0";
|
||||
version = "2.1.0";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "58693a6b715edfa830a20903ee1d1b2a791251923f311b3bebf113e8ff07bb35";
|
||||
src = fetchFromGitHub {
|
||||
owner = "CircleUp";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0dc1y4s6kpmr0ar63kkyghvisgbmb8qq5wglmjclrpzd5180mjcl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -29,13 +30,24 @@ buildPythonPackage rec {
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
# tests only distributed via git repository, not pypi
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
aiohttp
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
# Disable tests which requires network access
|
||||
disabledTests = [
|
||||
"test_foo"
|
||||
"test_passthrough"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aresponses" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Asyncio testing server";
|
||||
homepage = "https://github.com/circleup/aresponses";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.makefu ];
|
||||
maintainers = with maintainers; [ makefu ];
|
||||
};
|
||||
}
|
||||
|
@ -1,11 +1,18 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
||||
, aiohttp, deepmerge, yarl
|
||||
, aresponses, pytest, pytest-asyncio, pytestcov }:
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, deepmerge
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyipp";
|
||||
version = "0.11.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ctalkington";
|
||||
@ -22,14 +29,26 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [
|
||||
aresponses
|
||||
pytest
|
||||
pytest-asyncio
|
||||
pytestcov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest -q .
|
||||
'';
|
||||
# Some tests are failing due to encoding issues
|
||||
# https://github.com/ctalkington/python-ipp/issues/121
|
||||
disabledTests = [
|
||||
"test_internal_session"
|
||||
"test_request_port"
|
||||
"est_http_error426"
|
||||
"test_unexpected_response"
|
||||
"test_printer"
|
||||
"test_raw"
|
||||
"test_ipp_request"
|
||||
"test_request_tls"
|
||||
"test_ipp_error_0x0503"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyipp" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Asynchronous Python client for Internet Printing Protocol (IPP)";
|
||||
|
Loading…
Reference in New Issue
Block a user