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

Commit

Permalink
Fix cairo-lang dependencies issues after major upgrades (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyodar authored Mar 20, 2023
1 parent 7a2e80e commit 775d383
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-behaviour.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
run: |
pip install -r requirements.txt
pip install cairo-lang=="$CAIRO_LANG_VERSION"
pip install web3==5.*
pip install typeguard==2.*
- name: Setup source hash (push)
if: ${{ github.event_name == 'push' }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
make compile
pip3 install cairo-lang=="$CAIRO_LANG_VERSION"
pip3 install starknet-devnet==0.4.4
pip3 install web3==5.*
pip3 install typeguard==2.*
- name: Build warplib
run: yarn warplib
Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ flask-cors >= 3.0.10
cairo-lang==0.10.3
# Requrired by the cli test
starknet-devnet==0.4.4
# Fix until cairo-lang supports web3 v6 or adds a matching pattern for v5
web3==5.*
# Fix until cairo-lang 0.11 is released
typeguard==2.*
2 changes: 2 additions & 0 deletions warp_venv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ $PYTHON_BIN -m venv "$SCRIPT_DIR"/warp_venv
. $SCRIPT_DIR/warp_venv/bin/activate

pip install cairo-lang==0.10.3
pip install web3==5.*
pip install typeguard==2.*

deactivate

0 comments on commit 775d383

Please sign in to comment.