Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 22, 2025

This PR contains the following updates:

Package Update Change
pixi minor v0.45.0 -> v0.46.0

Release Notes

prefix-dev/pixi (pixi)

v0.46.0: 0.46.0 - 2025-04-22

Compare Source

Release Notes
⚠️ Breaking Change

arg names in tasks can no longer contain dashes (-).
This restriction is due to the integration of Minijinja for rendering tasks, where dashes could be misinterpreted as a subtraction operator.

✨ Highlights

This release comes with another set of features for the tasks!

  • The command of a task is now able to use minijinja for rendering the command.
 [tasks]

##### The arg `text`, converted to uppercase, will be printed.
task1 = { cmd = "echo {{ text | upper }}", args = ["text"] }

##### If arg `text` contains 'hoi', it will be converted to lowercase. The result will be printed.
task2 = { cmd = "echo {{ text | lower if 'hoi' in text }}", args = [
  { arg = "text", default = "" },
] }

##### With `a` and `b` being strings, they will be appended and then printed.
task3 = { cmd = "echo {{ a + b }}", args = ["a", { arg = "b", default = "!" }] }

##### `names` will be split by whitespace and then every name will be printed separately
task4 = { cmd = "{% for name in names | split %} echo {{ name }};{% endfor %}", args = [
  "names",
] }
  • Shortened composition of tasks with depends-on key.
[tasks]
test-all = [{ task = "test", args = ["all"] }]

##### Equivalent to: test-all = { depends-on = [{task = "test", args = ["all"] }]}
  • The depends-on key can now include the environment that the task should run in.
[tasks]

##### Using the shortened composition of tasks
test-all = [
  { task = "test", environment = "py311" },
  { task = "test", environment = "py312" },
]
Added
Changed
Documentation
Fixed
Refactor
New Contributors
Download pixi 0.46.0
File Platform Checksum
pixi-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
pixi-x86_64-apple-darwin.tar.gz Intel macOS checksum
pixi-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
pixi-aarch64-pc-windows-msvc.msi ARM64 Windows checksum
pixi-x86_64-pc-windows-msvc.zip x64 Windows checksum
pixi-x86_64-pc-windows-msvc.msi x64 Windows checksum
pixi-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
pixi-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge April 22, 2025 14:16
@renovate renovate bot added this pull request to the merge queue Apr 22, 2025
Merged via the queue into main with commit bc3c330 Apr 22, 2025
53 checks passed
@renovate renovate bot deleted the renovate/main-test-pixi-0.x branch April 22, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants