Skip to content

Commit

Permalink
setup_jukebox_core.sh: fix pyzmq installation for current pip versions (
Browse files Browse the repository at this point in the history
#1928)

- using --install-options is deprecated, building pyzmq throws an error
- use environment variables instead to activate draft support

Co-authored-by: Christoph <Christoph Lauer>
  • Loading branch information
notapirate committed Apr 7, 2023
1 parent 6fce216 commit a8c56b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions installation/routines/setup_jukebox_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ _jukebox_core_build_and_install_pyzmq() {
_jukebox_core_download_prebuild_libzmq_with_drafts
fi

sudo pip3 install --pre pyzmq \
--install-option=--enable-drafts \
--install-option=--zmq=${ZMQ_PREFIX}
sudo ZMQ_PREFIX=${ZMQ_PREFIX} ZMQ_DRAFT_API=1 \
pip3 install --no-cache-dir --pre pyzmq
else
echo " Skipping. pyzmq already installed"
fi
Expand Down

0 comments on commit a8c56b0

Please sign in to comment.