python3.pkgs.python-language-server: 0.31.9 -> 0.33.1
This commit is contained in:
parent
141a029ad7
commit
5d52144fec
|
@ -21,15 +21,20 @@ in
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-language-server";
|
pname = "python-language-server";
|
||||||
version = "0.31.9";
|
version = "0.33.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "palantir";
|
owner = "palantir";
|
||||||
repo = "python-language-server";
|
repo = "python-language-server";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "06hd6a1hhd57hrq4vbwfs0saplkhsrz2krv8kq9kw4fz4hx7zj74";
|
sha256 = "064ck4ikrrrhq8wjpbs5k6hzkrjvfg91pd6351471xpsij0kj16f";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# https://github.com/palantir/python-jsonrpc-server/issues/36
|
||||||
|
sed -i -e 's!ujson<=!ujson>=!' setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
# The tests require all the providers, disable otherwise.
|
# The tests require all the providers, disable otherwise.
|
||||||
doCheck = providers == ["*"];
|
doCheck = providers == ["*"];
|
||||||
|
|
||||||
|
@ -53,10 +58,8 @@ buildPythonPackage rec {
|
||||||
"test_pandas_completions"
|
"test_pandas_completions"
|
||||||
"test_matplotlib_completions"
|
"test_matplotlib_completions"
|
||||||
"test_snippet_parsing"
|
"test_snippet_parsing"
|
||||||
|
"test_numpy_hover"
|
||||||
] ++ stdenv.lib.optional isPy27 "test_flake8_lint";
|
] ++ stdenv.lib.optional isPy27 "test_flake8_lint";
|
||||||
# checkPhase = ''
|
|
||||||
# HOME=$TEMPDIR pytest -k "not test_pyqt_completion and not
|
|
||||||
# '';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ setuptools jedi pluggy future python-jsonrpc-server flake8 ujson ]
|
propagatedBuildInputs = [ setuptools jedi pluggy future python-jsonrpc-server flake8 ujson ]
|
||||||
++ stdenv.lib.optional (withProvider "autopep8") autopep8
|
++ stdenv.lib.optional (withProvider "autopep8") autopep8
|
||||||
|
|
Loading…
Reference in New Issue