Hi everyone
We’re excited to share that we’ve officially contributed our work on Magic to the open source Pixi project. This means that you can now enjoy the same seamless experience building with MAX and Mojo using the pixi
CLI. As a result, we’ll begin winding down maintenance on magic
.
This decision comes after close collaboration with the Pixi team, who have done outstanding work helping us to upstream many of the improvements that originally made Magic a great fit for our ecosystem. Thanks to their efforts, Magic’s core functionality is baked into Pixi, making Pixi fully capable of running Modular workflows and examples.
Pixi is also backed by a rapidly growing open source community, and we see a ton of value in merging our efforts . This consolidation will help accelerate tooling development, simplify packaging workflows, and strengthen support for MAX and Mojo projects across our ecosystem.
What does this mean for you?
Migrating your existing projects is simple:
- Install
pixi
:
curl -fsSL https://pixi.sh/install.sh | sh
- If your project uses a
mojoproject.toml
file, just rename it topixi.toml
. - If you’re already using a
pyproject.toml
, you don’t need to change anything. - Then substitute any commands using
magic
withpixi
. All the commands are the same!
Check out the full Pixi docs for instructions on using Pixi to manage your project’s dependencies.
To create a new Mojo project using Pixi, you can run:
pixi init myproj -c "https://conda.modular.com/max-nightly" -c "https://repo.prefix.dev/modular-community" -c "conda-forge"
For community package maintainers
If you currently maintain a package that is distributed via the Modular community Magic channel, we ask that you update your package to use pixi.toml
(instead of mojoproject.toml
) by June 27th.
This will ensure compatibility with the evolving tooling and help keep the community channel up to date with our new packaging direction.
What about Magic?
Magic is still being maintained for now, and you may continue to use it, but we will wind-down feature development and it might soon become out of date compared to Pixi. We recommend transitioning to Pixi soon to stay aligned with future tooling updates.
Learn more
To get started with Pixi, check out their official documentation. We’ll also be updating all official Modular documentation and READMEs over the coming weeks to reflect this change and make the transition process as smooth as possible.
We’re incredibly grateful to everyone who has contributed to Magic and community packaging! We’re confident that this next step with Pixi will unlock even more momentum for our community.
If you have any questions about the transition, feel free to post them here!
— The Modular Team