Skip to content

Commit 899de94

Browse files
feat: add software deployment cache as item for shared fs usage (#99)
1 parent 9f37ecc commit 899de94

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

pyproject.toml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ publish = { features = ["publish"] }
3838
snakemake-interface-executor-plugins = { path = ".", editable = true }
3939
snakemake = { git = "https://github.com/snakemake/snakemake.git" }
4040
snakemake-executor-plugin-cluster-generic = { git = "https://github.com/snakemake/snakemake-executor-plugin-cluster-generic.git" }
41+
pytest = ">=8.3.5,<9"
42+
ruff = ">=0.10.0,<0.11"
43+
mypy = ">=1.15.0,<2"
44+
pytest-cov = ">=6.0.0,<7"
4145

4246
[tool.pixi.feature.dev.tasks.test]
4347
cmd = [
@@ -49,13 +53,6 @@ cmd = [
4953
]
5054
description = "Run tests and generate coverage report"
5155

52-
53-
[tool.pixi.feature.dev.dependencies]
54-
pytest = ">=8.3.5,<9"
55-
ruff = ">=0.10.0,<0.11"
56-
mypy = ">=1.15.0,<2"
57-
pytest-cov = ">=6.0.0,<7"
58-
5956
[tool.pixi.feature.dev.tasks]
6057
format = "ruff format snakemake_interface_executor_plugins"
6158
lint = "ruff check"
@@ -66,9 +63,9 @@ qc = { depends-on = ["format", "lint", "type-check"] }
6663
ignore_missing_imports = true
6764

6865
# Publish
69-
[tool.pixi.feature.publish.dependencies]
66+
[tool.pixi.feature.publish.pypi-dependencies]
7067
twine = ">=6.1.0,<7"
71-
python-build = ">=1.2.2,<2"
68+
build = ">=1.2.2,<2"
7269

7370
[tool.pixi.feature.publish.tasks]
7471
build = { cmd = "python -m build", description = "Build the package into the dist/ directory" }

snakemake_interface_executor_plugins/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ class SharedFSUsage(SettingsEnumBase):
142142
SOURCES = 3
143143
STORAGE_LOCAL_COPIES = 4
144144
SOURCE_CACHE = 5
145+
SOFTWARE_DEPLOYMENT_CACHE = 6
145146

146147
@classmethod
147148
def choices(cls) -> List[str]:
@@ -172,6 +173,7 @@ def assume_common_workdir(self) -> bool:
172173
SharedFSUsage.PERSISTENCE,
173174
SharedFSUsage.INPUT_OUTPUT,
174175
SharedFSUsage.SOFTWARE_DEPLOYMENT,
176+
SharedFSUsage.SOFTWARE_DEPLOYMENT_CACHE,
175177
)
176178
)
177179

0 commit comments

Comments
 (0)