You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To echo @bollwyvl's issues, super excited about task args! It looks like there is a missing piece for my use-case, though, trying to enable customisable parallelism. Relevant section of my pixi.toml:
This fails for two reasons. In the first place, there are errors like
Error: × Unexpected keys, expected only 'cmd', 'depends-on', 'description'
╭─[/Users/lucascolley/programming/xsf/pixi.toml:74:13]
73 │ ]
74 │ build-tests.args = [{ arg = "parallel", default = "2" }]
· ──┬─
· ╰── 'args' was not expected here
75 │ # just run tests
╰────
which can be remedied by specifying a 'dummy' command ":". But this is just a symptom of the wider problem:
xsf on 🎋 task-args [🔨] via △ took 3s
❯ pixi run build-tests
✨ Pixi task (configure-tests in dev): cmake -DBUILD_TESTS=ON "-S ." "-B build"
-- Arrow version: 19.0.1
-- Found the Arrow shared library: /Users/lucascolley/programming/xsf/./.pixi/envs/dev/lib/libarrow.1900.1.0.dylib
-- Found the Arrow import library: ARROW_IMPORT_LIB-NOTFOUND
-- Found the Arrow static library:
-- Parquet version: 19.0.1
-- Found the Parquet shared library: /Users/lucascolley/programming/xsf/./.pixi/envs/dev/lib/libparquet.1900.1.0.dylib
-- Found the Parquet import library: PARQUET_IMPORT_LIB-NOTFOUND
-- Found the Parquet static library:
-- Configuring done (0.8s)
-- Generating done (1.0s)
-- Build files have been written to: /Users/lucascolley/programming/xsf/./build
✨ Pixi task (build-only in dev): cmake --build build "-j{{ parallel }}"
Error: × The task failed to parse
├─▶ Failed to replace argument placeholders. Task: 'cmake --build build "-j{{ parallel }}" '
╰─▶ unresolved argument placeholders found
So the enhancement request is to enable arg templating in depends-on, not just cmd.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Problem description
Closely related to gh-3533.
To echo @bollwyvl's issues, super excited about task args! It looks like there is a missing piece for my use-case, though, trying to enable customisable parallelism. Relevant section of my
pixi.toml
:This fails for two reasons. In the first place, there are errors like
which can be remedied by specifying a 'dummy' command
":"
. But this is just a symptom of the wider problem:So the enhancement request is to enable arg templating in
depends-on
, not justcmd
.The text was updated successfully, but these errors were encountered: