diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-06-08 10:52:57 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-06-09 22:58:11 +0200 |
commit | efe210cec8e21fd7e29cd1801552b6458549eca0 (patch) | |
tree | 95c37fb92908adeba161a9f4cd6e9e9938b1e674 /pkgs | |
parent | 0d688b843dc6b4d189f26facba0200390a972e8f (diff) | |
download | nixpkgs-efe210cec8e21fd7e29cd1801552b6458549eca0.tar nixpkgs-efe210cec8e21fd7e29cd1801552b6458549eca0.tar.gz nixpkgs-efe210cec8e21fd7e29cd1801552b6458549eca0.tar.bz2 nixpkgs-efe210cec8e21fd7e29cd1801552b6458549eca0.tar.lz nixpkgs-efe210cec8e21fd7e29cd1801552b6458549eca0.tar.xz nixpkgs-efe210cec8e21fd7e29cd1801552b6458549eca0.tar.zst nixpkgs-efe210cec8e21fd7e29cd1801552b6458549eca0.zip |
python3Packages.pytest-sanic: allow later websockets releases
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/pytest-sanic/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pytest-sanic/default.nix b/pkgs/development/python-modules/pytest-sanic/default.nix index 81e189c22c5..3cea788643c 100644 --- a/pkgs/development/python-modules/pytest-sanic/default.nix +++ b/pkgs/development/python-modules/pytest-sanic/default.nix @@ -21,7 +21,9 @@ buildPythonPackage rec { sha256 = "sha256-OtyulpSHUWERtcIRT5j3YtHciIxFiIFYKqtlEd1NSFw="; }; - buildInputs = [ pytest ]; + buildInputs = [ + pytest + ]; propagatedBuildInputs = [ aiohttp @@ -36,6 +38,12 @@ buildPythonPackage rec { 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 = [ # https://github.com/yunstanford/pytest-sanic/issues/51 "test_fixture_sanic_client_get" |