Skip to content

Commit 3eb2ba8

Browse files
committed
Merge branch 'release_24.0' into release_24.1
2 parents 1c3fd3a + d10506a commit 3eb2ba8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/galaxy/jobs/handler.py

+1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ def grab_unhandled_items(self):
188188
self.setup_query()
189189

190190
with self.app.model.engine.connect() as conn:
191+
conn = conn.execution_options(**self._grab_conn_opts)
191192
with conn.begin() as trans:
192193
try:
193194
proxy = conn.execute(self._grab_query)

lib/galaxy/tool_util/deps/mulled/invfile.lua

+2-3
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,13 @@ inv.task('build')
8888
.using(conda_image)
8989
.withHostConfig({binds = bind_args})
9090
.run('/bin/sh', '-c', preinstall
91-
.. conda_bin .. ' create --quiet --yes -p /usr/local/env --copy && '
9291
.. conda_bin .. ' install '
9392
.. channel_args .. ' '
9493
.. target_args
95-
.. ' --strict-channel-priority -p /usr/local/env --copy --yes '
94+
.. ' --strict-channel-priority -p /usr/local --copy --yes '
9695
.. verbose
9796
.. postinstall)
98-
.wrap('build/dist/env')
97+
.wrap('build/dist')
9998
.at('/usr/local')
10099
.inImage(destination_base_image)
101100
.as(repo)

lib/galaxy/tool_util/deps/mulled/mulled_build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,11 +314,11 @@ def mull_targets(
314314
if conda_version is not None:
315315
specs.append(f"conda={conda_version}")
316316
if mamba_version is not None:
317-
specs.append(f"mamba={mamba_version}")
318317
if mamba_version == "" and not specs:
319318
# If nothing but mamba without a specific version is requested,
320319
# then only run conda install if mamba is not already installed.
321320
mamba_test = "[ '[]' = \"$( conda list --json --full-name mamba )\" ]"
321+
specs.append(f"mamba={mamba_version}")
322322
conda_install = f"""conda install {verbose} --yes {" ".join(f"'{spec}'" for spec in specs)}"""
323323
involucro_args.extend(["-set", f"PREINSTALL=if {mamba_test} ; then {conda_install} ; fi"])
324324

0 commit comments

Comments
 (0)