Skip to content

Fix pyodide-build verbose log by replacing requests with urllib#4814

Merged
ryanking13 merged 4 commits intopyodide:mainfrom
ryanking13:config-verbose-fix-2
Jun 5, 2024
Merged

Fix pyodide-build verbose log by replacing requests with urllib#4814
ryanking13 merged 4 commits intopyodide:mainfrom
ryanking13:config-verbose-fix-2

Conversation

@ryanking13
Copy link
Member

@ryanking13 ryanking13 commented May 28, 2024

Description

Resolve: #4810

This is a kind of a temporary fix for #4810. The log comes from requests (urllib3), so this PR replaces requests with urllib. I'll try to refactor our logger module to fix the root cause, but I guess it will take some time, hence this PR.

Unfortunately, I couldn't write a test as it was impossible for me to reproduce the error in pytest. I guess it has something to do with how pytest handles logging but I am not sure.

Checklists

@hoodmane hoodmane added this to the 0.26.1 milestone May 28, 2024
@ryanking13 ryanking13 merged commit b946246 into pyodide:main Jun 5, 2024
@ryanking13 ryanking13 deleted the config-verbose-fix-2 branch June 5, 2024 11:13
hoodmane pushed a commit to hoodmane/pyodide that referenced this pull request Jun 7, 2024
…ide#4814)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.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.

Pyodide config recipe broken in 0.26.0

2 participants