PEP 751: lock files (again)

Seems reasonable.

But you are saying all other packages that were installed but not mentioned in the lock file stay, correct?

This would probably be a “SHOULD” scenario.

Yeah, but this PEP doesn’t have to solve everything upfront either; it’s versioned for a reason.

To be clear, that was meant to suggest sdist support in the lock file would be, “you can install the sdist for a package” and not bother about worrying about locking the build back-end used.

I think my response is I’m going to drop [[packages.build-requires]]. It’s been nothing but a headache and point of confusion from the start. And since no other tool that does locking currently supports locking build back-end requirements for an sdist I don’t feel like I need to be the one trying to introduce some innovative solution. Lockers can experiment thanks to the various tool sections and then eventually propose an update to the file format which adds such support.

2 Likes