Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct PYODIDE_BASE_URL for console.html in CircleCI artifacts #1453

Merged
merged 5 commits into from
Apr 13, 2021

Conversation

rth
Copy link
Member

@rth rth commented Apr 12, 2021

Closes #648

By adjusting PYODIDE_BASE_URL before artifacts are stored in CircleCI but after the workspace has been saved (which is used for S3 deployment), I think we should be able to use console.html from CircleCI artifacts without using local overrides in Chrome #1384 (comment)

@rth
Copy link
Member Author

rth commented Apr 12, 2021

No this still fails due to CORS when loading packages in console.html. I need to change the PYODIDE_BASE_URL to take into account the first redirect that happens when downloading packages.

.circleci/config.yml Outdated Show resolved Hide resolved
@hoodmane
Copy link
Member

Thanks! Even adjusting it so that it breaks with CORS failures would actually be an improvement, currently it loads the most recent version of Pyodide deployed from master without any warning which is pretty confusing.

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
@hoodmane
Copy link
Member

Could you restart the build-packages CI so we can test this?

@rth
Copy link
Member Author

rth commented Apr 13, 2021

@rth rth merged commit cbf5f7e into pyodide:master Apr 13, 2021
@rth rth deleted the console-from-circle-ci-artifacts branch April 13, 2021 11:58
@hoodmane
Copy link
Member

Now that this works we should probably add a suggestion somewhere to the dev docs.

hamlet4401 pushed a commit to tytgatlieven/pyodide that referenced this pull request Jul 3, 2021
…ide#1453)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
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.

Use pyodide dev from CircleCI artifacts
2 participants