|
1 | 1 | """Well-known (and otherwise) constants used by ``jupyterlite-pyodide-kernel``"""
|
2 | 2 |
|
3 |
| -### pyodide-specific values |
| 3 | +### Pyodide-specific values |
4 | 4 | #: the key for PyPI-compatible API responses pointing to wheels
|
5 | 5 | PIPLITE_URLS = "pipliteUrls"
|
6 | 6 | DISABLE_PYPI_FALLBACK = "disablePyPIFallback"
|
|
10 | 10 | KERNEL_SETTINGS_SCHEMA = "kernel.v0.schema.json"
|
11 | 11 | #: where we put wheels, for now
|
12 | 12 | PYPI_WHEELS = "pypi"
|
13 |
| -#: the plugin id for the pydodide kernel labextension |
| 13 | +#: the plugin id for the Pydodide kernel labextension |
14 | 14 | PYODIDE_KERNEL_PLUGIN_ID = "@jupyterlite/pyodide-kernel-extension:kernel"
|
15 |
| -#: the npm name of the pyodide kernel |
| 15 | +#: the npm name of the Pyodide kernel |
16 | 16 | PYODIDE_KERNEL_NPM_NAME = PYODIDE_KERNEL_PLUGIN_ID.split(":")[0]
|
17 | 17 | #: the package.json key for piplite
|
18 | 18 | PKG_JSON_PIPLITE = "piplite"
|
|
29 | 29 | PYODIDE_URL_ENV_VAR = "JUPYTERLITE_PYODIDE_URL"
|
30 | 30 |
|
31 | 31 | #: probably only compatible with this version of pyodide
|
32 |
| -PYODIDE_VERSION = "0.26.4" |
| 32 | +PYODIDE_VERSION = "0.27.0" |
33 | 33 |
|
34 | 34 | #: the only kind of noarch wheel piplite understands
|
35 | 35 | NOARCH_WHL = "py3-none-any.whl"
|
36 | 36 |
|
37 |
| -#: the only kind of binary wheel piplite understands |
38 |
| -WASM_WHL = "emscripten_*_wasm32.whl" |
| 37 | +#: the only kind of binary wheel piplite previously understood |
| 38 | +EMSCRIPTEN_ABI_WHL = "emscripten_*_wasm32.whl" |
39 | 39 |
|
40 |
| -ALL_WHL = [NOARCH_WHL, WASM_WHL] |
| 40 | +#: legacy variable alias |
| 41 | +WASM_WHL = EMSCRIPTEN_ABI_WHL |
| 42 | + |
| 43 | +#: the Pyodide ABI wheel is the same as the Emscripten |
| 44 | +#: ABI wheel, but with a different platform tag, i.e., |
| 45 | +# YYYY_buildnumber. |
| 46 | +PYODIDE_ABI_WHL = "pyodide_*_wasm32.whl" |
| 47 | + |
| 48 | +ALL_WHL = [NOARCH_WHL, WASM_WHL, PYODIDE_ABI_WHL] |
0 commit comments