From a534044158802d6036175ab3651d09890e8bf8d4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 May 2025 15:53:33 +0000 Subject: [PATCH 1/2] python3Packages.plotpy: 2.7.3 -> 2.7.4 --- pkgs/development/python-modules/plotpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/plotpy/default.nix b/pkgs/development/python-modules/plotpy/default.nix index f3cb2f24568c..4ea7834f2a40 100644 --- a/pkgs/development/python-modules/plotpy/default.nix +++ b/pkgs/development/python-modules/plotpy/default.nix @@ -32,14 +32,14 @@ buildPythonPackage rec { pname = "plotpy"; - version = "2.7.3"; + version = "2.7.4"; pyproject = true; src = fetchFromGitHub { owner = "PlotPyStack"; repo = "PlotPy"; tag = "v${version}"; - hash = "sha256-Z8aCDTBRdksbjjH5P+OXln3CHciw1MuYQN3K6KOcouk="; + hash = "sha256-FmSFcCAJZyzD9qRE+L2oxWtyh2spJSLRq+xtx4e1Rhg="; }; build-system = [ From 8243bff832f79aeaed17e36dee8babe85909c843 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Mon, 12 May 2025 22:39:26 +0300 Subject: [PATCH 2/2] python312Packages.plotpy: put failing passthru.tests aside --- .../python-modules/plotpy/default.nix | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/plotpy/default.nix b/pkgs/development/python-modules/plotpy/default.nix index 4ea7834f2a40..923ec62e533a 100644 --- a/pkgs/development/python-modules/plotpy/default.nix +++ b/pkgs/development/python-modules/plotpy/default.nix @@ -85,27 +85,32 @@ buildPythonPackage rec { passthru = { tests = { - # Upstream doesn't officially supports all of them, although they use - # qtpy, see: https://github.com/PlotPyStack/PlotPy/issues/20 . When this - # package was created, all worked besides withPySide2, with which there - # was a peculiar segmentation fault during the tests. In anycase, PySide2 - # shouldn't be used for modern applications. withPyQt6 = plotpy.override { pyqt6 = pyqt6; qt6 = qt6; }; - withPySide6 = plotpy.override { - pyqt6 = pyside6; - qt6 = qt6; - }; withPyQt5 = plotpy.override { pyqt6 = pyqt5; qt6 = qt5; }; + }; + # Upstream doesn't officially supports all of them, although they use + # qtpy, see: https://github.com/PlotPyStack/PlotPy/issues/20 + knownFailingTests = { + # Was failing with a peculiar segmentation fault during the tests, since + # this package was added to Nixpkgs. This is not too bad as PySide2 + # shouldn't be used for modern applications. withPySide2 = plotpy.override { pyqt6 = pyside2; qt6 = qt5; }; + # Has started failing too similarly to pyside2, ever since a certain + # version bump. See also: + # https://github.com/PlotPyStack/PlotPy/blob/v2.7.4/README.md?plain=1#L62 + withPySide6 = plotpy.override { + pyqt6 = pyside6; + qt6 = qt6; + }; }; };