Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-97850: remove find_loader and get_loader from pkgutil#119656
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
picnixz commented May 28, 2024 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
find_loader and get_loader from pkgutilfind_loader and get_loader from pkgutilfind_loader and get_loader from pkgutilfind_loader and get_loader from pkgutilfind_loader and get_loader from pkgutilfind_loader and get_loader from pkgutilpicnixz commented May 28, 2024
Quick question but how do you manage the whatsnews sections when a feature is being removed? I cannot really change it to |
find_loader and get_loader from pkgutilfind_loader and get_loader from pkgutil
sobolevn left a comment • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
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.
Please, update
:func:`pkgutil.find_loader` :func:`pkgutil.get_loader`to be
:func:`!pkgutil.find_loader` :func:`!pkgutil.get_loader`Since all python versions have their own versions of 3.13.rst / 3.12.rst / etc.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
picnixz commented May 29, 2024
Yes, that's what I was actually asking. Should I just suppress every possible links in the others 3.x.rst files even though they exist? (if so, I can do it but I wanted to be sure that all references should be suppressed even for old versions for which the reference would exist). |
sobolevn commented May 29, 2024
Again, older versions won't be affected, because they live in their own branches. And we won't backport this change. |
picnixz commented May 29, 2024
Oh yes, it was dumb of me. I incorrectly assumed that the 3.12 page was for the corresponding branch (seems I'm still not entirely awake). Anyway, I have made the requested changes; please review again. |
Thanks for making the requested changes! @sobolevn: please review the changes made to this pull request. |
sobolevn left a comment
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.
Sorry, I somehow did not send this comment.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
hugovk commented Aug 2, 2024
This has a conflict after the #122085 re-org. |
picnixz commented Aug 2, 2024
Oh, I forgot about this one :') I'll fix the conflicts err... I don't know when (I'm a bit busy writing something currently and don't know if I'll have tomorrow) |
hugovk commented Aug 2, 2024
Thanks, absolutely no rush with this :) |
Wulian233 commented Sep 6, 2024
#123036 |
brettcannon commented Sep 16, 2024
@picnixz are you waiting on anything for this? You haven't triggered a request for a re-review. |
picnixz commented Sep 17, 2024
Oh I forgot about it. This one is a low-priority task (which is why I didn't re-request a review) and we were waiting for more experts feedback (such as yours I think?) so we can address this issue when people have the time! (I'll be barely present for the rest of the week) |
hugovk commented Oct 15, 2024
Where are we up to here? Our friends at Fedora, who do a huge amount of valuable early testing and fixing of Python packages, are asking about pending deprecations for 3.14: |
picnixz commented Oct 15, 2024
I always forget about this PR :D We actually waited for an expert on pkgutil to confirm that the removal is ok. Apart from that, I don't think I wanted to do more. I'll ask a round of re-review. |
brettcannon commented Oct 31, 2024
There is no pkgutil expert, hence the deprecation (that and it not plugging into importlib cleanly). 😉 |
hugovk commented Nov 1, 2024
Let's merge! |
…til`` (python#119656) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Brett Cannon <brett@python.org>
…til`` (python#119656) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Brett Cannon <brett@python.org>
See:
📚 Documentation preview 📚: https://cpython-previews--119656.org.readthedocs.build/