3p/nixpkgs: fix python38Packages.cherrypy

This commit is contained in:
Luke Granger-Brown 2021-03-21 03:20:06 +00:00
parent 07d6a74cbb
commit a0a853c3c9
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
diff --git a/pkgs/development/python-modules/cherrypy/default.nix b/pkgs/development/python-modules/cherrypy/default.nix
--- a/pkgs/development/python-modules/cherrypy/default.nix
+++ b/pkgs/development/python-modules/cherrypy/default.nix
@@ -38,6 +38,7 @@ buildPythonPackage rec {
checkPhase = ''
substituteInPlace pytest.ini --replace "--doctest-modules" ""
pytest \
+ -W ignore \
-k 'not KeyboardInterrupt and not daemonize and not Autoreload' \
--deselect=cherrypy/test/test_static.py::StaticTest::test_null_bytes \
--deselect=cherrypy/test/test_tools.py::ToolTests::testCombinedTools \

View file

@ -1 +1,2 @@
various.patch
patch-cherrypy.patch