Skip to content

Commit

Permalink
use pyjs 2.0.0 (#617)
Browse files Browse the repository at this point in the history
* use pyjs_core

* use pyjs_core

* use 2.0.0

* redo

* redo
  • Loading branch information
DerThorsten committed Mar 13, 2024
1 parent dc8f542 commit 15f3c51
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -111,7 +111,7 @@ set(xeus-zmq_REQUIRED_VERSION 1.2.0)
set(xeus-lite_REQUIRED_VERSION 1.0.1)
set(pybind11_REQUIRED_VERSION 2.6.1)
set(pybind11_json_REQUIRED_VERSION 0.2.8)
set(pyjs_REQUIRED_VERSION 1.3.2)
set(pyjs_REQUIRED_VERSION 2.0.0)

if (NOT TARGET xtl)
find_package(xtl ${xtl_REQUIRED_VERSION} REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion environment-wasm-host.yml
Expand Up @@ -13,6 +13,6 @@ dependencies:
- xeus-lite
- xeus
- xeus-python-shell>=0.5
- pyjs>=1.0.0
- pyjs>=2.0.0
- requests-wasm-polyfill>=0.3.0
- libpython
2 changes: 1 addition & 1 deletion src/main_wasm.cpp
Expand Up @@ -18,7 +18,7 @@
#include "xeus/xembind.hpp"
#include "xeus-python/xinterpreter_wasm.hpp"

PYBIND11_EMBEDDED_MODULE(pyjs, m) {
PYBIND11_EMBEDDED_MODULE(pyjs_core, m) {
pyjs::export_pyjs_module(m);
}

Expand Down
2 changes: 1 addition & 1 deletion wasm_patches/post.js
Expand Up @@ -14,6 +14,6 @@ Module['async_init'] = async function(
return Module['bootstrap_from_empack_packed_environment'](
`${kernel_root_url}/empack_env_meta.json`, /* packages_json_url */
pkg_root_url, /* package_tarballs_root_url */
verbose /* verbose */
verbose /* verbose */
);
}

0 comments on commit 15f3c51

Please sign in to comment.