From 3758641dd44cb05b4c67cb12f165a2e97b374a1e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 11 Jan 2023 16:05:47 +0100 Subject: [PATCH] python3Packages.pybind11: Disable failing test on darwin --- pkgs/development/python-modules/pybind11/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix index 146ffce784f..7b35cbb3008 100644 --- a/pkgs/development/python-modules/pybind11/default.nix +++ b/pkgs/development/python-modules/pybind11/default.nix @@ -78,6 +78,12 @@ buildPythonPackage rec { "tests/extra_setuptools/test_setuphelper.py" ]; + disabledTests = lib.optionals (stdenv.isDarwin) [ + # expects KeyError, gets RuntimeError + # https://github.com/pybind/pybind11/issues/4243 + "test_cross_module_exception_translator" + ]; + meta = with lib; { homepage = "https://github.com/pybind/pybind11"; changelog = "https://github.com/pybind/pybind11/blob/${src.rev}/docs/changelog.rst";