Skip to content

Pyodide config recipe broken in 0.26.0 #4810

@henryiii

Description

@henryiii

🐛 Bug

The following recipe in the docs:

echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV

which worked with 0.25.1 now produces:

EMSCRIPTEN_VERSION: Starting new HTTPS connection (1): github.com:443 [https://github.com:443](https://github.com/) "GET /pyodide/pyodide/releases/download/0.26.0/xbuildenv-0.26.0.tar.bz2 HTTP/1.1" 302 0 Starting new HTTPS connection (1): objects.githubusercontent.com:443 [https://objects.githubusercontent.com:443](https://objects.githubusercontent.com/) "GET /github-production-release-asset-2e65be/122663163/de270f41-72a5-4998-828e-bb88404ce29e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240528%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240528T041437Z&X-Amz-Expires=300&X-Amz-Signature=e7e945b98795915f19c148130500dddb77cc6520852a3077883dc7e53da6edd1&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=122663163&response-content-disposition=attachment%3B%20filename%3Dxbuildenv-0.26.0.tar.bz2&response-content-type=application%2Foctet-stream HTTP/1.1" 200 19429390 3.1.58

Which does not work when passed to the next step!

To Reproduce

(Above, or first commit in scikit-hep/boost-histogram#938)

Expected behavior

If it really needs to print stuff like that, it should go to stderr.

If anyone needs it, this is a workaround:

echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version | tail -n 1 | awk '{print $NF}') >> $GITHUB_ENV

Environment

  • Pyodide Version: 0.26.0
  • Browser version:
  • Any other relevant information:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions