-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
What
Replace https://github.com/crepererum/cpython-wasi-build with https://github.com/brettcannon/cpython-wasi-build
Why
While https://github.com/brettcannon/cpython-wasi-build is also not an official Python release, it is the de-facto standard WASI build for now.
How
This requires a new official build after brettcannon/cpython-wasi-build#4 . If we just wait until the next Python 3.14 build, that should be fine.
Replace the download URIs in this script:
datafusion-udf-wasm/guests/python/Justfile
Lines 39 to 57 in a99b13a
| curl \ | |
| --fail \ | |
| --show-error \ | |
| --silent \ | |
| --proto '=https' \ | |
| --tlsv1.2 \ | |
| --location \ | |
| --output "python-sdk.zip" \ | |
| "https://github.com/crepererum/cpython-wasi-build/releases/download/v{{PYTHON_VERSION_FULL}}/python-{{PYTHON_VERSION_FULL}}-wasi_sdk-{{WASI_SDK_VERSION_MAJOR}}.zip" | |
| curl \ | |
| --fail \ | |
| --show-error \ | |
| --silent \ | |
| --proto '=https' \ | |
| --tlsv1.2 \ | |
| --location \ | |
| --output "build-python-sdk.zip" \ | |
| "https://github.com/crepererum/cpython-wasi-build/releases/download/v{{PYTHON_VERSION_FULL}}/_build-python-{{PYTHON_VERSION_FULL}}-wasi_sdk-{{WASI_SDK_VERSION_MAJOR}}.zip" |
and adjust the checksums here:
datafusion-udf-wasm/guests/python/Justfile
Lines 8 to 9 in a99b13a
| SHA256_PYTHON_SDK := "be233d6baf6a770550634fd6f51e12f15c1837455105c7e8b2a45efd3926805d" | |
| SHA256_PYTHON_SDK_BUILD := "d5240fdf3e2aedd5dcea9f60244060b2b6a7c4365066e2060402fd8f36fce229" |
Metadata
Metadata
Assignees
Labels
No labels