Skip to content

Conversation

@ryanking13
Copy link
Contributor

@ryanking13 ryanking13 commented Jan 19, 2026

This ensures the same version is installed in the host venv and Pyodide venv.

The solution is a little bit ugly...

  1. Install packages from PyPI
  2. Install packages from Pyodide index
  3. (new) Re install packages from PyPI with the same versions in Pyodide index

Once we have PEP 783 accepted and all the packages are hosted in PyPI, we should be able to get rid of these steps.


Before this change, the packages installed in the two venv were different, as follows:

FAILED tests/test_cli.py::test_sync_command_integration[dependencies1] - AssertionError: Version mismatch for numpy: vendor has 2.0.2, venv has 2.4.1

@ryanking13 ryanking13 force-pushed the gyeongjae/version-equal branch from e95c616 to 70d73be Compare January 19, 2026 07:50
@ryanking13 ryanking13 requested review from dom96 and hoodmane and removed request for dom96 January 19, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant