python3Packages.swh-scanner: disable tests failing on click >= 8.2.0
The patch is no longer needed because the respective test is now disabled.
This commit is contained in:
committed by
Robert Schütz
parent
7313cf858d
commit
204fe9a377
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitLab,
|
||||
fetchpatch,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
requests,
|
||||
@@ -36,15 +35,6 @@ buildPythonPackage rec {
|
||||
hash = "sha256-baUUuYFapBD7iuDaDP8CSR9f4glVZcS5qBpZddVf7z8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# To be removed at the next release
|
||||
# See https://gitlab.softwareheritage.org/swh/devel/swh-scanner/-/merge_requests/160
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.softwareheritage.org/swh/devel/swh-scanner/-/commit/0eb273475826b0074844c7619b767c052562cfe4.patch";
|
||||
hash = "sha256-i3hpaQJmHpIYgix+/npICQGtJ/IKVRXcCTm2O1VsR9M=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
@@ -78,6 +68,8 @@ buildPythonPackage rec {
|
||||
disabledTestPaths = [
|
||||
# pytestRemoveBytecodePhase fails with: "error (ignored): error: opening directory "/tmp/nix-build-python3.12-swh-scanner-0.8.3.drv-5/build/pytest-of-nixbld/pytest-0/test_randomdir_policy_info_cal0/big-directory/dir/dir/dir/ ......"
|
||||
"swh/scanner/tests/test_policy.py"
|
||||
# TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'
|
||||
"swh/scanner/tests/test_cli.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user