python3Packages.plotpy: 2.7.3 -> 2.7.4 (#406491)

This commit is contained in:
Doron Behar
2025-05-13 10:51:31 +03:00
committed by GitHub
@@ -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 = [
@@ -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;
};
};
};