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

Generic typing for register methods in pkg_resources #4355

Merged
merged 1 commit into from
May 24, 2024

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented May 12, 2024

Summary of changes

Review and merge after #4246
This is an immediate follow-up but with more precise and complex typing.
works towards step 3.2 of #2345 (comment)

Once this #4391 and #4390 are merged, pkg_setuptools will be on par with Typeshed

Pull Request Checklist

  • Changes have tests (static type checking)
  • News fragment added in newsfragments/. (no user facing changes yet until pkg_resources is considered typed)
    (See documentation for details)

@Avasam Avasam force-pushed the pkg_resources-adapter-types branch 2 times, most recently from 8f2a102 to 2c2874d Compare May 13, 2024 16:45
@Avasam Avasam marked this pull request as draft May 21, 2024 20:21
@Avasam Avasam marked this pull request as ready for review May 22, 2024 17:29
@Avasam Avasam force-pushed the pkg_resources-adapter-types branch from 1f63eb9 to 5152bd8 Compare May 22, 2024 17:30
@Avasam Avasam force-pushed the pkg_resources-adapter-types branch 2 times, most recently from 75a7ea6 to 70334da Compare May 23, 2024 21:02
Copy link
Contributor

@abravalheri abravalheri left a comment

Choose a reason for hiding this comment

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

Thank you very much.

I wonder if this is OK to be merged or if it was surpassed by any other recent PR.

@Avasam
Copy link
Contributor Author

Avasam commented May 24, 2024

@abravalheri You can merge! Might get a conflict somewhere, but this wasn't included with another PR.

@abravalheri abravalheri merged commit 33afc11 into pypa:main May 24, 2024
22 checks passed
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.

None yet

2 participants