python3Packages.swh-core: cleanup, skip failing tests on python>=3.14
This commit is contained in:
@@ -3,6 +3,13 @@
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitLab,
|
||||
pythonAtLeast,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
|
||||
# dependencies
|
||||
backports-entry-points-selectable,
|
||||
click,
|
||||
deprecated,
|
||||
@@ -11,8 +18,8 @@
|
||||
requests,
|
||||
sentry-sdk,
|
||||
tenacity,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
|
||||
# tests
|
||||
aiohttp-utils,
|
||||
flask,
|
||||
hypothesis,
|
||||
@@ -114,6 +121,13 @@ buildPythonPackage (finalAttrs: {
|
||||
pkgs.zstd
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals (pythonAtLeast "3.14") [
|
||||
# shutil.RegistryError: .tar.zst is already registered for "zstdtar"
|
||||
"swh/core/tests/test_cli_nar.py"
|
||||
"swh/core/tests/test_nar.py"
|
||||
"swh/core/tests/test_tarball.py"
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# FileExistsError: [Errno 17] File exists:
|
||||
"test_uncompress_upper_archive_extension"
|
||||
|
||||
Reference in New Issue
Block a user