News for hackers. Stuff that matters.
Re:Rye: A Hassle-Free Python Experience by jvolkman on Tuesday July 09, 2024 @12:35AM (#40912558)
Most packages don't do that. You can get really far by assuming that all of a package's wheels have the same set of dependencies (maybe using environment markers), and that its sdist always returns the same list of dependencies (also maybe using environment markers). No, it's not perfect, but it's also what Poetry and PDM do as far as I know.
Re:Rye: A Hassle-Free Python Experience by charliermarsh on Tuesday July 09, 2024 @01:05AM (#40912676)
Yeah that's right -- we make the assumption that all distributions for a given package will yield the same dependencies, similar to Poetry, PDM, and other tools. This is not strictly required by the standards, but it's very rare for it to be violated.
Re:Rye: A Hassle-Free Python Experience by hobofan on Tuesday July 09, 2024 @04:44AM (#40913815)
It's rare, but in my experience it can still be very impactful and hindering adoption.

E.g. that practice seems to be quite prevalent in a few high-profile pytorch packages, which caused our team a lot of pain when trying to enable reproducible cross-platform builds 1-2 years ago

Re:Rye: A Hassle-Free Python Experience by fire_lake on Tuesday July 09, 2024 @05:31AM (#40914085)
Indeed. I gave up on this and just build in Docker.