Skip to content

Commit

Permalink
fix: rust install for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelin committed Sep 1, 2021
1 parent b1c8fba commit de4494c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sudo apt-get install -y libjpeg-dev zlib1g-dev
# [backend]

# update ca certificates to prevent remote ssl download requests from erroring
sudo apt install ca-certificates
sudo apt-get install -y ca-certificates
sudo update-ca-certificates -f -v

# make sure python sees the packages installed via apt-get
Expand Down Expand Up @@ -77,7 +77,7 @@ then

# install rust as it is required to build python packages that are not available as binary pip packages
# for example orjson
sudo curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -ksSf | sh
# sudo curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -ksSf | sh


fi
Expand Down
4 changes: 3 additions & 1 deletion build/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
aiofiles>=0.7
apprise>=0.8.9pip
absl-py>=0.7.1
appdirs>=1.4.3
Expand All @@ -14,7 +15,7 @@ concurrent-log-handler>=0.9.19
cryptography>=2.8,<3.4.8
decorator>=4.3.0
dynaconf>=3.1
fastapi[all]>0.68
fastapi>0.68
entrypoints>=0.3
gast>=0.2.2
google-pasta>=0.1.7
Expand All @@ -35,5 +36,6 @@ requests-oauthlib>=1.0.0
responses>=0.9.0
simplegeneric>=0.8.1
simplejson>=3.16.0
uvicorn>=0.15
webencodings>=0.5.1
watchdog>=0.10

0 comments on commit de4494c

Please sign in to comment.