python312Packages.pydantic_1: disable failing tests

This commit is contained in:
Martin Weinelt 2024-02-17 23:33:30 +01:00
parent 29e4bae0c1
commit 98c9af1ac3
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -6,6 +6,7 @@
, pytest-mock
, pytestCheckHook
, python-dotenv
, pythonAtLeast
, pythonOlder
, setuptools
, typing-extensions
@ -62,6 +63,15 @@ buildPythonPackage rec {
export HOME=$(mktemp -d)
'';
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# depends on distuils
"test_cython_function_untouched"
# AssertionError on exact types and wording
"test_model_subclassing_abstract_base_classes_without_implementation_raises_exception"
"test_partial_specification_name"
"test_secretfield"
];
enableParallelBuilding = true;
pythonImportsCheck = [ "pydantic" ];