gh-121735: Fix module-adjacent references in zip files by jaraco · Pull Request #123037 · python/cpython · GitHub

github.com

Tin mới

jaraco:gh-121735/zip-module-resources

miss-islington-app

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Can't open orphan path on bare importlib.resources.files() under zipapp #121735

: Apply style and compatibility changes from importlib…

: Ensure module-adjacent resources are loadable from a…

: Allow all modules to be processed by the ZipReader.

needs backport to 3.12

needs backport to 3.13

Remove update-zips script, unneeded.

Remove unnecessary references to removed static fixtures.

python/[email protected]

Note that a lot of refactoring happened in the test suite to enable testing this behavior. The history of the refactoring can be found in python/[email protected]. These changes were released with imp

Remove zipdata fixtures, unused.

Merge branch 'main' into

awaiting core review

[3.13] gh-116608: Apply style and compatibility changes from importlib_resources. (GH-123028) #123051

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

importlib.resources.files() doesn't work correctly when importlib library is compiled #123085

gh-123085: Fix issue in inferred caller when resources package has no source #123102

: Fix module-adjacent references in zip files (

bedevere-app Bot commented Sep 12, 2024
bedevere-app Bot commented Sep 12, 2024

bedevere-app Bot commented Sep 12, 2024

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

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x RHEL9 Refleaks 3.x has failed when building commit ba687d9.

Buildbot failure in test_importlib UTF-16 tests #123994

gh-123994: Generate utf-16 file using little endian. #123995

: Fix module-adjacent references in zip files (

jaraco/cpython@330cfcdae71

In jaraco/cpython@330cfcdae71, I've started work on a backport, but it's really broken. I got stuck when MultiplexedPath doesn't have support for zip files. That was added to Python 3.13 only in #106531. Since that wasn'

: Fix module-adjacent references in zip files (

[3.12] gh-121735: Fix module-adjacent references in zip files (gh-123037) #124011

[3.13] gh-123085: Fix issue in inferred caller when resource package has no source (GH-123102) #124024

[3.12] gh-121735: Fix module-adjacent references in zip files (gh-123037) (#124011)

: Fix module-adjacent references in zip files (