snakemake-interface-software-deployment-plugins 0.18.6__tar.gz → 0.19.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/CHANGELOG.md +22 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/PKG-INFO +3 -3
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/pyproject.toml +3 -3
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/snakemake_interface_software_deployment_plugins/__init__.py +3 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/snakemake_interface_software_deployment_plugins/tests.py +15 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/.github/workflows/conventional-prs.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/.github/workflows/release-please.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/.github/workflows/test.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/.gitignore +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/LICENSE +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/README.md +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/snakemake_interface_software_deployment_plugins/_common.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/snakemake_interface_software_deployment_plugins/registry/__init__.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/snakemake_interface_software_deployment_plugins/registry/plugin.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/snakemake_interface_software_deployment_plugins/settings.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/tests/test_interface.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.2}/tests/test_py37.py +0 -0
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.19.2](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.19.1...v0.19.2) (2026-09-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* pass envvars to test environments ([#67](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/issues/67)) ([9faf962](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/commit/9faf962083390ab5dfb9ae7fcc9844a00f316f22))
|
|
9
|
+
|
|
10
|
+
## [0.19.1](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.19.0...v0.19.1) (2026-09-07)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* update twine to match changes in hatchling ([ab1db16](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/commit/ab1db1637eb086e09907d960f3c639a556260b8b))
|
|
16
|
+
|
|
17
|
+
## [0.19.0](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.18.6...v0.19.0) (2026-09-07)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* add method for workspace setup within tmp_path ([48591e7](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/commit/48591e70773b4b58f32d2c2f019c7cbd9a9fdec6))
|
|
23
|
+
* provide envvars set for passing them to environments/containers ([#65](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/issues/65)) ([ab0aa11](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/commit/ab0aa1198bdece1d0a96f6c59202f0b32d0fd5fd))
|
|
24
|
+
|
|
3
25
|
## [0.18.6](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.18.5...v0.18.6) (2026-08-05)
|
|
4
26
|
|
|
5
27
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: snakemake-interface-software-deployment-plugins
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.19.2
|
|
4
4
|
Summary: This package provides a stable interface for interactions between Snakemake and its software deployment plugins.
|
|
5
5
|
Project-URL: repository, https://github.com/snakemake/snakemake-interface-software-deployment-plugins
|
|
6
6
|
Project-URL: homepage, https://snakemake.github.io
|
|
@@ -9,7 +9,7 @@ License-Expression: MIT
|
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
Requires-Python: <4.0,>=3.11
|
|
11
11
|
Requires-Dist: argparse-dataclass<3.0,>=2.0.0
|
|
12
|
-
Requires-Dist: snakemake-interface-common<2.0.0,>=1.23.
|
|
12
|
+
Requires-Dist: snakemake-interface-common<2.0.0,>=1.23.1
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
|
|
15
15
|
# Stable interfaces and functionality for Snakemake software deployment plugins
|
|
@@ -6,11 +6,11 @@ description = "This package provides a stable interface for interactions between
|
|
|
6
6
|
license = "MIT"
|
|
7
7
|
name = "snakemake-interface-software-deployment-plugins"
|
|
8
8
|
readme = "README.md"
|
|
9
|
-
version = "0.
|
|
9
|
+
version = "0.19.2"
|
|
10
10
|
requires-python = ">=3.11,<4.0"
|
|
11
11
|
dependencies = [
|
|
12
12
|
"argparse-dataclass >=2.0.0,<3.0",
|
|
13
|
-
"snakemake-interface-common >=1.23.
|
|
13
|
+
"snakemake-interface-common >=1.23.1,<2.0.0"
|
|
14
14
|
]
|
|
15
15
|
|
|
16
16
|
[project.urls]
|
|
@@ -60,7 +60,7 @@ exclude_lines = ["pass", "\\.\\.\\."]
|
|
|
60
60
|
fail_under = 61.0
|
|
61
61
|
|
|
62
62
|
[tool.pixi.feature.publish.pypi-dependencies]
|
|
63
|
-
twine = ">=
|
|
63
|
+
twine = ">=7.0.0,<8"
|
|
64
64
|
build = ">=1.2.2,<2"
|
|
65
65
|
|
|
66
66
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from collections.abc import Set
|
|
1
2
|
import tempfile
|
|
2
3
|
import os
|
|
3
4
|
|
|
@@ -203,6 +204,7 @@ class EnvBase(ABC):
|
|
|
203
204
|
settings,
|
|
204
205
|
shell_executable: ShellExecutable,
|
|
205
206
|
mountpoints: List[Path],
|
|
207
|
+
envvars: Set[str],
|
|
206
208
|
tempdir: Path,
|
|
207
209
|
cache_prefix: Path,
|
|
208
210
|
deployment_prefix: Path,
|
|
@@ -214,6 +216,7 @@ class EnvBase(ABC):
|
|
|
214
216
|
self.settings = settings
|
|
215
217
|
self.shell_executable = shell_executable
|
|
216
218
|
self.mountpoints = [mountpoint.absolute() for mountpoint in mountpoints]
|
|
219
|
+
self.envvars = envvars
|
|
217
220
|
self.tempdir = tempdir
|
|
218
221
|
self._deployment_prefix: Path = deployment_prefix
|
|
219
222
|
self._cache_prefix: Path = cache_prefix
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from collections.abc import Set
|
|
1
2
|
from typing import Union
|
|
2
3
|
from typing import List
|
|
3
4
|
from pathlib import Path
|
|
@@ -176,7 +177,20 @@ class TestSoftwareDeploymentBase(ABC):
|
|
|
176
177
|
source_file.cached = Path(source_file.path_or_uri)
|
|
177
178
|
return spec
|
|
178
179
|
|
|
180
|
+
def setup_workspace(self, tmp_path) -> None:
|
|
181
|
+
"""
|
|
182
|
+
Setup a workspace for testing. This method can be overridden by subclasses
|
|
183
|
+
to provide additional setup steps.
|
|
184
|
+
"""
|
|
185
|
+
pass
|
|
186
|
+
|
|
187
|
+
def get_envvars(self) -> Set[str]:
|
|
188
|
+
"""Return set of environment variables to be passed to the environment."""
|
|
189
|
+
return set()
|
|
190
|
+
|
|
179
191
|
def _get_env(self, tmp_path) -> EnvBase:
|
|
192
|
+
self.setup_workspace(tmp_path)
|
|
193
|
+
|
|
180
194
|
env_cls = self.get_env_cls()
|
|
181
195
|
spec = self._get_cached_env_spec()
|
|
182
196
|
settings = self.get_settings()
|
|
@@ -232,6 +246,7 @@ class TestSoftwareDeploymentBase(ABC):
|
|
|
232
246
|
shell_executable=self.shell_executable,
|
|
233
247
|
tempdir=tempdir,
|
|
234
248
|
mountpoints=[Path(os.getcwd())] + mountpoints,
|
|
249
|
+
envvars=self.get_envvars(),
|
|
235
250
|
deployment_prefix=deployment_prefix,
|
|
236
251
|
cache_prefix=cache_prefix,
|
|
237
252
|
pinfile_prefix=pinfile_prefix,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|