gh-116608: Apply style and compatibility changes from importlib_metadata. - #123028
Conversation
|
Since I believe these changes are largely uncontroversial and I was primarily looking to inform Petr of the changes, and because this PR is blocking another, I'm going to merge it, but happy to continue a review or even back out if needed. |
|
Thanks @jaraco for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…_metadata. (pythonGH-123028) (cherry picked from commit e913d2c) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
|
GH-123051 is a backport of this pull request to the 3.13 branch. |
|
I just noticed that "metadata" appears in the commit message. These changes pertain to "resources". |
|
GH-123051 is a backport of this pull request to the 3.13 branch. |
|
Well, to me this looks like style fixes that are traditionally avoided in CPython, but it does look harmless. |
… from importlib_resources. (pythonGH-123028) (python#123051)" This reverts commit 5ac14ee. This commit should be re-applied after 3.13.0 final.
…nd compatibility changes from importlib_resources. (pythonGH-123028) (python#123051)" This reverts commit 5ac14ee. This commit should be re-applied after 3.13.0 final.
…pythongh-116608: Apply style and compatibility changes from importlib_resources. (pythonGH-123028) (python#123051)"" This reverts commit 0a058bc.
|
GH-123074 is a backport of this pull request to the 3.13 branch. |
The problem is that it's untenable given the constraints on the CPython repo to have divergent styles between the CPython implementation and the third-party package. Due to its shared maintenance with other skeleton projects, importlib_resources has a stricter standard for format, types, and lint. There's no VCS metadata to track the differences, so the process of contributing changes from |
|
Yeah, and from the other side, the custom tooling in |

Uh oh!
There was an error while loading. Please reload this page.