3
0
Fork 0
forked from mirrors/nixpkgs
Fabian Affolter 2023-01-26 11:25:52 +01:00
parent d41a8f77db
commit 760f23adeb

View file

@ -32,7 +32,7 @@
buildPythonPackage rec {
pname = "python-lsp-server";
version = "1.7.0";
version = "1.7.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -41,7 +41,7 @@ buildPythonPackage rec {
owner = "python-lsp";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-9cyzJxyCris7FsVni5IZCCL6IAcsN8tMakNoKPeWv7s=";
hash = "sha256-Rx8mHBmJw4gh0FtQBVMmOlQklODplrhnWwzsEhQm4NE=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -50,7 +50,7 @@ buildPythonPackage rec {
substituteInPlace pyproject.toml \
--replace "--cov-report html --cov-report term --junitxml=pytest.xml" "" \
--replace "--cov pylsp --cov test" "" \
--replace "autopep8>=1.6.0,<1.7.0" "autopep8" \
--replace "autopep8>=1.6.0,<1.7.1" "autopep8" \
--replace "flake8>=5.0.0,<7" "flake8" \
--replace "mccabe>=0.7.0,<0.8.0" "mccabe" \
--replace "pycodestyle>=2.9.0,<2.11.0" "pycodestyle" \
@ -130,6 +130,8 @@ buildPythonPackage rec {
];
disabledTests = [
# Don't run lint tests
"test_pydocstyle"
# https://github.com/python-lsp/python-lsp-server/issues/243
"test_numpy_completions"
"test_workspace_loads_pycodestyle_config"