-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
gh-113174: Sync with importlib_metadata 7.0 #113175
gh-113174: Sync with importlib_metadata 7.0 #113175
Conversation
jaraco
commented
Dec 15, 2023
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Apply changes from importlib_metadata for Python 3.13 #113174
Will there be docs changes in this PR or another? |
I've added docs in b610b6d. I chose not to mention some of the changes as they seemed incidental enough not to affect most users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this also benefit from an entry in What's New in Python 3.13?
5914c78
to
aa23e5a
Compare
Perhaps. I'd consider mentioning the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @hugovk that the removal of EntryPoint.__getitem__
should be mentioned in "What's New". It doesn't need to be a prominent mention near the top of the document, but we should try to make sure that all backwards-incompatible changes are mentioned somewhere in that document, in my opinion.
Co-authored-by: Alex Waygood <[email protected]>
Today I learned about the syntax (docs). The exclamation point means to ignore EntryPoint because it isn't documented. |
Thanks for the review. Merging, but happy to revisit if needed. |
* Sync with importlib_metadata 7.0.0 * Add blurb * Update docs to reflect changes. * Link datamodel docs for object.__getitem__ Co-authored-by: Alex Waygood <[email protected]> * Add what's new for removed __getattr__ * Link datamodel docs for object.__getitem__ Co-authored-by: Alex Waygood <[email protected]> * Add exclamation point, as that seems to be used for other classes. --------- Co-authored-by: Alex Waygood <[email protected]>
There's some tests that are failing on Windows for this change. The build that introduced the failure is the one with this PR merged: |
I worked around the problem by enabling SeCreateSymbolicLinkPrivilege for the buildbot user, but ultimately I believe the test should be skipped for users without this privilege set. |
* Sync with importlib_metadata 7.0.0 * Add blurb * Update docs to reflect changes. * Link datamodel docs for object.__getitem__ Co-authored-by: Alex Waygood <[email protected]> * Add what's new for removed __getattr__ * Link datamodel docs for object.__getitem__ Co-authored-by: Alex Waygood <[email protected]> * Add exclamation point, as that seems to be used for other classes. --------- Co-authored-by: Alex Waygood <[email protected]>
* Sync with importlib_metadata 7.0.0 * Add blurb * Update docs to reflect changes. * Link datamodel docs for object.__getitem__ Co-authored-by: Alex Waygood <[email protected]> * Add what's new for removed __getattr__ * Link datamodel docs for object.__getitem__ Co-authored-by: Alex Waygood <[email protected]> * Add exclamation point, as that seems to be used for other classes. --------- Co-authored-by: Alex Waygood <[email protected]>
* Sync with importlib_metadata 7.0.0 * Add blurb * Update docs to reflect changes. * Link datamodel docs for object.__getitem__ Co-authored-by: Alex Waygood <[email protected]> * Add what's new for removed __getattr__ * Link datamodel docs for object.__getitem__ Co-authored-by: Alex Waygood <[email protected]> * Add exclamation point, as that seems to be used for other classes. --------- Co-authored-by: Alex Waygood <[email protected]>