File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,7 @@ def grab_unhandled_items(self):
188
188
self .setup_query ()
189
189
190
190
with self .app .model .engine .connect () as conn :
191
+ conn = conn .execution_options (** self ._grab_conn_opts )
191
192
with conn .begin () as trans :
192
193
try :
193
194
proxy = conn .execute (self ._grab_query )
Original file line number Diff line number Diff line change @@ -88,14 +88,13 @@ inv.task('build')
88
88
.using (conda_image )
89
89
.withHostConfig ({binds = bind_args })
90
90
.run (' /bin/sh' , ' -c' , preinstall
91
- .. conda_bin .. ' create --quiet --yes -p /usr/local/env --copy && '
92
91
.. conda_bin .. ' install '
93
92
.. channel_args .. ' '
94
93
.. target_args
95
- .. ' --strict-channel-priority -p /usr/local/env --copy --yes '
94
+ .. ' --strict-channel-priority -p /usr/local --copy --yes '
96
95
.. verbose
97
96
.. postinstall )
98
- .wrap (' build/dist/env ' )
97
+ .wrap (' build/dist' )
99
98
.at (' /usr/local' )
100
99
.inImage (destination_base_image )
101
100
.as (repo )
Original file line number Diff line number Diff line change @@ -314,11 +314,11 @@ def mull_targets(
314
314
if conda_version is not None :
315
315
specs .append (f"conda={ conda_version } " )
316
316
if mamba_version is not None :
317
- specs .append (f"mamba={ mamba_version } " )
318
317
if mamba_version == "" and not specs :
319
318
# If nothing but mamba without a specific version is requested,
320
319
# then only run conda install if mamba is not already installed.
321
320
mamba_test = "[ '[]' = \" $( conda list --json --full-name mamba )\" ]"
321
+ specs .append (f"mamba={ mamba_version } " )
322
322
conda_install = f"""conda install { verbose } --yes { " " .join (f"'{ spec } '" for spec in specs )} """
323
323
involucro_args .extend (["-set" , f"PREINSTALL=if { mamba_test } ; then { conda_install } ; fi" ])
324
324
You can’t perform that action at this time.
0 commit comments