News for hackers. Stuff that matters.
Re:Show HN: Wetlands – a lightweight Python library for mana... by oezi on Wednesday May 28, 2025 @12:48PM (#44117960)
As someone new to Python: what was ever the appeal of conda that uv doesn't satisfy?
Re:Show HN: Wetlands – a lightweight Python library for mana... by jaimergp on Wednesday May 28, 2025 @02:49PM (#44119336)
I think it's more about tool X vs Y, but about ecosystems and packaging approaches; in other words Python packaging (which has tools like pip, uv or poetry) vs conda packaging (which has tools like conda itself, mamba or pixi). https://pypackaging-native.github.io/ is an excellent starting point to learn about the limitations on Python packaging for native dependencies and compiled extensions.
Re:Show HN: Wetlands – a lightweight Python library for mana... by aeroevan on Wednesday May 28, 2025 @12:54PM (#44118044)
conda doesn't just package python libraries, but also the C/Fortran/other bits that the scipy stack often depended on. With the rise of binary wheels that is less needed though
Re:Show HN: Wetlands – a lightweight Python library for mana... by aldanor on Wednesday May 28, 2025 @03:27PM (#44119775)
Distributing non Python packages via the same channel that Python packages may depend on. E.g, h5py depending on libhdf5.
Re:Show HN: Wetlands – a lightweight Python library for mana... by kjkjadksj on Wednesday May 28, 2025 @01:23PM (#44118393)
Fundamentally it is a fresh usr/bin per environment with all that can go into that. Not just python tooling. R packages. Binaries. All of that. Env can be exported as a yaml file and trivially shared without appending some header to all scripts you write.
Re:Show HN: Wetlands – a lightweight Python library for mana... by N1H1L on Thursday May 29, 2025 @03:33PM (#44129420)
As someone using Python from 2017, there was no uv then, and conda worked fine but was glacially slow.