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

Temporarily fix cairo-lang dependency version issues after major upgrades #995

Merged
merged 1 commit into from
Mar 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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