Skip to content

gh-97850: Remove the mention of removal from ResourceReader docs - #128602

Merged
jaraco merged 1 commit into
python:mainfrom
tomasr8:importlib-resource-reader
Jan 8, 2025
Merged

gh-97850: Remove the mention of removal from ResourceReader docs#128602
jaraco merged 1 commit into
python:mainfrom
tomasr8:importlib-resource-reader

Conversation

@tomasr8

@tomasr8tomasr8 commented Jan 7, 2025

Copy link
Copy Markdown
Member

There is currently no plan to remove ResourceReader, especially given that the suggested alternative TraversableResources inherits from ResourceReader. Let's remove the mention of a removal for now.

Related discussion: #97850 (comment)


📚 Documentation preview 📚: https://cpython-previews--128602.org.readthedocs.build/

@hugovk

Copy link
Copy Markdown
Member

Also remove mention of removal from https://github.com/python/cpython/blob/main/Doc/deprecations/pending-removal-in-3.14.rst?

@tomasr8

Copy link
Copy Markdown
MemberAuthor

Also remove mention of removal from https://github.com/python/cpython/blob/main/Doc/deprecations/pending-removal-in-3.14.rst?

Yes, I missed that one. I'll update the PR in a bit!

@StanFromIreland

Copy link
Copy Markdown
Member

@tomasr8

Copy link
Copy Markdown
MemberAuthor

Oh wait, that is the other ResourceReader that was actually removed in 3.14 (from importlib.abc). This PR updates the one in importlib.resources.abc which still exists. So there should be no need to update that document you mentioned Hugo.

Sorry for the confusion @StanFromIreland, I should've checked better :/ but thanks for the help!

@brettcannon
brettcannon removed their request for review January 8, 2025 21:00
@tomasr8
tomasr8 requested a review from jaracoJanuary 8, 2025 22:12
@jaraco
jaraco merged commit a1284e9 into python:mainJan 8, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @tomasr8 for the PR, and @jaraco for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 8, 2025
…ocs (pythonGH-128602)
Remove the mention of removal from ResourceReader docs
(cherry picked from commit a1284e9)
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 8, 2025
…ocs (pythonGH-128602)
Remove the mention of removal from ResourceReader docs
(cherry picked from commit a1284e9)
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-128654 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.13 bugs and security fixes label Jan 8, 2025
@bedevere-app

Copy link
Copy Markdown

GH-128655 is a backport of this pull request to the 3.12 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.12 only security fixes label Jan 8, 2025
@bedevere-bot

This comment was marked as off-topic.

@tomasr8

Copy link
Copy Markdown
MemberAuthor

The buildbot failure is unrelated (it's in test_multiprocessing_forkserver while this PR only touches the docs)

ambv pushed a commit that referenced this pull request Jan 23, 2025
…docs (GH-128602) (#128654)
gh-97850: Remove the mention of removal from `ResourceReader` docs (GH-128602)
Remove the mention of removal from ResourceReader docs
(cherry picked from commit a1284e9)
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Yhg1s pushed a commit that referenced this pull request Feb 3, 2025
…docs (GH-128602) (#128655)
gh-97850: Remove the mention of removal from `ResourceReader` docs (GH-128602)
Remove the mention of removal from ResourceReader docs
(cherry picked from commit a1284e9)
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants

@tomasr8@hugovk@StanFromIreland@bedevere-bot@jaraco