Skip to content

Commit

Permalink
test: remove existing apt libzmq
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller authored Apr 26, 2024
1 parent 12b1d8a commit 2ca6929
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions constraint.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cmake<3.29
pyzmq==26.0.0
scikit-build-core<0.9
cmake
pyzmq
scikit-build-core
7 changes: 7 additions & 0 deletions installation/routines/setup_jukebox_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,20 @@ _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
else
_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

Expand Down

0 comments on commit 2ca6929

Please sign in to comment.