home-assistant: disable test_circular_imports test (#340324)

This commit is contained in:
Martin Weinelt
2024-09-07 18:29:45 +02:00
committed by GitHub
+2 -9
View File
@@ -100,12 +100,6 @@ let
];
});
debugpy = super.debugpy.overridePythonAttrs (oldAttrs: {
# tests are deadlocking too often
# https://github.com/NixOS/nixpkgs/issues/262000
doCheck = false;
});
geojson = super.geojson.overridePythonAttrs (oldAttrs: rec {
version = "2.5.0";
src = fetchFromGitHub {
@@ -569,10 +563,7 @@ in python.pkgs.buildPythonApplication rec {
] ++ lib.concatMap (component: getPackages component python.pkgs) [
# some components are needed even if tests in tests/components are disabled
"default_config"
"debugpy"
"hue"
"qwikswitch"
"sentry"
];
pytestFlagsArray = [
@@ -605,6 +596,8 @@ in python.pkgs.buildPythonApplication rec {
"tests/hassfest"
# we don't care about code quality
"tests/pylint"
# redundant component import test, which would make debugpy & sentry expensive to review
"tests/test_circular_imports.py"
# don't bulk test all components
"tests/components"
];