Re:99% of top Python packages are now wheels
by boristhespider on Thursday August 03, 2023 @07:47AM
(#36984475)
Yes, but if we just called them packages the headline would be "99% of top Python packages are now packages"
[ Parent
| on HN ]
Re:99% of top Python packages are now wheels
by pdimitar on Thursday August 03, 2023 @07:49AM
(#36984502)
Which would make the article completely redundant, and that works for me. :D
But let's be serious, they could have just said "99% of the top Python packages upgraded to our new packaging system" which would be much more informative and interesting title and would make me read it in full, as opposed to now when I just facepalmed.
Re:99% of top Python packages are now wheels
by nickjj on Thursday August 03, 2023 @07:56AM
(#36984567)
> But let's be serious, they could have just said "99% of the top Python packages upgraded to our new packaging system" which would be much more informative and interesting title
How about "99% of the top Python packages don't require being compiled to install them".
That's one of the biggest wins of wheels. They have pre-compiled binaries for all supported platforms of that package. This typically applies to Python packages that have C dependencies.
Re:99% of top Python packages are now wheels
by pdimitar on Thursday August 03, 2023 @07:59AM
(#36984603)
And I would have never understood that from a cursory look at the article. Learned it just now from you.
Re:99% of top Python packages are now wheels
by capableweb on Thursday August 03, 2023 @08:22AM
(#36984853)
So without understanding the reasoning why they are not simply called "python packages" but "wheels", so they have distinct meaning, you chose to go on a tirade about why they are not simply called "packages" instead?
The confidence of some HN commentators never ceases to surprise me
Re:99% of top Python packages are now wheels
by pdimitar on Thursday August 03, 2023 @08:26AM
(#36984895)
It's not such a stretch to want to understand things quickly as an outsider and you trying to frame it as something else is indeed way too confident.
Re:99% of top Python packages are now wheels
by adhesive_wombat on Thursday August 03, 2023 @08:22AM
(#36984848)
It's number 3 in "advantages of wheels", which is above the fold on my screen and exactly 50 words into the page, including titles.
Re:99% of top Python packages are now wheels
by pdimitar on Thursday August 03, 2023 @08:27AM
(#36984906)
Fair enough, my point was that the terminology was a put-off. Reads like kids bragging about stuff and not as a technical article.
Re:99% of top Python packages are now wheels
by gdprrrr on Thursday August 03, 2023 @08:07AM
(#36984685)
But the Python ecosystem reinvents package systems every few years, so that headline is also not very useful.
Re:99% of top Python packages are now wheels
by pdimitar on Thursday August 03, 2023 @08:17AM
(#36984795)
True, that's why I question the value of those articles in the first place.
Re:99% of top Python packages are now wheels
by Shawnj2 on Thursday August 03, 2023 @11:43AM
(#36987418)
That doesn’t make sense either because pure python packages exist and are actively less useful if distributed as wheels
Re:99% of top Python packages are now wheels
by pdimitar on Thursday August 03, 2023 @11:52AM
(#36987556)
And I have no clue what you just said. :D
It serves only as a further confusion. But yeah, Python is notorious for its numerous (and likely all sub-optimal) approaches to packaging.
Re:99% of top Python packages are now wheels
by Shawnj2 on Thursday August 03, 2023 @11:58AM
(#36987658)
The benefit of wheels is that they’re platform specific so that you don’t need to have a lengthy and dependency ridden compile process, you just install the one that works on your OS and architecture and you’re good. Packages written entirely in Python don’t have this problem since the code is pretty much just copied into dist-packages