snakemake-interface-software-deployment-plugins 0.19.2__tar.gz → 0.20.0__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.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/CHANGELOG.md +7 -0
  2. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/PKG-INFO +1 -1
  3. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/pyproject.toml +1 -1
  4. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/snakemake_interface_software_deployment_plugins/__init__.py +11 -0
  5. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/.github/workflows/conventional-prs.yml +0 -0
  6. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/.github/workflows/release-please.yml +0 -0
  7. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/.github/workflows/test.yml +0 -0
  8. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/.gitignore +0 -0
  9. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/LICENSE +0 -0
  10. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/README.md +0 -0
  11. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/snakemake_interface_software_deployment_plugins/_common.py +0 -0
  12. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/snakemake_interface_software_deployment_plugins/registry/__init__.py +0 -0
  13. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/snakemake_interface_software_deployment_plugins/registry/plugin.py +0 -0
  14. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/snakemake_interface_software_deployment_plugins/settings.py +0 -0
  15. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/snakemake_interface_software_deployment_plugins/tests.py +0 -0
  16. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/tests/test_interface.py +0 -0
  17. {snakemake_interface_software_deployment_plugins-0.19.2 → snakemake_interface_software_deployment_plugins-0.20.0}/tests/test_py37.py +0 -0
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.20.0](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.19.2...v0.20.0) (2026-09-17)
4
+
5
+
6
+ ### Features
7
+
8
+ * expose self.deployment_prefix to subclasses ([#69](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/issues/69)) ([6a41c08](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/commit/6a41c08f22d512373a87f6d8101c6f65eb8d0ce5))
9
+
3
10
  ## [0.19.2](https://github.com/snakemake/snakemake-interface-software-deployment-plugins/compare/v0.19.1...v0.19.2) (2026-09-07)
4
11
 
5
12
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: snakemake-interface-software-deployment-plugins
3
- Version: 0.19.2
3
+ Version: 0.20.0
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.19.2"
9
+ version = "0.20.0"
10
10
  requires-python = ">=3.11,<4.0"
11
11
  dependencies = [
12
12
  "argparse-dataclass >=2.0.0,<3.0",
@@ -488,3 +488,14 @@ class DeployableEnvBase(EnvBase, ABC):
488
488
  def deployment_path(self) -> Path:
489
489
  assert self._deployment_prefix is not None
490
490
  return self._deployment_prefix / self.deployment_hash()
491
+
492
+ @property
493
+ def deployment_prefix(self) -> Path:
494
+ """Return the deployment prefix, which is the base directory where the
495
+ environment will be deployed. The actual deployment path is determined by
496
+ appending the deployment hash to this prefix.
497
+
498
+ It is allowed to use this prefix for further deployment related
499
+ subdirectories, e.g. for storing unpacked assets.
500
+ """
501
+ return self._deployment_prefix