python3Packages.snakemake-interface-storage-plugins: cleanup

This commit is contained in:
Gaetan Lepage
2026-05-22 08:40:29 +00:00
parent 2a78a9a10c
commit 5e8d069fe3
@@ -13,6 +13,14 @@
tenacity,
throttler,
wrapt,
# tests
pytestCheckHook,
snakemake,
snakemake-storage-plugin-http,
# passthru
snakemake-interface-storage-plugins,
}:
buildPythonPackage (finalAttrs: {
@@ -41,8 +49,24 @@ buildPythonPackage (finalAttrs: {
pythonImportsCheck = [ "snakemake_interface_storage_plugins" ];
# No tests
nativeCheckInputs = [
pytestCheckHook
snakemake
snakemake-storage-plugin-http
];
enabledTestPaths = [ "tests/tests.py" ];
disabledTests = [
# Requires internet access
"test_storage"
];
# Circular dependency with snakemake
doCheck = false;
passthru.tests.pytest = snakemake-interface-storage-plugins.overridePythonAttrs {
doCheck = true;
};
meta = {
description = "Stable interface for interactions between Snakemake and its storage plugins";