Skip to content

Commit

Permalink
add sckit core version to constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Apr 21, 2024
1 parent e4cafc7 commit f434552
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions constraint.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
cmake<3.29
scikit-build-core<0.9
6 changes: 2 additions & 4 deletions installation/routines/setup_jukebox_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ _jukebox_core_install_python_requirements() {
source "$VIRTUAL_ENV/bin/activate"

pip install --upgrade pip
pip install --no-cache-dir -r "${INSTALLATION_PATH}/requirements.txt"
pip install --no-cache-dir -r "${INSTALLATION_PATH}/requirements.txt" --constraint "${INSTALLATION_PATH}/constraint.txt"
}

_jukebox_core_configure_pulseaudio() {
Expand Down Expand Up @@ -85,10 +85,8 @@ _jukebox_core_build_and_install_pyzmq() {
_jukebox_core_download_prebuilt_libzmq_with_drafts
fi


pip install -v cmake --constraint "${INSTALLATION_PATH}/constraint.txt"
ZMQ_PREFIX="${JUKEBOX_ZMQ_PREFIX}" ZMQ_DRAFT_API=1 \
pip install -v 'pyzmq==26.0.0' --no-binary pyzmq
pip install -v 'pyzmq==26.0.0' --no-binary pyzmq --constraint "${INSTALLATION_PATH}/constraint.txt"

else
print_lc " Skipping. pyzmq already installed"
Expand Down

0 comments on commit f434552

Please sign in to comment.