From a0a853c3c96373a3ecbdec245ea60c85e1e53a57 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 21 Mar 2021 03:20:06 +0000 Subject: [PATCH] 3p/nixpkgs: fix python38Packages.cherrypy --- third_party/nixpkgs/patches/patch-cherrypy.patch | 11 +++++++++++ third_party/nixpkgs/patches/series | 1 + 2 files changed, 12 insertions(+) create mode 100644 third_party/nixpkgs/patches/patch-cherrypy.patch diff --git a/third_party/nixpkgs/patches/patch-cherrypy.patch b/third_party/nixpkgs/patches/patch-cherrypy.patch new file mode 100644 index 0000000000..03d26f1417 --- /dev/null +++ b/third_party/nixpkgs/patches/patch-cherrypy.patch @@ -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 \ diff --git a/third_party/nixpkgs/patches/series b/third_party/nixpkgs/patches/series index cdbc01e1bf..bd8d0ba6ce 100644 --- a/third_party/nixpkgs/patches/series +++ b/third_party/nixpkgs/patches/series @@ -1 +1,2 @@ various.patch +patch-cherrypy.patch