File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ _jukebox_core_build_and_install_pyzmq() {
8686 fi
8787
8888 ZMQ_PREFIX=" ${JUKEBOX_ZMQ_PREFIX} " ZMQ_DRAFT_API=1 \
89- pip install -v --no-binary pyzmq pyzmq
89+ pip install -v --no-binary pyzmq ' pyzmq<26 '
9090 else
9191 print_lc " Skipping. pyzmq already installed"
9292 fi
@@ -120,6 +120,20 @@ _jukebox_core_check() {
120120 local pip_modules=$( get_args_from_file " ${INSTALLATION_PATH} /requirements.txt" )
121121 verify_pip_modules pyzmq $pip_modules
122122
123+ log " Verify ZMQ version '${JUKEBOX_ZMQ_VERSION} '"
124+ local zmq_version=$( python -c ' import zmq; print(f"{zmq.zmq_version()}")' )
125+ if [[ " ${zmq_version} " != " ${JUKEBOX_ZMQ_VERSION} " ]]; then
126+ exit_on_error " ERROR: ZMQ version '${zmq_version} ' differs from expected '${JUKEBOX_ZMQ_VERSION} '!"
127+ fi
128+ log " CHECK"
129+
130+ log " Verify ZMQ has 'DRAFT-API' activated"
131+ local zmq_hasDraftApi=$( python -c ' import zmq; print(f"{zmq.DRAFT_API}")' )
132+ if [[ " ${zmq_hasDraftApi} " != " True" ]]; then
133+ exit_on_error " ERROR: ZMQ has 'DRAFT-API' '${zmq_hasDraftApi} ' differs from expected 'True'!"
134+ fi
135+ log " CHECK"
136+
123137 verify_files_chmod_chown 644 " ${CURRENT_USER} " " ${CURRENT_USER_GROUP} " " ${JUKEBOX_PULSE_CONFIG} "
124138
125139 verify_files_chmod_chown 644 " ${CURRENT_USER} " " ${CURRENT_USER_GROUP} " " ${SETTINGS_PATH} /jukebox.yaml"
Original file line number Diff line number Diff line change 11
22VERSION_MAJOR = 3
33VERSION_MINOR = 5
4- VERSION_PATCH = 2
4+ VERSION_PATCH = 3
55VERSION_EXTRA = ""
66
77# build a version string in compliance with the SemVer specification
You can’t perform that action at this time.
0 commit comments