News for hackers. Stuff that matters.
Re:PYX: The next step in Python packaging by zahlman on Wednesday August 13, 2025 @10:38PM (#44896199)
You could do worse than to start using --only-binary=:all: by default. (It's even been proposed as default behaviour: https://github.com/pypa/pip/issues/9140) Even if you can't actually install that way, it will point out the places where sdists are needed.

In principle, separate metadata availability should still at least be possible for most sdists eventually. But I'm not the one calling the shots here.

Re:PYX: The next step in Python packaging by mikepurvis on Wednesday August 13, 2025 @11:22PM (#44896427)
For clarity, if I do

    pip install -r requirements.txt --dry-run --only-binary=:all:`
Should I expect that to download only metadata and not whole wheels/sdists for everything? Or does that depend on everything in my requirements file being available as a wheel?
Re:PYX: The next step in Python packaging by zahlman on Thursday August 14, 2025 @08:41AM (#44899718)
If there are things not available as a wheel, it should just fail (and highlight what failed).