From 1db6095be124c1622252892cb88ec892076b3587 Mon Sep 17 00:00:00 2001 From: Moraxyc Date: Fri, 21 Feb 2025 01:23:20 +0800 Subject: [PATCH] python312Packages.matplotlib-venn: fix build --- .../python-modules/matplotlib-venn/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/matplotlib-venn/default.nix b/pkgs/development/python-modules/matplotlib-venn/default.nix index 51a164faba6d..f4fbb44863f5 100644 --- a/pkgs/development/python-modules/matplotlib-venn/default.nix +++ b/pkgs/development/python-modules/matplotlib-venn/default.nix @@ -1,17 +1,19 @@ { lib, + stdenv, fetchPypi, buildPythonPackage, setuptools, matplotlib, numpy, scipy, + shapely, pytestCheckHook, }: buildPythonPackage rec { - version = "1.1.1"; pname = "matplotlib-venn"; + version = "1.1.1"; pyproject = true; @@ -26,6 +28,12 @@ buildPythonPackage rec { matplotlib numpy scipy + shapely + ]; + + disabledTests = [ + # See https://github.com/konstantint/matplotlib-venn/issues/85 + "matplotlib_venn.layout.venn3.cost_based.LayoutAlgorithm" ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -36,5 +44,6 @@ buildPythonPackage rec { changelog = "https://github.com/konstantint/matplotlib-venn/releases/tag/${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ moraxyc ]; + broken = stdenv.hostPlatform.isDarwin; # https://github.com/konstantint/matplotlib-venn/issues/87 }; }