indygreg / indygreg/PyOxidizer

Reading Python source files with importlib.resources

Open
#237 16 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

Unlike in CPython, it is not possible to read Python source files using `importlib.resources` from within PyOxidizer.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported difference between CPython and PyOxidizer when reading Python source files through importlib.resources. Trace the PyOxidizer packaging and import-resource entry points involved, then compare the behavior with CPython. Done means Python source files can be read through importlib.resources in a PyOxidizer-built application.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.