Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
version_spec: next

- name: Upload Distributions
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pyjs-code-runner-releaser-dist-${{ github.run_number }}
path: .jupyter_releaser_checkout/dist
6 changes: 3 additions & 3 deletions pyjs_code_runner/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ async function fetchMounts(pyjs) {
let mounts = await response.json();
pyjs.FS.mkdir("/mount_tarballs");
await Promise.all(mounts.map(mount => fetchMount(pyjs, mount)));

}

async function make_pyjs(print, error) {
var pyjs = await createModule({ print: print, error: print })

await pyjs.bootstrap_from_empack_packed_environment(
`./empack_env_meta.json`, /* packages_json_url */
".", /* package_tarballs_root_url */
Expand All @@ -40,7 +40,7 @@ function eval_main_script(pyjs, workdir, filename) {
}
catch (e) {
if (typeof e === "number") {
const msg = pyjs.get_exception_message(e);
const msg = pyjs.extract_exception_message(e);
console.error("error while evaluating main file:", msg)
}
else {
Expand Down
2 changes: 1 addition & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def env_prefix(tmp_path_factory):
"-c https://repo.mamba.pm/emscripten-forge -c https://repo.mamba.pm/conda-forge"
)
cmd = [
f"""$MAMBA_EXE create {channels} --yes --prefix {env_prefix} --platform=emscripten-32 python numpy pyjs>=2.7.0"""
f"""$MAMBA_EXE create {channels} --yes --prefix {env_prefix} --platform=emscripten-32 python numpy pyjs>=2.7.1"""
]

ret = subprocess.run(cmd, shell=True)
Expand Down
Loading