This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Deprecate legacy functions from importlib.resources (importlib_resources 5.3)
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jaraco Nosy List: FFY00, jaraco
Priority: normal Keywords: patch

Created on 2021-10-18 18:03 by jaraco, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 29036 merged jaraco, 2021-10-18 18:26
Messages (3)
msg404205 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2021-10-18 18:03
[importlib_resources 5.3](https://importlib-resources.readthedocs.io/en/latest/history.html#v5-3-0), deprecates the functions in _legacy. Let's introduce that deprecation in CPython also.

In addition to merging the changes from importlib_resources, this change will require some updates to documentation.
msg406908 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2021-11-24 07:51
New changeset d5cd2effa69551c6bc7edfef8a414d545dea9117 by Jason R. Coombs in branch 'main':
bpo-45514: Deprecate importlib resources legacy functions. (GH-29036)
https://github.com/python/cpython/commit/d5cd2effa69551c6bc7edfef8a414d545dea9117
msg406909 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2021-11-24 07:53
See https://discuss.python.org/t/deprecating-importlib-resources-legacy-api/11386 for some lively discussion on this deprecation.
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89677
2021-11-24 07:53:22jaracosetstatus: open -> closed
resolution: fixed
messages: + msg406909

stage: patch review -> resolved
2021-11-24 07:51:47jaracosetmessages: + msg406908
2021-10-18 18:26:55jaracosetkeywords: + patch
stage: patch review
pull_requests: + pull_request27307
2021-10-18 18:03:23jaracocreate