snakemake-software-deployment-plugin-container 0.5.1__tar.gz → 0.5.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_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/CHANGELOG.md +7 -0
- {snakemake_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/PKG-INFO +1 -1
- {snakemake_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/pixi.lock +11 -11
- {snakemake_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/pyproject.toml +1 -1
- {snakemake_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/src/snakemake_software_deployment_plugin_container/__init__.py +11 -7
- {snakemake_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/.github/workflows/ci.yml +0 -0
- {snakemake_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/.github/workflows/conventional-prs.yml +0 -0
- {snakemake_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/.github/workflows/release-please.yml +0 -0
- {snakemake_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/.gitignore +0 -0
- {snakemake_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/LICENSE +0 -0
- {snakemake_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/README.md +0 -0
- {snakemake_software_deployment_plugin_container-0.5.1 → snakemake_software_deployment_plugin_container-0.5.2}/tests/test_plugin.py +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.2](https://github.com/snakemake/snakemake-software-deployment-plugin-container/compare/v0.5.1...v0.5.2) (2026-03-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* fix mount point handling ([d42e16a](https://github.com/snakemake/snakemake-software-deployment-plugin-container/commit/d42e16a8ba547897d976a3fa5b98ec9389cc4ab8))
|
|
9
|
+
|
|
3
10
|
## [0.5.1](https://github.com/snakemake/snakemake-software-deployment-plugin-container/compare/v0.5.0...v0.5.1) (2026-03-09)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: snakemake-software-deployment-plugin-container
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Project-URL: repository, https://github.com/snakemake/snakemake-software-deployment-plugin-container
|
|
5
5
|
Project-URL: documentation, https://snakemake.github.io/snakemake-plugin-catalog/plugins/software-deployment/container.html
|
|
6
6
|
Author-email: Ben Carrillo <ben.uzh@pm.me>, Johannes Köster <johannes.koester@uni-due.de>
|
|
@@ -36,7 +36,7 @@ environments:
|
|
|
36
36
|
- pypi: https://files.pythonhosted.org/packages/00/27/5ec3deed103817f19e8bd53298e724aab0b62900b3663cdd516ba3ea5b66/configargparse-1.7.3-py3-none-any.whl
|
|
37
37
|
- pypi: https://files.pythonhosted.org/packages/20/12/38679034af332785aac8774540895e234f4d07f7545804097de4b666afd8/packaging-25.0-py3-none-any.whl
|
|
38
38
|
- pypi: https://files.pythonhosted.org/packages/28/90/a4a3652e832667917383f8d34112bdb37b78a6d14efc049e22a2c8192524/snakemake_interface_common-1.23.0-py3-none-any.whl
|
|
39
|
-
- pypi: https://files.pythonhosted.org/packages/
|
|
39
|
+
- pypi: https://files.pythonhosted.org/packages/99/e4/73def54a8259bb2f9dde1426af41796bfdd5c36c71989dc7cf43f1e7c5af/snakemake_interface_software_deployment_plugins-0.16.5-py3-none-any.whl
|
|
40
40
|
- pypi: https://files.pythonhosted.org/packages/55/d6/caafad263b0e2375c2a8c586ac8b91fb7d3e363e6d1ab1e35a365d684254/udocker-1.3.17-py2.py3-none-any.whl
|
|
41
41
|
- pypi: ./
|
|
42
42
|
osx-arm64:
|
|
@@ -61,7 +61,7 @@ environments:
|
|
|
61
61
|
- pypi: https://files.pythonhosted.org/packages/00/27/5ec3deed103817f19e8bd53298e724aab0b62900b3663cdd516ba3ea5b66/configargparse-1.7.3-py3-none-any.whl
|
|
62
62
|
- pypi: https://files.pythonhosted.org/packages/20/12/38679034af332785aac8774540895e234f4d07f7545804097de4b666afd8/packaging-25.0-py3-none-any.whl
|
|
63
63
|
- pypi: https://files.pythonhosted.org/packages/28/90/a4a3652e832667917383f8d34112bdb37b78a6d14efc049e22a2c8192524/snakemake_interface_common-1.23.0-py3-none-any.whl
|
|
64
|
-
- pypi: https://files.pythonhosted.org/packages/
|
|
64
|
+
- pypi: https://files.pythonhosted.org/packages/99/e4/73def54a8259bb2f9dde1426af41796bfdd5c36c71989dc7cf43f1e7c5af/snakemake_interface_software_deployment_plugins-0.16.5-py3-none-any.whl
|
|
65
65
|
- pypi: https://files.pythonhosted.org/packages/55/d6/caafad263b0e2375c2a8c586ac8b91fb7d3e363e6d1ab1e35a365d684254/udocker-1.3.17-py2.py3-none-any.whl
|
|
66
66
|
- pypi: ./
|
|
67
67
|
dev:
|
|
@@ -126,7 +126,7 @@ environments:
|
|
|
126
126
|
- pypi: https://files.pythonhosted.org/packages/80/b4/bb7263e12aade3842b938bc5c6958cae79c5ee18992f9b9349019579da0f/pytest_cov-6.3.0-py3-none-any.whl
|
|
127
127
|
- pypi: https://files.pythonhosted.org/packages/ca/71/37daa46f89475f8582b7762ecd2722492df26421714a33e72ccc9a84d7a5/ruff-0.14.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
|
|
128
128
|
- pypi: https://files.pythonhosted.org/packages/28/90/a4a3652e832667917383f8d34112bdb37b78a6d14efc049e22a2c8192524/snakemake_interface_common-1.23.0-py3-none-any.whl
|
|
129
|
-
- pypi: https://files.pythonhosted.org/packages/
|
|
129
|
+
- pypi: https://files.pythonhosted.org/packages/99/e4/73def54a8259bb2f9dde1426af41796bfdd5c36c71989dc7cf43f1e7c5af/snakemake_interface_software_deployment_plugins-0.16.5-py3-none-any.whl
|
|
130
130
|
- pypi: https://files.pythonhosted.org/packages/55/d6/caafad263b0e2375c2a8c586ac8b91fb7d3e363e6d1ab1e35a365d684254/udocker-1.3.17-py2.py3-none-any.whl
|
|
131
131
|
- pypi: ./
|
|
132
132
|
osx-arm64:
|
|
@@ -159,7 +159,7 @@ environments:
|
|
|
159
159
|
- pypi: https://files.pythonhosted.org/packages/80/b4/bb7263e12aade3842b938bc5c6958cae79c5ee18992f9b9349019579da0f/pytest_cov-6.3.0-py3-none-any.whl
|
|
160
160
|
- pypi: https://files.pythonhosted.org/packages/b8/7c/3c1db59a10e7490f8f6f8559d1db8636cbb13dccebf18686f4e3c9d7c772/ruff-0.14.14-py3-none-macosx_11_0_arm64.whl
|
|
161
161
|
- pypi: https://files.pythonhosted.org/packages/28/90/a4a3652e832667917383f8d34112bdb37b78a6d14efc049e22a2c8192524/snakemake_interface_common-1.23.0-py3-none-any.whl
|
|
162
|
-
- pypi: https://files.pythonhosted.org/packages/
|
|
162
|
+
- pypi: https://files.pythonhosted.org/packages/99/e4/73def54a8259bb2f9dde1426af41796bfdd5c36c71989dc7cf43f1e7c5af/snakemake_interface_software_deployment_plugins-0.16.5-py3-none-any.whl
|
|
163
163
|
- pypi: https://files.pythonhosted.org/packages/55/d6/caafad263b0e2375c2a8c586ac8b91fb7d3e363e6d1ab1e35a365d684254/udocker-1.3.17-py2.py3-none-any.whl
|
|
164
164
|
- pypi: ./
|
|
165
165
|
publish:
|
|
@@ -224,7 +224,7 @@ environments:
|
|
|
224
224
|
- pypi: https://files.pythonhosted.org/packages/14/25/b208c5683343959b670dc001595f2f3737e051da617f66c31f7c4fa93abc/rich-14.3.3-py3-none-any.whl
|
|
225
225
|
- pypi: https://files.pythonhosted.org/packages/b7/46/f5af3402b579fd5e11573ce652019a67074317e18c1935cc0b4ba9b35552/secretstorage-3.5.0-py3-none-any.whl
|
|
226
226
|
- pypi: https://files.pythonhosted.org/packages/28/90/a4a3652e832667917383f8d34112bdb37b78a6d14efc049e22a2c8192524/snakemake_interface_common-1.23.0-py3-none-any.whl
|
|
227
|
-
- pypi: https://files.pythonhosted.org/packages/
|
|
227
|
+
- pypi: https://files.pythonhosted.org/packages/99/e4/73def54a8259bb2f9dde1426af41796bfdd5c36c71989dc7cf43f1e7c5af/snakemake_interface_software_deployment_plugins-0.16.5-py3-none-any.whl
|
|
228
228
|
- pypi: https://files.pythonhosted.org/packages/3a/7a/882d99539b19b1490cac5d77c67338d126e4122c8276bf640e411650c830/twine-6.2.0-py3-none-any.whl
|
|
229
229
|
- pypi: https://files.pythonhosted.org/packages/55/d6/caafad263b0e2375c2a8c586ac8b91fb7d3e363e6d1ab1e35a365d684254/udocker-1.3.17-py2.py3-none-any.whl
|
|
230
230
|
- pypi: https://files.pythonhosted.org/packages/39/08/aaaad47bc4e9dc8c725e68f9d04865dbcb2052843ff09c97b08904852d84/urllib3-2.6.3-py3-none-any.whl
|
|
@@ -272,7 +272,7 @@ environments:
|
|
|
272
272
|
- pypi: https://files.pythonhosted.org/packages/ff/9a/9afaade874b2fa6c752c36f1548f718b5b83af81ed9b76628329dab81c1b/rfc3986-2.0.0-py2.py3-none-any.whl
|
|
273
273
|
- pypi: https://files.pythonhosted.org/packages/14/25/b208c5683343959b670dc001595f2f3737e051da617f66c31f7c4fa93abc/rich-14.3.3-py3-none-any.whl
|
|
274
274
|
- pypi: https://files.pythonhosted.org/packages/28/90/a4a3652e832667917383f8d34112bdb37b78a6d14efc049e22a2c8192524/snakemake_interface_common-1.23.0-py3-none-any.whl
|
|
275
|
-
- pypi: https://files.pythonhosted.org/packages/
|
|
275
|
+
- pypi: https://files.pythonhosted.org/packages/99/e4/73def54a8259bb2f9dde1426af41796bfdd5c36c71989dc7cf43f1e7c5af/snakemake_interface_software_deployment_plugins-0.16.5-py3-none-any.whl
|
|
276
276
|
- pypi: https://files.pythonhosted.org/packages/3a/7a/882d99539b19b1490cac5d77c67338d126e4122c8276bf640e411650c830/twine-6.2.0-py3-none-any.whl
|
|
277
277
|
- pypi: https://files.pythonhosted.org/packages/55/d6/caafad263b0e2375c2a8c586ac8b91fb7d3e363e6d1ab1e35a365d684254/udocker-1.3.17-py2.py3-none-any.whl
|
|
278
278
|
- pypi: https://files.pythonhosted.org/packages/39/08/aaaad47bc4e9dc8c725e68f9d04865dbcb2052843ff09c97b08904852d84/urllib3-2.6.3-py3-none-any.whl
|
|
@@ -1326,18 +1326,18 @@ packages:
|
|
|
1326
1326
|
- configargparse>=1.7
|
|
1327
1327
|
- packaging>=24.0,<26.0
|
|
1328
1328
|
requires_python: '>=3.8'
|
|
1329
|
-
- pypi: https://files.pythonhosted.org/packages/
|
|
1329
|
+
- pypi: https://files.pythonhosted.org/packages/99/e4/73def54a8259bb2f9dde1426af41796bfdd5c36c71989dc7cf43f1e7c5af/snakemake_interface_software_deployment_plugins-0.16.5-py3-none-any.whl
|
|
1330
1330
|
name: snakemake-interface-software-deployment-plugins
|
|
1331
|
-
version: 0.16.
|
|
1332
|
-
sha256:
|
|
1331
|
+
version: 0.16.5
|
|
1332
|
+
sha256: 84599f7c5d87932d2a89fdd741c6a3a94e02c0b0a66fb2f6c5cda1d319199f6d
|
|
1333
1333
|
requires_dist:
|
|
1334
1334
|
- argparse-dataclass>=2.0.0,<3.0
|
|
1335
1335
|
- snakemake-interface-common>=1.23.0,<2.0.0
|
|
1336
1336
|
requires_python: '>=3.11,<4.0'
|
|
1337
1337
|
- pypi: ./
|
|
1338
1338
|
name: snakemake-software-deployment-plugin-container
|
|
1339
|
-
version: 0.5.
|
|
1340
|
-
sha256:
|
|
1339
|
+
version: 0.5.2
|
|
1340
|
+
sha256: ee1dab514017eaa893aa93b7a07a7aa76d015c50001fa559b5db0d9f8200dacb
|
|
1341
1341
|
requires_dist:
|
|
1342
1342
|
- snakemake-interface-common>=1.23.0,<2.0.0
|
|
1343
1343
|
- snakemake-interface-software-deployment-plugins>=0.16.0,<1.0
|
|
@@ -161,21 +161,25 @@ class RuntimeManager:
|
|
|
161
161
|
def subcommand(self) -> str:
|
|
162
162
|
return "run"
|
|
163
163
|
|
|
164
|
-
def
|
|
165
|
-
|
|
166
|
-
# always mount the temporary directory
|
|
167
|
-
for source, mountpoint in [
|
|
168
|
-
(self.env.tempdir, "/tmp"),
|
|
164
|
+
def get_mountpoint_args(self) -> str:
|
|
165
|
+
mountpoint_specs = [
|
|
169
166
|
(self.env.tempdir, self.env.tempdir),
|
|
170
167
|
(getcwd(), getcwd()),
|
|
171
|
-
]
|
|
168
|
+
] + [(mountpoint, mountpoint) for mountpoint in self.env.mountpoints]
|
|
169
|
+
|
|
170
|
+
mountpoints = ""
|
|
171
|
+
# always mount the temporary directory
|
|
172
|
+
for source, mountpoint in mountpoint_specs:
|
|
172
173
|
mountpoints += f" {self.mount_option()} {str(source)!r}:{str(mountpoint)!r}"
|
|
173
174
|
for mountpoint in self.env.settings.mountpoints:
|
|
174
175
|
mountpoints += f" {self.mount_option()} {mountpoint!r}"
|
|
175
176
|
return mountpoints
|
|
176
177
|
|
|
178
|
+
# TODO add TEMPDIR env vars, ensure that in addition /tmp is writable
|
|
179
|
+
# in case it is not the same as self.tempdir
|
|
180
|
+
|
|
177
181
|
def decorate_shellcmd(self, cmd: str) -> str:
|
|
178
|
-
mountpoints = self.
|
|
182
|
+
mountpoints = self.get_mountpoint_args()
|
|
179
183
|
return (
|
|
180
184
|
f"{self.env.settings.runtime} {self.subcommand()}"
|
|
181
185
|
f" {self.options()}"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|