python3Packages.pyqtgraph: skip the failing tests (#513973)
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
let
|
||||
fontsConf = makeFontsConf { fontDirectories = [ freefont_ttf ]; };
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pyqtgraph";
|
||||
version = "0.14.0";
|
||||
pyproject = true;
|
||||
@@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "pyqtgraph";
|
||||
repo = "pyqtgraph";
|
||||
tag = "pyqtgraph-${version}";
|
||||
tag = "pyqtgraph-${finalAttrs.version}";
|
||||
hash = "sha256-T5rhaBtcKP/sYjCmYNMYR0BGttkiLhWTfEbZNeAdJJ0=";
|
||||
};
|
||||
|
||||
@@ -70,10 +70,11 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# ZeroDivisionError: float division by zero
|
||||
# See https://github.com/pyqtgraph/pyqtgraph/issues/3485
|
||||
"test_maps_tick_values_to_local_times"
|
||||
"test_maps_hour_ticks_to_local_times_when_skip_greater_than_one"
|
||||
|
||||
"test_plotscene"
|
||||
"test_simple"
|
||||
]
|
||||
++ lib.optionals (!stdenv.hostPlatform.isx86) [
|
||||
# small precision-related differences on other architectures,
|
||||
@@ -89,7 +90,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Scientific Graphics and GUI Library for Python";
|
||||
homepage = "https://www.pyqtgraph.org/";
|
||||
changelog = "https://github.com/pyqtgraph/pyqtgraph/blob/${src.tag}/CHANGELOG";
|
||||
changelog = "https://github.com/pyqtgraph/pyqtgraph/blob/${finalAttrs.src.tag}/CHANGELOG";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [
|
||||
@@ -97,4 +98,4 @@ buildPythonPackage rec {
|
||||
doronbehar
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user