mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
python312Packages.textual-dev: disable tests
Tests require a running textual WS server
This commit is contained in:
parent
317340ce68
commit
6ce9e91371
@ -6,11 +6,8 @@
|
||||
fetchFromGitHub,
|
||||
msgpack,
|
||||
poetry-core,
|
||||
pytest-aiohttp,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
textual,
|
||||
time-machine,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
@ -28,9 +25,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-QnMKVt1WxnwGnZFNb7Gbus7xewGvyG5xJ0hIKKK5hug=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
click
|
||||
msgpack
|
||||
@ -38,19 +35,17 @@ buildPythonPackage rec {
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
time-machine
|
||||
];
|
||||
# Tests require a running textual WS server
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "textual_dev" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Development tools for Textual";
|
||||
mainProgram = "textual";
|
||||
homepage = "https://github.com/Textualize/textual-dev";
|
||||
changelog = "https://github.com/Textualize/textual-dev/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ yannip ];
|
||||
mainProgram = "textual";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user