From f705d66eaf3dc23a4862ef13bcb77007d6bb6136 Mon Sep 17 00:00:00 2001 From: "J. Neto" Date: Tue, 18 May 2021 15:33:36 -0300 Subject: [PATCH] pythonPackages.stem: fix build with python 3.9 --- pkgs/development/python-modules/stem/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/stem/default.nix b/pkgs/development/python-modules/stem/default.nix index 32e4bab5afc..c607d45e170 100644 --- a/pkgs/development/python-modules/stem/default.nix +++ b/pkgs/development/python-modules/stem/default.nix @@ -12,6 +12,8 @@ buildPythonPackage rec { postPatch = '' rm test/unit/installation.py sed -i "/test.unit.installation/d" test/settings.cfg + # https://github.com/torproject/stem/issues/56 + sed -i '/MOCK_VERSION/d' run_tests.py ''; checkInputs = [ mock ];