snakemake-interface-software-deployment-plugins 0.18.0__tar.gz → 0.18.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.0 → snakemake_interface_software_deployment_plugins-0.18.1}/CHANGELOG.md +7 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/PKG-INFO +1 -1
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/pyproject.toml +1 -1
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/snakemake_interface_software_deployment_plugins/tests.py +13 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/.github/workflows/conventional-prs.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/.github/workflows/release-please.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/.github/workflows/test.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/.gitignore +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/LICENSE +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/README.md +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/snakemake_interface_software_deployment_plugins/__init__.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/snakemake_interface_software_deployment_plugins/_common.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/snakemake_interface_software_deployment_plugins/registry/__init__.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/snakemake_interface_software_deployment_plugins/registry/plugin.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/snakemake_interface_software_deployment_plugins/settings.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/tests/test_interface.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.0 → snakemake_interface_software_deployment_plugins-0.18.1}/tests/test_py37.py +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.18.1](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.18.0...v0.18.1) (2026-06-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* handle suffix replacement in test suite ([8197cfa](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/commit/8197cfa37baa10852f0ac40944963e821fc25df0))
|
|
9
|
+
|
|
3
10
|
## [0.18.0](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.17.0...v0.18.0) (2026-06-02)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: snakemake-interface-software-deployment-plugins
|
|
3
|
-
Version: 0.18.
|
|
3
|
+
Version: 0.18.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
|
|
@@ -6,7 +6,7 @@ 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.18.
|
|
9
|
+
version = "0.18.1"
|
|
10
10
|
requires-python = ">=3.11,<4.0"
|
|
11
11
|
dependencies = [
|
|
12
12
|
"argparse-dataclass >=2.0.0,<3.0",
|
|
@@ -165,6 +165,12 @@ class TestSoftwareDeploymentBase(ABC):
|
|
|
165
165
|
for attr in spec.source_path_attributes():
|
|
166
166
|
source_file = getattr(spec, attr)
|
|
167
167
|
if source_file is not None:
|
|
168
|
+
if source_file.suffix_replacement is not None:
|
|
169
|
+
source_file.path_or_uri = _replace_suffix(
|
|
170
|
+
source_file.path_or_uri,
|
|
171
|
+
source_file.suffix_replacement.old_suffixes,
|
|
172
|
+
source_file.suffix_replacement.new_suffix,
|
|
173
|
+
)
|
|
168
174
|
source_file.cached = source_file.path_or_uri
|
|
169
175
|
return spec
|
|
170
176
|
|
|
@@ -237,3 +243,10 @@ class TestSoftwareDeploymentBase(ABC):
|
|
|
237
243
|
assert isinstance(env, DeployableEnvBase)
|
|
238
244
|
asyncio.run(env.deploy())
|
|
239
245
|
assert any((tmp_path / env.spec.module().__name__ / "deployments").iterdir())
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
def _replace_suffix(path: str, suffix: List[str], replacement: str) -> Optional[str]:
|
|
249
|
+
for suff in suffix:
|
|
250
|
+
if path.endswith(suff):
|
|
251
|
+
return path[: -len(suff)] + replacement
|
|
252
|
+
return None
|
|
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
|
|
File without changes
|