pyodide / pyodide/pytest-pyodide

Copy source into pyodide environment

Open
#43 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
38
Forks
20
Avg merge
1d 23h
Merged PRs (30d)
1

Description

When running the tests of pyodide-http I occasionally forget to first build the wheel. It would be very convenient when the current context is copied pyodide environment before starting the test.

This could be an additional argument to run_in_pyodide like source_packages. Or maybe even more generic: copy directories to the pyodide environment before execution.

Curious what you think about it.

Contributor guide

Open the contributing guide

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 reading the run_in_pyodide entry point and the existing tests for pyodide-http. Reproduce the current workflow that requires building the wheel, then determine whether the completed behavior should copy source packages or arbitrary directories before execution; done means tests can use the current source without that manual build step.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.