Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin web3 to 6.20.2 #1231

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Pin web3 to 6.20.2 #1231

merged 2 commits into from
Sep 17, 2024

Conversation

iamacook
Copy link
Member

Summary

Our django-check job is currently failing after install (example). This stems from the related version of the web3 package for safe-eth-py. The offending error is:

ImportError: cannot import name 'geth_poa_middleware' from 'web3.middleware'

When transitioning from version 6 to 7, web3 renamed some middleware, including get_poa_middleware. Our safe-eth-py package has yet to migrate to version 7, however. It therefore tries to import the non-existent get_poa_middleware.

This pins the web3 package in accordance with the requirements of safe-eth-py.

Changes

  • Pin web3 to 6.20.2

@iamacook iamacook self-assigned this Sep 17, 2024
@iamacook iamacook requested a review from a team as a code owner September 17, 2024 09:29
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10900324207

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.661%

Totals Coverage Status
Change from base Build 10490857561: 0.0%
Covered Lines: 1176
Relevant Lines: 1180

💛 - Coveralls

@iamacook iamacook merged commit e6a985f into main Sep 17, 2024
17 checks passed
@iamacook iamacook deleted the pin-web3 branch September 17, 2024 15:44
@github-actions github-actions bot locked and limited conversation to collaborators Sep 17, 2024
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.

3 participants