From 3a773045e662b7ba14cbddb9e6c94f54e86a86aa Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 16 Feb 2020 09:52:25 +0100 Subject: [PATCH] python3Packages: attempt to fix build, mark as broken Earlier spyder was updated to 4.0.0. This build fails. Adding new dependencies, it still fails, because it needs a very specific version of jedi. This is problematic, we cannot have these tight constraints in the Python packages set. We could revert to 3.x. It builds, however, I expect it to have runtime issues due to jedi as well. https://github.com/spyder-ide/spyder/issues/11047 --- pkgs/development/python-modules/spyder/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/spyder/default.nix b/pkgs/development/python-modules/spyder/default.nix index 47094fcb993..65fabc6c7bc 100644 --- a/pkgs/development/python-modules/spyder/default.nix +++ b/pkgs/development/python-modules/spyder/default.nix @@ -1,25 +1,25 @@ -{ stdenv, buildPythonPackage, fetchPypi, makeDesktopItem, jedi, pycodestyle, +{ stdenv, buildPythonPackage, fetchPypi, makeDesktopItem, intervaltree, jedi, pycodestyle, psutil, pyflakes, rope, numpy, scipy, matplotlib, pylint, keyring, numpydoc, qtconsole, qtawesome, nbconvert, mccabe, pyopengl, cloudpickle, pygments, - spyder-kernels, qtpy, pyzmq, chardet + spyder-kernels, qtpy, pyzmq, chardet, qdarkstyle, watchdog, python-language-server , pyqtwebengine }: buildPythonPackage rec { pname = "spyder"; - version = "4.0.0"; + version = "4.0.1"; src = fetchPypi { inherit pname version; - sha256 = "f2bfece9743188e3d1da68f02271a7c6eb7f0a3b692c3df4952458ab96b037a8"; + sha256 = "4b279c16487d224368dd2213e1517185fa59fc528f539601fffb34ea97accb7b"; }; nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ]; propagatedBuildInputs = [ - jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint keyring + intervaltree jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint keyring numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels - pygments qtpy pyzmq chardet pyqtwebengine + pygments qtpy pyzmq chardet pyqtwebengine qdarkstyle watchdog python-language-server ]; # There is no test for spyder @@ -66,5 +66,6 @@ buildPythonPackage rec { license = licenses.mit; platforms = platforms.linux; maintainers = with maintainers; [ gebner ]; + broken = true; }; }