diff --git a/pkgs/development/python-modules/pytest-regressions/default.nix b/pkgs/development/python-modules/pytest-regressions/default.nix index 9c109021be28..eb0afeda5e22 100644 --- a/pkgs/development/python-modules/pytest-regressions/default.nix +++ b/pkgs/development/python-modules/pytest-regressions/default.nix @@ -47,6 +47,11 @@ buildPythonPackage rec { "ignore::DeprecationWarning" ]; + disabledTestPathss = lib.optionals (pythonAtLeast "3.12") [ + # AttributeError: partially initialized module 'pandas' has no attribute '_pandas_datetime_CAPI' (most likely due to a circular import) + "tests/test_num_regression.py" + ]; + pythonImportsCheck = [ "pytest_regressions" "pytest_regressions.plugin"