-
Notifications
You must be signed in to change notification settings - Fork 34
Bump web3py to 7.x #540
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
Bump web3py to 7.x #540
Conversation
✅ Deploy Preview for oasisprotocol-sapphire-paratime ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
d7b10db
to
0c7996f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we break compatibility with existing python apps when bumping the wrapper to web3 7.x? (e.g. could demo-starter-py remain exactly the same and just importing the new version of sapphirepy)
From docs:
However, we can add a couple of ```if```` conditions to check which web3 version is installed and align the client accordingly. In case of demo-starter-py or any app that uses web3.py the change is also in migration to class-based middleware: We could either add this as a sapphirepy PyPI pre-release version and wait for all apps to migrate or make it backwards compatible (6.x and 7.x) with a couple of version checks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the Usage section change in any way here https://github.com/oasisprotocol/sapphire-paratime/tree/ZigaMr/feat/bump-web3py-client/clients/py ?
10be7d4
to
148f6ef
Compare
Updated README with async/sync instructions. |
9a9aa96
to
5275e97
Compare
fix: resolve mypy type checking and contract error assert feat: Add async middleware and fix type errors Fix RPC url to localhost and DEFAULT_GAS_LIMIT
5275e97
to
1ad5255
Compare
…l/ZigaMr/feat/bump-web3py-client Bump web3py to 7.x c27a317
…gaMr/feat/bump-web3py-client Bump web3py to 7.x c27a317
This PR updates web3.py version in sapphirepy from 6.x to 7.x.
Changes:
TODO:
In addition, this PR also updates the publish.yaml workflow with PyPI tag release.