mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
Merge pull request #170154 from SuperSandro2000/jupyterlab-server
python310Packages.jupyterlab_server: fix test execution
This commit is contained in:
commit
5465e16bc7
1 changed files with 5 additions and 3 deletions
|
@ -25,7 +25,11 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/^addopts/d" pyproject.toml
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--cov jupyterlab_server --cov-report term-missing --cov-report term:skip-covered" ""
|
||||
|
||||
# translation tests try to install additional packages into read only paths
|
||||
rm -r tests/translations/
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ requests jsonschema pyjson5 Babel jupyter_server ];
|
||||
|
@ -37,8 +41,6 @@ buildPythonPackage rec {
|
|||
ruamel-yaml
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "--pyargs" "jupyterlab_server" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue