pixi
pixi copied to clipboard
Support --format and --import together
Problem description
When reactivating an old conda project, I wanted to introduce a pyproject.toml and using pixi at once.
This currently does not work, as the error
pixi init --format pyproject --import .\environment_droplet_from_history.yml
error: the argument '--format <FORMAT>' cannot be used with '--import <ENVIRONMENT_FILE>'
appears. I then had to move the pixi.toml content manually into a pyproject.toml.
It would be awesome if Pixi would handle that manual step!
Sounds reasonable to me 🙂
Was just wondering if this feature is on the roadmap. Was honestly the first thing I tried when installing pixi and would very much help in transferring conda environments while also remaining compatible with pyproject specs.