Skip to content

In Distribution.finalize_options, suppress known removed entry points#2768

Merged
jaraco merged 2 commits intomainfrom
bugfix/2765-suppress-removed-entry-points
Sep 6, 2021
Merged

In Distribution.finalize_options, suppress known removed entry points#2768
jaraco merged 2 commits intomainfrom
bugfix/2765-suppress-removed-entry-points

Conversation

@jaraco
Copy link
Copy Markdown
Member

@jaraco jaraco commented Sep 6, 2021

...for a year to avoid issues with older Setuptools. Fixes #2765.

… for a year to avoid issues with older Setuptools. Fixes #2765.
@jaraco jaraco changed the title In Distribution.finalize_options, suppress known removed entry points for a year to avoid issues with older Setuptools. Fixes #2765. In Distribution.finalize_options, suppress known removed entry points Sep 6, 2021
@jaraco
Copy link
Copy Markdown
Member Author

jaraco commented Sep 6, 2021

In this change, I propose a horizon of 1 year to suppress the error messages, under the presumption that after 1 year, there will be few environments that have an implicit version of an older Setuptools present when building Setuptools.

The advantage of this approach is that it makes it explicit when this behavior goes away. The disadvantage is that the horizon is committed in this and subsequent releases. I'm now thinking that a code-based change would be better (that is, just a comment saying when to remove the behavior).

@jaraco jaraco force-pushed the bugfix/2765-suppress-removed-entry-points branch from f2ee82f to 6041353 Compare September 6, 2021 16:07
@jaraco jaraco merged commit d8172e5 into main Sep 6, 2021
@jaraco jaraco deleted the bugfix/2765-suppress-removed-entry-points branch September 6, 2021 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 58.0.0: build fails with "AttributeError: type object 'Distribution' has no attribute '_finalize_2to3_doctests'"

1 participant