Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace bare Any in setuptools #12406

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Jul 22, 2024

Waiting for #12403 and #12405 to be merged first as there's overlap

Relates to #9550

This comment has been minimized.

@Avasam Avasam marked this pull request as ready for review July 23, 2024 18:23
@@ -60,7 +60,7 @@ class DistributionMetadata:
class Distribution:
cmdclass: dict[str, type[Command]]
metadata: DistributionMetadata
def __init__(self, attrs: Mapping[str, Any] | None = None) -> None: ...
def __init__(self, attrs: MutableMapping[str, Incomplete] | None = None) -> None: ...
Copy link
Collaborator Author

@Avasam Avasam Jul 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This didn't fit directly into any upcoming PR that I had, so I bundled it here where I also updated setuptool's Distribution.

In both, attrs['license'] is assigned to and attrs['licence'] is deleted (notice s vs c)

Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit 2aeb777 into python:main Jul 25, 2024
66 checks passed
@Avasam Avasam deleted the Replace-bare-Any-in-setuptools branch July 25, 2024 13:08
max-muoto pushed a commit to max-muoto/typeshed that referenced this pull request Sep 8, 2024
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.

2 participants