From 234b55044747846e0e8a425a07e83ac9dd38575e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 12 Jun 2024 21:06:11 +0200 Subject: [PATCH] Revert "python12Packages.pytest-regressions: remove unused disabledTestPathss" --- .../python-modules/pytest-regressions/default.nix | 5 +++++ 1 file changed, 5 insertions(+) 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"