Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 23, 2025

Bumps web3 from 6.11.2 to 7.12.0.

Changelog

Sourced from web3's changelog.

web3.py v7.12.0 (2025-05-22)

Bugfixes


- Thread safety for batching and better consistency with ``PersistentConnectionProvider`` implementations:
- Make request batching threadsafe by using ``contextvars.ContextVar`` rather than a global flag for setting the batching state.
- Deterministically match responses with request ids for ``PersistentConnectionProvider`` batch requests. (`[#3705](https://github.com/ethereum/web3.py/issues/3705) <https://github.com/ethereum/web3.py/issues/3705>`__)

Deprecations

  • Deprecate ens_encode_name in favor of dns_encode_name. ([#3700](https://github.com/ethereum/web3.py/issues/3700) <https://github.com/ethereum/web3.py/issues/3700>__)

Features


- Introduce ``ens.utils.dns_encode_name`` as a rename of the current ``ens_encode_name``, for consistency across other language implementations and with the ENS docs. Returns ``HexBytes`` instead of ``bytes``. (`[#3700](https://github.com/ethereum/web3.py/issues/3700) <https://github.com/ethereum/web3.py/issues/3700>`__)

Internal Changes - for web3.py Contributors

  • Update some types in web3._utils.method_formatters ([#3669](https://github.com/ethereum/web3.py/issues/3669) <https://github.com/ethereum/web3.py/issues/3669>__)
  • Fix issues and start running the core tests with pytest-xdist, effectively reducing the CI test times by ~75-80%. ([#3705](https://github.com/ethereum/web3.py/issues/3705) <https://github.com/ethereum/web3.py/issues/3705>__)

Performance Improvements


- optimize message formatting for logging (`[#3643](https://github.com/ethereum/web3.py/issues/3643) <https://github.com/ethereum/web3.py/issues/3643>`__)
- Optimize web3._utils.decorators.reject_recursive_repeats (`[#3668](https://github.com/ethereum/web3.py/issues/3668) <https://github.com/ethereum/web3.py/issues/3668>`__)
- optimize Method.method_selector_function (`[#3696](https://github.com/ethereum/web3.py/issues/3696) <https://github.com/ethereum/web3.py/issues/3696>`__)
- optimize map_abi_data (`[#3697](https://github.com/ethereum/web3.py/issues/3697) <https://github.com/ethereum/web3.py/issues/3697>`__)

web3.py v7.11.1 (2025-05-12)

Bugfixes


- Fix contract event ``FilterParams`` to validate and normalize ``address`` parameters. (`[#3618](https://github.com/ethereum/web3.py/issues/3618) &lt;https://github.com/ethereum/web3.py/issues/3618&gt;`__)
- Properly handle ``PersistentConnectionClosedOK`` for ``subscription_manager.handle_subscriptions()``. (`[#3690](https://github.com/ethereum/web3.py/issues/3690) &lt;https://github.com/ethereum/web3.py/issues/3690&gt;`__)

&lt;/tr&gt;&lt;/table&gt;
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>

<ul>
<li><a href="https://github.com/ethereum/web3.py/commit/78f404f0ddf0b298a640ecbf4f626976c9579d14&quot;&gt;&lt;code&gt;78f404f&lt;/code&gt;&lt;/a> Bump version: 7.11.1 → 7.12.0</li>
<li><a href="https://github.com/ethereum/web3.py/commit/5767dad2ea482dffe7c25b54d494e09e31ec6a1c&quot;&gt;&lt;code&gt;5767dad&lt;/code&gt;&lt;/a> Compile release notes for v7.12.0</li>
<li><a href="https://github.com/ethereum/web3.py/commit/89d8145c40b0c567f039205d18a33aed77524d30&quot;&gt;&lt;code&gt;89d8145&lt;/code&gt;&lt;/a> Clean up unnecessary persistent connection logic for batch:</li>
<li><a href="https://github.com/ethereum/web3.py/commit/c94ff95ad259d4a6a9a6b627411aaf62e7b16997&quot;&gt;&lt;code&gt;c94ff95&lt;/code&gt;&lt;/a> test fix: gather sessions deterministically to check order</li>
<li><a href="https://github.com/ethereum/web3.py/commit/f393998c558b422a8aa1edbf7d451ae36bd17776&quot;&gt;&lt;code&gt;f393998&lt;/code&gt;&lt;/a> bugfix: threading id means nothing for async, use loop id</li>
<li><a href="https://github.com/ethereum/web3.py/commit/8d5271129e7fc8f0deaa190a368ffad46554218d&quot;&gt;&lt;code&gt;8d52711&lt;/code&gt;&lt;/a> newsfragments for <a href="https://redirect.github.com/ethereum/web3.py/issues/3705&quot;&gt;#3705&lt;/a&gt;&lt;/li>
<li><a href="https://github.com/ethereum/web3.py/commit/e6e1baa61d2ea38dce7886b44fe6a55c4852332f&quot;&gt;&lt;code&gt;e6e1baa&lt;/code&gt;&lt;/a> account for loading times in some tests</li>
<li><a href="https://github.com/ethereum/web3.py/commit/d3c3e7cc9f9af622e52792afead3680143a5f555&quot;&gt;&lt;code&gt;d3c3e7c&lt;/code&gt;&lt;/a> turn off unsupported provider batching tests:</li>
<li><a href="https://github.com/ethereum/web3.py/commit/1ef7491cfa54e0a5b54afc454fbc18176377d8df&quot;&gt;&lt;code&gt;1ef7491&lt;/code&gt;&lt;/a> Separate batch send from batch receive; cache request funcs:</li>
<li><a href="https://github.com/ethereum/web3.py/commit/bd53261560eb135964adee9c69493a59d7b21ef2&quot;&gt;&lt;code&gt;bd53261&lt;/code&gt;&lt;/a> make core tests able to be run with pytest-xdist:</li>
<li>Additional commits viewable in <a href="https://github.com/ethereum/web3.py/compare/v6.11.2...v7.12.0&quot;&gt;compare view</a></li>
</ul>
</details>

<br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [web3](https://github.com/ethereum/web3.py) from 6.11.2 to 7.12.0.
- [Changelog](https://github.com/ethereum/web3.py/blob/main/docs/release_notes.rst)
- [Commits](ethereum/web3.py@v6.11.2...v7.12.0)

---
updated-dependencies:
- dependency-name: web3
  dependency-version: 7.12.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 23, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 15, 2025

Superseded by #821.

@dependabot dependabot bot closed this Jul 15, 2025
@dependabot dependabot bot deleted the dependabot/pip/web3-7.12.0 branch July 15, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants