mosaic icon indicating copy to clipboard operation
mosaic copied to clipboard

Add instructions for `uv` and `pixi`

Open gregorywaynepower opened this issue 1 year ago • 5 comments

Would you be open to a pull request adding additional instructions under the Mosaic Server Usage for uv and pixi?

gregorywaynepower avatar Nov 18 '24 03:11 gregorywaynepower

We use uv internally so that makes sense to me. I haven't used pixi so would not be in support of documenting it.

domoritz avatar Nov 18 '24 04:11 domoritz

Sounds good to me on the uv side of things. For Pixi's, it's built on top of the conda ecosystem, if you're familiar with that? Lets users manage Python, R, npm, and other dependencies.

gregorywaynepower avatar Nov 18 '24 17:11 gregorywaynepower

Yeah, I've used conda a bunch.

I'd say let's restrict it to pipx and uv since one is standard and the other one is what we use internally. There are too many other packaging systems in python to document.

domoritz avatar Nov 19 '24 03:11 domoritz

I agree on there being too many packaging systems to document.

I ask this question out of ignorance: why not replace pipx with uv tool install or uvx?

gregorywaynepower avatar Nov 19 '24 04:11 gregorywaynepower

pipx is maintained by the Python Packaging Authority and has been around for a while. uv came out this year. People are more familiar with pip.

domoritz avatar Nov 19 '24 14:11 domoritz