snakemake-interface-software-deployment-plugins 0.16.2__tar.gz → 0.16.4__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.
Files changed (17) hide show
  1. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/CHANGELOG.md +14 -0
  2. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/PKG-INFO +1 -1
  3. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/pyproject.toml +1 -1
  4. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/snakemake_interface_software_deployment_plugins/__init__.py +1 -1
  5. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/snakemake_interface_software_deployment_plugins/tests.py +8 -5
  6. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/.github/workflows/conventional-prs.yml +0 -0
  7. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/.github/workflows/release-please.yml +0 -0
  8. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/.github/workflows/test.yml +0 -0
  9. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/.gitignore +0 -0
  10. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/LICENSE +0 -0
  11. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/README.md +0 -0
  12. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/snakemake_interface_software_deployment_plugins/_common.py +0 -0
  13. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/snakemake_interface_software_deployment_plugins/registry/__init__.py +0 -0
  14. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/snakemake_interface_software_deployment_plugins/registry/plugin.py +0 -0
  15. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/snakemake_interface_software_deployment_plugins/settings.py +0 -0
  16. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/tests/test_interface.py +0 -0
  17. {snakemake_interface_software_deployment_plugins-0.16.2 → snakemake_interface_software_deployment_plugins-0.16.4}/tests/test_py37.py +0 -0
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.16.4](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.16.3...v0.16.4) (2026-03-10)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * temp handling in test suite ([3e0c64b](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/commit/3e0c64b98023332e86aeea3f48ffb3fbe03c20b7))
9
+
10
+ ## [0.16.3](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.16.2...v0.16.3) (2026-03-09)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * return Env class from EnvSpec ([4cecce6](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/commit/4cecce6a7f6271915e189ca7bb83f78cd51b76ab))
16
+
3
17
  ## [0.16.2](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.16.1...v0.16.2) (2026-03-09)
4
18
 
5
19
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: snakemake-interface-software-deployment-plugins
3
- Version: 0.16.2
3
+ Version: 0.16.4
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
  Author-email: Johannes Köster <johannes.koester@uni-due.de>
@@ -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.16.2"
9
+ version = "0.16.4"
10
10
  requires-python = ">=3.11,<4.0"
11
11
  dependencies = [
12
12
  "argparse-dataclass >=2.0.0,<3.0",
@@ -64,7 +64,7 @@ class EnvSpecBase(ABC):
64
64
  @classmethod
65
65
  def env_cls(cls) -> Type["EnvBase"]:
66
66
  try:
67
- return cls.module().EnvBase
67
+ return cls.module().Env
68
68
  except AttributeError:
69
69
  raise AttributeError(
70
70
  "No class Env found next to EnvSpec class. "
@@ -194,12 +194,15 @@ class TestSoftwareDeploymentBase(ABC):
194
194
  tmp_path,
195
195
  within: Optional[EnvBase] = None,
196
196
  ) -> EnvBase:
197
- tmp_name = spec.module().__name__
197
+ provider = spec.module().__name__
198
+
199
+ # tempdir should not be env provider specific but global
200
+ tempdir = tmp_path / "temp"
201
+ # everything below is env provider specific
202
+ deployment_prefix = tmp_path / provider / "deployments"
203
+ cache_prefix = tmp_path / provider / "cache"
204
+ pinfile_prefix = tmp_path / provider / "pinfiles"
198
205
 
199
- tempdir = tmp_path / tmp_name / "temp"
200
- deployment_prefix = tmp_path / tmp_name / "deployments"
201
- cache_prefix = tmp_path / tmp_name / "cache"
202
- pinfile_prefix = tmp_path / tmp_name / "pinfiles"
203
206
  tempdir.mkdir(parents=True, exist_ok=True)
204
207
  deployment_prefix.mkdir(parents=True, exist_ok=True)
205
208
  cache_prefix.mkdir(parents=True, exist_ok=True)