python3Packages.jpylyzer: 2.1.0 -> 2.2.0

This commit is contained in:
Martin Weinelt
2024-03-12 18:24:28 +01:00
parent c1bddea502
commit a706acbac0
@@ -1,5 +1,4 @@
{ lib
, stdenv
, fetchFromGitHub
, buildPythonPackage
, six
@@ -24,14 +23,14 @@ let
in buildPythonPackage rec {
pname = "jpylyzer";
version = "2.1.0";
version = "2.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "openpreserve";
repo = pname;
rev = version;
hash = "sha256-LBVOwjWC/HEvGgoi8WxEdl33M4JrfdHEj1Dk7f1NAiA=";
hash = "sha256-SK6Z+JkFBD9V99reRZf+jM8Z2SiDNSG72gusp2FPfmI=";
};
propagatedBuildInputs = [ six ];
@@ -43,6 +42,12 @@ in buildPythonPackage rec {
preCheck = lib.optionalString doFullCheck ''
sed -i '/^testFilesDir = /ctestFilesDir = "${testFiles}"' tests/unit/test_testfiles.py
'';
disabledTests = [
# missing file, but newer test files breaks other tests
"test_groundtruth_complete"
];
disabledTestPaths = lib.optionals (!doFullCheck) [
"tests/unit/test_testfiles.py"
];