logoalt Hacker News

akerl_today at 6:25 PM2 repliesview on HN

No?

Again, can you think of any packages managers that have a finalize step like you’re describing?

All the package managers I’m aware of do one of two things:

1. You push once with everything baked in.

2. You push as many things as you want forever.

Python releases can sometimes have many different package files (for example, because each platform can have its own wheel), which makes the first option pretty challenging.


Replies

firesteelraintoday at 9:25 PM

My point is adding stuff to an existing version doesn’t make it immutable like it should such as Maven-style

etbebltoday at 6:35 PM

I'm learning here, but for option 2, besides the security risk, doesn't this create the possibility that users could get a broken/unfinished package any time they're updating to a recently "published" release? The property of releases being atomic seems very important.

show 1 reply