mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
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:
parent
9bb1e7571a
commit
322047d654
@ -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"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user