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

Conversation

Hyodar
Copy link
Contributor

@Hyodar Hyodar commented Mar 19, 2023

When I was merging changes on my other PR, I noticed some issues when starknet was being executed on the workflow tests, and they didn't seem to have been caused by my changes.
Turns out that the errors were related to breaking changes from two cairo-lang dependencies that were upgraded to the next major version literally like 3 days ago, more specifically web3 and typeguard. Since cairo-lang didn't have a specific major version matching, it accepted the new package versions while not yet supporting them, and then these errors happened. There's already an open issue for this: starkware-libs/cairo-lang#151.

In the latest cairo-lang pre-release, typeguard is already set to <3.0.0, but web3 isn't yet. When both of these are fixed and there's a new release, it would be good to upgrade it here. For the moment, I added explicit installs for web3 (==5.*) and typeguard (==2.*), which seem to have done the trick.

@AlejandroLabourdette AlejandroLabourdette merged commit 775d383 into NethermindEth:develop Mar 20, 2023
piwonskp pushed a commit that referenced this pull request Apr 4, 2023
* Fix cairo-lang dependencies issues after major upgrades (#995)

* fix: typos (#991)

* Bump @sideway/formula from 3.0.0 to 3.0.1 in /docs (#990)

Bumps [@sideway/formula](https://github.com/sideway/formula) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sideway/formula/releases)
- [Commits](hapijs/formula@v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: "@sideway/formula"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Franco Barpp Gomes <franco.b.gomes@gmail.com>
Co-authored-by: julio4 <30329843+julio4@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants