datonic/datadex

Use uv in CI

Closed this issue ยท 7 comments

Use uv in CI

Worth consideration: pixi = cross-platform, easy-to-write Makefile + uv

Thanks for the rec @thewtex! Not very familiar with pixi although I've heard good things. What are the main differences with uv + Makefile?

Yes, a few examples of the niceties:

  • PyPI support but also conda-forge -> better scientific support, more reproducibility, more language support
  • The tasks (equivalent to Makefile targets) are specified in a simple standard, unixy format, and they work cross-platform (including Windows)
  • caching support for tasks
  • oh yeah, and emoji's ๐Ÿถ ๐Ÿ‘พ ๐Ÿ’–

CI in action!

Quick datadex start!

Woah! Thanks for the details.

Caching and supporting Conda Forge sounds interesting. I think pixy does even use uv as their pipy dependency manager?

The main reason I'm hessitating is that Conda is not as popular outside the "science" ecosystems and uv seems enough (and growing in features) for most of the usecases.

By the way, lung-sarg looks awesome! ๐Ÿคฉ I see you're already even using sensors and other advanced Dagster stuff. Is it ok if I add it under the list of projects using Datadex in the README?

Closing this as I think I'm good with the CI using pip only and keeping things simple. ๐Ÿ˜…

Caching and supporting Conda Forge sounds interesting. I think pixy does even use uv as their pipy dependency manager?

Yes, they are working on it. They plans to still keep it a single, standalone rust binary.

The main reason I'm hessitating is that Conda is not as popular outside the "science" ecosystems and uv seems enough (and growing in features) for most of the usecases.

Ok. I get the PyPI-only and Python package-only approach. Science and reproducibility is my jam, and I have found that pixi makes sense for that use case.

By the way, lung-sarg looks awesome! ๐Ÿคฉ I see you're already even using sensors and other advanced Dagster stuff. Is it ok if I add it under the list of projects using Datadex in the README?

Yes, please do!

Thank you for your work on Datadex!

Science and reproducibility is my jam, and I have found that pixi makes sense for that use case.

And should be everyone's jam too! ๐Ÿ˜… I already had some issues in the past due to missmatching versions...

Seems uv recently added uv.lock files among other things. These should be similar to pixi.lock and should cover the reproducibility side.

Need to dig into that a bit more!