home-assistant: disable test_circular_imports test

This reduces the nixpkgs-review load when updating debugpy, so PRs can
be merged directly into master without going through staging
This commit is contained in:
Kira Bruneau 2024-09-05 09:46:40 -04:00
parent 9bb1e7571a
commit 322047d654

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 { geojson = super.geojson.overridePythonAttrs (oldAttrs: rec {
version = "2.5.0"; version = "2.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -569,10 +563,7 @@ in python.pkgs.buildPythonApplication rec {
] ++ lib.concatMap (component: getPackages component python.pkgs) [ ] ++ lib.concatMap (component: getPackages component python.pkgs) [
# some components are needed even if tests in tests/components are disabled # some components are needed even if tests in tests/components are disabled
"default_config" "default_config"
"debugpy"
"hue" "hue"
"qwikswitch"
"sentry"
]; ];
pytestFlagsArray = [ pytestFlagsArray = [
@ -605,6 +596,8 @@ in python.pkgs.buildPythonApplication rec {
"tests/hassfest" "tests/hassfest"
# we don't care about code quality # we don't care about code quality
"tests/pylint" "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 # don't bulk test all components
"tests/components" "tests/components"
]; ];