diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 68948a5be9d..abd2de9ae40 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15014,7 +15014,7 @@ in { }; propagatedBuildInputs = with self; [ - pbr argparse six webob + pbr six webob ]; buildInputs = with self; [ oslosphinx coverage mock subunit testrepository testtools @@ -15022,6 +15022,7 @@ in { patchPhase = '' sed -i 's@python@${python.interpreter}@' .testr.conf + substituteInPlace requirements.txt --replace "argparse" "" ''; }; @@ -25393,10 +25394,14 @@ EOF sha256 = "99ab03bffdb30d9ec98724898f428f8e73129483417d5892799a0f0d2249f233"; }; + patchPhase = '' + substituteInPlace setup.py --replace '"argparse",' "" + ''; + # ImportError: No module named tests doCheck = false; - propagatedBuildInputs = with self; [ ofxhome ofxparse beautifulsoup keyring argparse ]; + propagatedBuildInputs = with self; [ ofxhome ofxparse beautifulsoup keyring ]; }; ofxhome = buildPythonPackage rec {