python312Packages.mypy: skip failing test

This commit is contained in:
Martin Weinelt 2024-02-24 02:14:09 +01:00
parent 97dcead263
commit 820b56f17d
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2,6 +2,7 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pythonAtLeast
, pythonOlder
# build-system
@ -100,6 +101,11 @@ buildPythonPackage rec {
tomli
] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# requires distutils
"test_c_unit_test"
];
disabledTestPaths = [
# fails to find tyoing_extensions
"mypy/test/testcmdline.py"