python3Packages.plopp: disable failing test on python>=3.14
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonAtLeast,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -33,7 +34,7 @@
|
||||
fetchurl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "plopp";
|
||||
version = "25.11.0";
|
||||
pyproject = true;
|
||||
@@ -41,7 +42,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "scipp";
|
||||
repo = "plopp";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-3vmHRPjv7iUd6ky7XzfdChpAI++ELh6vwmtELK7dwaE=";
|
||||
};
|
||||
|
||||
@@ -73,6 +74,11 @@ buildPythonPackage rec {
|
||||
xarray
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.14") [
|
||||
# RuntimeError: There is no current event loop in thread 'MainThread'
|
||||
"test_move_cut"
|
||||
];
|
||||
|
||||
env = {
|
||||
# See: https://github.com/scipp/plopp/blob/25.05.0/src/plopp/data/examples.py
|
||||
PLOPP_DATA_DIR =
|
||||
@@ -114,4 +120,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user