File tree Expand file tree Collapse file tree 5 files changed +16
-4
lines changed
Expand file tree Collapse file tree 5 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 5757 -c https://repo.mamba.pm/emscripten-forge \
5858 -c https://repo.mamba.pm/conda-forge \
5959 --yes \
60- python=${{matrix.python_version}} "pybind11${{matrix.pybind11_version}}" nlohmann_json pybind11_json "numpy<2" "pytest==7.1.1" bzip2 sqlite zlib zstd libffi exceptiongroup emscripten-abi==${{matrix.emsdk_ver}}
60+ python=${{matrix.python_version}} \
61+ "pybind11${{matrix.pybind11_version}}" \
62+ nlohmann_json pybind11_json "numpy<2" \
63+ "pytest==7.1.1" bzip2 sqlite zlib zstd libffi \
64+ exceptiongroup emscripten-abi==${{matrix.emsdk_ver}} \
65+ openssl
6166
6267
6368 mkdir build
Original file line number Diff line number Diff line change @@ -148,6 +148,10 @@ SET(PYTHON_UTIL_LIBS
148148 ${CMAKE_INSTALL_PREFIX} /lib/libsqlite3.a
149149 ${CMAKE_INSTALL_PREFIX} /lib/libffi.a
150150 ${CMAKE_INSTALL_PREFIX} /lib/libzstd.a
151+ # ssl
152+ ${CMAKE_INSTALL_PREFIX} /lib/libssl.a
153+ # crypto
154+ ${CMAKE_INSTALL_PREFIX} /lib/libcrypto.a
151155)
152156
153157
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if [ ! -d "$WASM_ENV_PREFIX" ]; then
2323 --yes \
2424 python=$PYTHON_VERSION " pybind11" nlohmann_json pybind11_json numpy \
2525 bzip2 sqlite zlib zstd libffi exceptiongroup\
26- " xeus" " xeus-lite" xeus-python " xeus-javascript" xtl " ipython=8.22.2=py311had7285e_1" " traitlets>=5.14.2"
26+ " xeus" " xeus-lite" xeus-python " xeus-javascript" xtl " ipython=8.22.2=py311had7285e_1" " traitlets>=5.14.2" openssl
2727
2828else
2929 echo " Wasm env $WASM_ENV_NAME already exists"
Original file line number Diff line number Diff line change 11// from https://zlib.net/zlib_how.html
22// and https://windrealm.org/tutorials/decompress-gzip-stream.php
33// and https://stackoverflow.com/questions/10195343/copy-a-file-in-a-sane-safe-and-efficient-way
4- #pragma once
54
65#include < stdio.h>
76#include < string.h>
Original file line number Diff line number Diff line change 1919
2020import pyjs
2121
22-
22+ # check python version
23+ if sys .version_info [0 ] == 3 and sys .version_info [1 ] >= 13 :
24+ def test_ssl_import ():
25+ import ssl
26+
2327def test_js_submodule ():
2428 from pyjs .js import Function
2529
You can’t perform that action at this time.
0 commit comments