snakemake-interface-software-deployment-plugins 0.18.6__tar.gz → 0.19.1__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.1}/CHANGELOG.md +15 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/PKG-INFO +3 -3
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/pyproject.toml +3 -3
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/snakemake_interface_software_deployment_plugins/__init__.py +3 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/snakemake_interface_software_deployment_plugins/tests.py +9 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/.github/workflows/conventional-prs.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/.github/workflows/release-please.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/.github/workflows/test.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/.gitignore +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/LICENSE +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/README.md +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/snakemake_interface_software_deployment_plugins/_common.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/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.1}/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.1}/snakemake_interface_software_deployment_plugins/settings.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/tests/test_interface.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.6 → snakemake_interface_software_deployment_plugins-0.19.1}/tests/test_py37.py +0 -0
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.19.1](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.19.0...v0.19.1) (2026-09-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update twine to match changes in hatchling ([ab1db16](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/commit/ab1db1637eb086e09907d960f3c639a556260b8b))
|
|
9
|
+
|
|
10
|
+
## [0.19.0](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.18.6...v0.19.0) (2026-09-07)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add method for workspace setup within tmp_path ([48591e7](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/commit/48591e70773b4b58f32d2c2f019c7cbd9a9fdec6))
|
|
16
|
+
* 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))
|
|
17
|
+
|
|
3
18
|
## [0.18.6](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.18.5...v0.18.6) (2026-08-05)
|
|
4
19
|
|
|
5
20
|
|
|
@@ -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.1
|
|
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.1"
|
|
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
|
|
@@ -176,7 +176,16 @@ class TestSoftwareDeploymentBase(ABC):
|
|
|
176
176
|
source_file.cached = Path(source_file.path_or_uri)
|
|
177
177
|
return spec
|
|
178
178
|
|
|
179
|
+
def setup_workspace(self, tmp_path) -> None:
|
|
180
|
+
"""
|
|
181
|
+
Setup a workspace for testing. This method can be overridden by subclasses
|
|
182
|
+
to provide additional setup steps.
|
|
183
|
+
"""
|
|
184
|
+
pass
|
|
185
|
+
|
|
179
186
|
def _get_env(self, tmp_path) -> EnvBase:
|
|
187
|
+
self.setup_workspace(tmp_path)
|
|
188
|
+
|
|
180
189
|
env_cls = self.get_env_cls()
|
|
181
190
|
spec = self._get_cached_env_spec()
|
|
182
191
|
settings = self.get_settings()
|
|
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
|