snakemake-interface-software-deployment-plugins 0.18.1__tar.gz → 0.18.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.1 → snakemake_interface_software_deployment_plugins-0.18.2}/CHANGELOG.md +7 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/PKG-INFO +1 -1
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/pyproject.toml +1 -1
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/snakemake_interface_software_deployment_plugins/tests.py +6 -3
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/.github/workflows/conventional-prs.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/.github/workflows/release-please.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/.github/workflows/test.yml +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/.gitignore +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/LICENSE +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/README.md +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/snakemake_interface_software_deployment_plugins/__init__.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/snakemake_interface_software_deployment_plugins/_common.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/snakemake_interface_software_deployment_plugins/registry/__init__.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/snakemake_interface_software_deployment_plugins/registry/plugin.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/snakemake_interface_software_deployment_plugins/settings.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/tests/test_interface.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.18.1 → snakemake_interface_software_deployment_plugins-0.18.2}/tests/test_py37.py +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.18.2](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.18.1...v0.18.2) (2026-06-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* suffix replacement Path handling ([7e9f39f](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/commit/7e9f39f9bac6e80a870b2cc2088280b619331e2c))
|
|
9
|
+
|
|
3
10
|
## [0.18.1](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.18.0...v0.18.1) (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.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
|
|
@@ -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.2"
|
|
10
10
|
requires-python = ">=3.11,<4.0"
|
|
11
11
|
dependencies = [
|
|
12
12
|
"argparse-dataclass >=2.0.0,<3.0",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from typing import Union
|
|
1
2
|
from typing import List
|
|
2
3
|
from pathlib import Path
|
|
3
4
|
from abc import ABC, abstractmethod
|
|
@@ -171,7 +172,8 @@ class TestSoftwareDeploymentBase(ABC):
|
|
|
171
172
|
source_file.suffix_replacement.old_suffixes,
|
|
172
173
|
source_file.suffix_replacement.new_suffix,
|
|
173
174
|
)
|
|
174
|
-
|
|
175
|
+
source_file.suffix_replacement = None
|
|
176
|
+
source_file.cached = Path(source_file.path_or_uri)
|
|
175
177
|
return spec
|
|
176
178
|
|
|
177
179
|
def _get_env(self, tmp_path) -> EnvBase:
|
|
@@ -245,8 +247,9 @@ class TestSoftwareDeploymentBase(ABC):
|
|
|
245
247
|
assert any((tmp_path / env.spec.module().__name__ / "deployments").iterdir())
|
|
246
248
|
|
|
247
249
|
|
|
248
|
-
def _replace_suffix(path: str, suffix: List[str], replacement: str) ->
|
|
250
|
+
def _replace_suffix(path: Union[Path, str], suffix: List[str], replacement: str) -> str:
|
|
251
|
+
path = str(path)
|
|
249
252
|
for suff in suffix:
|
|
250
253
|
if path.endswith(suff):
|
|
251
254
|
return path[: -len(suff)] + replacement
|
|
252
|
-
|
|
255
|
+
raise ValueError(f"Path {path} does not end with any of the suffixes {suffix}")
|
|
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
|