typed-settings: fix build failure (#383666)

Aleksana e7560f70 0cd4067f

Changed files
+14 -8
pkgs
development
python-modules
typed-settings
+14 -8
pkgs/development/python-modules/typed-settings/default.nix
···
hypothesis,
jinja2,
pydantic,
pytestCheckHook,
pythonOlder,
tomli,
typing-extensions,
}:
···
version = "24.6.0";
pyproject = true;
-
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "typed_settings";
···
nativeBuildInputs = [ hatch-vcs ];
-
nativeCheckInputs = [
-
hypothesis
-
pytestCheckHook
-
typing-extensions
-
] ++ lib.flatten (builtins.attrValues optional-dependencies);
pytestFlagsArray = [ "tests" ];
disabledTests = [
-
# AssertionError: assert [OptionInfo(p...
-
"test_deep_options"
# 1Password CLI is not available
"TestOnePasswordLoader"
"test_handle_op"
···
hypothesis,
jinja2,
pydantic,
+
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
+
rich-click,
+
sybil,
tomli,
typing-extensions,
}:
···
version = "24.6.0";
pyproject = true;
+
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "typed_settings";
···
nativeBuildInputs = [ hatch-vcs ];
+
nativeCheckInputs =
+
[
+
hypothesis
+
pytest-cov-stub
+
pytestCheckHook
+
rich-click
+
sybil
+
]
+
++ (lib.optional (pythonOlder "3.11") typing-extensions)
+
++ (lib.flatten (lib.attrValues optional-dependencies));
pytestFlagsArray = [ "tests" ];
disabledTests = [
# 1Password CLI is not available
"TestOnePasswordLoader"
"test_handle_op"