News for hackers. Stuff that matters.
Re:Package reproducibility in Python notebooks using uv isol... by twocupsofcoffee on Monday September 16, 2024 @01:46PM (#41558586)
Stuff like this is so convenient and intuitive that it makes you wonder why we didn't start here in the first place!

One thing I wonder is how many data scientists will use this feature given that it is not enabled by default (which is understandable, would be messy for every notebook to have a venv), and only via command-line arguments.

I guess this is easily remedied by helpful beginner tooltip UX ("This notebook has several dependencies. Would you like to build it in a sandbox?").

Re:Package reproducibility in Python notebooks using uv isol... by mscolnick on Monday September 16, 2024 @01:52PM (#41558653)
We would like to make this configurable via a setting so you don't need to pass it through the CLI every time. And I agree, maybe a tooltip/notification to nudge them in that direction.

We would also like to auto-detect a pyproject.toml, and use that when desired.