Skip to content

Python package/pyodide index - #6

Open
abstractedfox wants to merge 13 commits into
mainfrom
python-package/pyodide-index
Open

Python package/pyodide index#6
abstractedfox wants to merge 13 commits into
mainfrom
python-package/pyodide-index

Conversation

@abstractedfox

@abstractedfox abstractedfox commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Local PR while waiting to be able to move on cloudflare agents cloudflare#1953 so individual changes can be reviewed in advance. Adds the pyodide index as an available package source, both in general and as the default package index (per advice from @ryanking13)

Uncertain about the changes to app.ts, I made those changes out of caution since the pattern looked relevant to what I was changing, but I don't actually know what this file is used for, so some additional feedback would be helpful there

@abstractedfox
abstractedfox force-pushed the python-package/pyodide-index branch from 30a9599 to 819c561 Compare July 24, 2026 05:59

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I am not sure if this test is useful to have as an e2e. I think testing parseToml whether it handles empty/invalid toml files should be enough.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Just to not leave this hanging, this originally showed as a diff due to a mistake I made rebasing. This test was first written when createWorker wouldn't work at all with pyproject.toml, but it is pretty old now. Should I make a note to remove it in a future PR (or go back and do it in this one)?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think you can clean it up in this PR as you are adding other more useful e2e tests.

Comment thread packages/worker-bundler/src/tests/e2e.test.ts
Comment thread packages/worker-bundler/src/tests/e2e.test.ts Outdated
Comment thread packages/worker-bundler/src/tests/e2e.test.ts Outdated
Comment thread packages/worker-bundler/src/installer.ts
Comment thread packages/worker-bundler/src/installer.ts
Comment thread packages/worker-bundler/src/installer.ts Outdated
Comment thread packages/worker-bundler/src/installer.ts Outdated
Comment thread packages/worker-bundler/src/installer.ts Outdated
Comment thread packages/worker-bundler/src/installer.ts
@abstractedfox
abstractedfox force-pushed the python-package/pyodide-index branch from 819c561 to 3119e96 Compare July 27, 2026 20:35
Comment thread packages/worker-bundler/src/installer.ts Outdated
Comment thread packages/worker-bundler/src/installer.ts
Comment thread packages/worker-bundler/src/installer.ts Outdated
Comment thread packages/worker-bundler/src/installer.ts Outdated
Comment thread packages/worker-bundler/src/installer.ts Outdated
@abstractedfox
abstractedfox changed the base branch from diffsview/python-package/pypi-simple-api to main July 28, 2026 22:07
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.

3 participants