Live data from Hacker News

Setuptools version 78.0.1 breaks install of many packages

github.com

1–10 of 14 posts

Re: Setuptools version 78.0.1 breaks install of many packages

#5
Crazy amount of breakage...

Here is a PR which reverts this: https://github.com/pypa/setuptools/pull/4911

Interesting that maintainers of setuptools still only postpone the depreciation date for a year, so we can probably expect more issues like this in the future.

Re: Setuptools version 78.0.1 breaks install of many packages

#6
From what I gather this has basically derailed CI for the morning for the majority of places out there. Only workaround is pinning build-time dependencies, which only pip and uv seem to let you do well. Poetry is SOL / heavily cache-dependent as to whether it works.

Re: Setuptools version 78.0.1 breaks install of many packages

#7
The current approach of the maintainers terrifies me -- de facto standards should be respected. Even if something is invalid like `description-file`, if it is present in 12k repos it should raise a warning and not break anything.

In the rationale for this that I can find [1], a maintainer says the following:

> I'm inclined to say we should do it, even though it will cause some disruption.

They also say an alternative is to "accept the status quo", which is exactily what they should be doing. I can't find maintainers giving a compelling reason not to support this status quo of `long-description` as an alias to `long_description` besides "simplifying code." Code simplification should never take precedence over massive breakage of compatibility.

[1] https://github.com/pypa/setuptools/pull/4870#pullrequestrevi...

Re: Setuptools version 78.0.1 breaks install of many packages

#9

They yanked the relevant change and pushed a new one with a revert, this is now resolved Took them seemingly forever to do. The reversion, sure, that might take a bit to proof, but the yank should have been done way sooner

78.0.1 doesn't look yanked to me https://pypi.org/project/setuptools/78.0.1/

afaict they just released 78.0.2 with a revert of the offending bits

Re: Setuptools version 78.0.1 breaks install of many packages

#10
post #7

The current approach of the maintainers terrifies me -- de facto standards should be respected. Even if something is invalid like `description-file`, if it is present in 12k repos it should raise a warning and not break anything. In the rationale for this that I can find [1], a maintainer says the following: > I'm inclined to say we should do it, even though it will cause some disruption. They also say an alternative…

I'm usually of the opinion of just removing stuff when it needs to be gone, but this is really an incosequential change to the setuptools code compared to how many problems it caused
Post reply on HN