python3Packages.pytest-sanic: allow later websockets releases
This commit is contained in:
parent
0d688b843d
commit
efe210cec8
@ -21,7 +21,9 @@ buildPythonPackage rec {
|
|||||||
sha256 = "sha256-OtyulpSHUWERtcIRT5j3YtHciIxFiIFYKqtlEd1NSFw=";
|
sha256 = "sha256-OtyulpSHUWERtcIRT5j3YtHciIxFiIFYKqtlEd1NSFw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
buildInputs = [
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
@ -36,6 +38,12 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# https://github.com/yunstanford/pytest-sanic/issues/55
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "websockets>=8.1,<9.0" "websockets>=9.1,<10.0"
|
||||||
|
'';
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# https://github.com/yunstanford/pytest-sanic/issues/51
|
# https://github.com/yunstanford/pytest-sanic/issues/51
|
||||||
"test_fixture_sanic_client_get"
|
"test_fixture_sanic_client_get"
|
||||||
|
Loading…
Reference in New Issue
Block a user