diff --git a/constraint.txt b/constraint.txt index 54aebf332..b8d398f80 100644 --- a/constraint.txt +++ b/constraint.txt @@ -1,3 +1,3 @@ -cmake<3.29 -pyzmq==26.0.0 -scikit-build-core<0.9 +cmake +pyzmq +scikit-build-core diff --git a/installation/routines/setup_jukebox_core.sh b/installation/routines/setup_jukebox_core.sh index 53d99a854..87f1e219c 100644 --- a/installation/routines/setup_jukebox_core.sh +++ b/installation/routines/setup_jukebox_core.sh @@ -79,6 +79,10 @@ _jukebox_core_build_and_install_pyzmq() { print_lc " Install pyzmq with libzmq-drafts to support WebSockets" if ! pip list | grep -F pyzmq >> /dev/null; then + + print_lc " Remove apt libzmq" + sudo apt-get -y remove libzmq + mkdir -p "${JUKEBOX_ZMQ_TMP_DIR}" || exit_on_error if [ "$BUILD_LIBZMQ_WITH_DRAFTS_ON_DEVICE" = true ] ; then _jukebox_core_build_libzmq_with_drafts @@ -86,6 +90,9 @@ _jukebox_core_build_and_install_pyzmq() { _jukebox_core_download_prebuilt_libzmq_with_drafts fi + print_lc " Run ldconfig" + sudo ldconfig -v + PIP_CONSTRAINT="${INSTALLATION_PATH}/constraint.txt" ZMQ_PREFIX="${JUKEBOX_ZMQ_PREFIX}" ZMQ_DRAFT_API=1 \ pip install -v pyzmq --no-binary pyzmq