Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Fix master: a dependency changed and broke us on Linux (#3300)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyRoseman authored Aug 21, 2020
1 parent 4fd068b commit 5205a74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install_python_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ function linux_patch_sigfpe_handler {

$PIP install --upgrade "pip"
if [[ "$USE_MINIMAL" -eq 1 ]]; then
$PIP install -r scripts/requirements-minimal.txt
$PIP install -r scripts/requirements-minimal.txt --prefer-binary
else
$PIP install -r scripts/requirements.txt
$PIP install -r scripts/requirements.txt --prefer-binary
fi

# install pre-commit hooks for git
Expand Down
4 changes: 4 additions & 0 deletions src/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ def do_not_install(require):
# See: https://github.com/apple/turicreate/issues/3003
install_requires.append("tensorflow >= 2.0.0,!= 2.1.0,!= 2.1.1")

# numba 0.51 started using "manylinux2014" rather than "manylinux2010".
# This breaks a lot of Linux installs.
install_requires.append("numba < 0.51.0")

setup(
name="turicreate",
version=VERSION,
Expand Down

0 comments on commit 5205a74

Please sign in to comment.