github prefix-dev/pixi v0.20.0
v0.20.0 - 2024-04-19

latest releases: v0.31.0, v0.30.0, v0.29.0...
5 months ago

✨ Highlights

  • We now support env variables in the task definition, these can also be used as default values for parameters in your task which you can overwrite with your shell's env variables.
    e.g. task = { cmd = "task to run", env = { VAR="value1", PATH="my/path:$PATH" } }
  • We made a big effort on fixing issues and improving documentation!

📃 Details

Added

  • Add env to the tasks to specify tasks specific environment variables by @wolfv in #972

Changed

Documentation

Fixed

  • Small typo in list cli by @tdejager in #1169
  • Issue with invalid solve group by @baszalmstra in #1190
  • Improve error on parsing lockfile by @ruben-arts in #1180
  • Replace _ with - when creating environments from features by @wolfv in #1203
  • Prevent duplicate direct dependencies in tree by @abkfenris in #1184
  • Use project root directory instead of task.working_directory for base dir when hashing by @wolfv in #1202
  • Do not leak env vars from bat scripts in cmd.exe by @wolfv in #1205
  • Make file globbing behave more as expected by @wolfv in #1204
  • Fix for using file::// in pyproject.toml dependencies by @tdejager in #1196
  • Improve pypi version conversion in pyproject.toml dependencies by @wolfv in #1201
  • Update to the latest rattler by @wolfv in #1235

BREAKING

  • task = { cmd = "task to run", cwd = "folder", inputs = "input.txt", output = "output.txt"} Where input.txt and output.txt where previously in folder they are now relative the project root. This changed in: #1202
  • task = { cmd = "task to run", inputs = "input.txt"} previously searched for all input.txt files now only for the ones in the project root. This changed in: #1204

New Contributors

Full commit history

Don't miss a new pixi release

NewReleases is sending notifications on new releases.