News for hackers. Stuff that matters.
Re:Show HN: Wetlands – a lightweight Python library for mana... by reedf1 on Wednesday May 28, 2025 @12:44PM (#44117905)
Use PDM with the UV backend - this accomplishes this in a much more lightweight and performant way.
Re:Show HN: Wetlands – a lightweight Python library for mana... by agoose77 on Wednesday May 28, 2025 @03:23PM (#44119730)
The PyPI ecosystem can not, for the foreseeable future, replicate the scope of the conda ecosystem. From microarch builds to library deduplication, conda is a more general purpose solution. That doesn't mean that one "wins out" (and, for reference I predominantly use Python's PyPI), but they're not the same tools.
Re:Show HN: Wetlands – a lightweight Python library for mana... by aeroevan on Wednesday May 28, 2025 @12:58PM (#44118103)
Does PDM manage C/Fortran library dependencies? IIRC conda was the only solution for managing both native and python dependencies but I haven't really looked elsewhere.

With wheels and the manylinux specifications there's less of a usecase for that, but still could be useful

Re:Show HN: Wetlands – a lightweight Python library for mana... by reedf1 on Wednesday May 28, 2025 @01:04PM (#44118155)
Not sure about Fortran - but C for sure, yes.
Re:Show HN: Wetlands – a lightweight Python library for mana... by jaimergp on Wednesday May 28, 2025 @02:51PM (#44119368)
Where does it fetch the C packages from? I always thought PDM was a _Python_ package manager, so the only source is PyPI or another index.
Re:Show HN: Wetlands – a lightweight Python library for mana... by oblvious-earth on Wednesday May 28, 2025 @04:49PM (#44120523)
PDM has plugins, such as being able to invoke conda commands: https://github.com/pdm-project/awesome-pdm

Otherwise I don't know what they're talking about, it is indeed a Python package manager.