Skip to content

deps(deps): bump the protocols group with 3 updates#367

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/protocols-76027f8306
Open

deps(deps): bump the protocols group with 3 updates#367
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/protocols-76027f8306

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor

Bumps the protocols group with 3 updates: requests, websockets and kafka-python.

Updates requests from 2.33.0 to 2.34.2

Release notes

Sourced from requests's releases.

v2.34.2

2.34.2 (2026-05-14)

  • Moved headers input type back to Mapping to avoid invariance issues with MutableMapping and inferred dict types. Users calling Request.headers.update() may need to narrow typing in their code. (#7441)

Full Changelog: https://github.com/psf/requests/blob/main/HISTORY.md#2342-2026-05-14

v2.34.1

2.34.1 (2026-05-13)

Bugfixes

  • Widened json input type from dict and list to Mapping and Sequence. (#7436)
  • Changed headers input type to MutableMapping and removed None from Request.headers typing to improve handling for users. (#7431)
  • Response.reason moved from str | None to str to improve handling for users. (#7437)
  • Fixed a bug where some bodies with custom __getattr__ implementations weren't being properly detected as Iterables. (#7433)

New Contributors

Full Changelog: https://github.com/psf/requests/blob/main/HISTORY.md#2341-2026-05-13

v2.34.0

2.34.0 (2026-05-11)

Announcements

  • Requests 2.34.0 introduces inline types, replacing those provided by typeshed. Public API types should be fully compatible with mypy, pyright, and ty. We believe types are comprehensive but if you find issues, please report them to the pinned tracking issue.

    Special thanks to @​bastimeyer, @​cthoyt, @​edgarrmondragon, and @​srittau for helping review and test the types ahead of the release. (#7272)

Improvements

  • Digest Auth hashing algorithms have added usedforsecurity=False to clarify security considerations. (#7310)
  • Requests added support for Python 3.15 based on beta1. Downstream projects should be able to start testing prior to its release in October. (#7422)
  • Requests added support for Python 3.14t. (#7419)

Bugfixes

  • Response.history no longer contains a reference to itself, preventing accidental looping when traversing the history list. (#7328)
  • Requests no longer performs greedy matching on no_proxy domains. The

... (truncated)

Changelog

Sourced from requests's changelog.

2.34.2 (2026-05-14)

  • Moved headers input type back to Mapping to avoid invariance issues with MutableMapping and inferred dict types. Users calling Request.headers.update() may need to narrow typing in their code. (#7441)

2.34.1 (2026-05-13)

Bugfixes

  • Widened json input type from dict and list to Mapping and Sequence. (#7436)
  • Changed headers input type to MutableMapping and removed None from Request.headers typing to improve handling for users. (#7431)
  • Response.reason moved from str | None to str to improve handling for users. (#7437)
  • Fixed a bug where some bodies with custom __getattr__ implementations weren't being properly detected as Iterables. (#7433)

2.34.0 (2026-05-11)

Announcements

  • Requests 2.34.0 introduces inline types, replacing those provided by typeshed. Public API types should be fully compatible with mypy, pyright, and ty. We believe types are comprehensive but if you find issues, please report them to the pinned tracking issue.

    Special thanks to @​bastimeyer, @​cthoyt, @​edgarrmondragon, and @​srittau for helping review and test the types ahead of the release. (#7272)

Improvements

  • Digest Auth hashing algorithms have added usedforsecurity=False to clarify security considerations. (#7310)
  • Requests added support for Python 3.15 based on beta1. Downstream projects should be able to start testing prior to its release in October. (#7422)
  • Requests added support for Python 3.14t. (#7419)

Bugfixes

  • Response.history no longer contains a reference to itself, preventing accidental looping when traversing the history list. (#7328)
  • Requests no longer performs greedy matching on no_proxy domains. The proxy_bypass implementation has been updated with CPython's fix from bpo-39057. (#7427)
  • Requests no longer incorrectly strips duplicate leading slashes in URI paths. This should address user issues with specific presigned URLs. Note the full fix requires urllib3 2.7.0+. (#7315)

... (truncated)

Commits

Updates websockets from 15.0.1 to 16.0

Release notes

Sourced from websockets's releases.

16.0

See https://websockets.readthedocs.io/en/stable/project/changelog.html for details.

Commits
  • d4303a5 Release version 16.0.
  • 851bcd7 Bump pypa/cibuildwheel from 3.3.0 to 3.3.1
  • 740c8d3 Temporarily remove the trio implementation.
  • 92ea055 Add missing changelog entry.
  • ba74244 Document bug fix.
  • 9410483 Pin sphinx to avoid error in sphinxcontrib-trio.
  • 8e4d408 Document asyncio's TLS read buffer.
  • cb3500b Stop referring to the asyncio implementation as new.
  • 6563a9c The threading implementation supports max_queue.
  • 9f17e92 Clarify that protocol_mutex protects pending_pings.
  • Additional commits viewable in compare view

Updates kafka-python from 2.3.2 to 3.0.0

Release notes

Sourced from kafka-python's releases.

3.0.0 (Jun 11, 2026)

This is a major release with significant changes to kafka-python internals to simplify networking and feature development. It introduces a new networking layer (kafka.net) and a dynamic protocol system that uses JSON schema files imported from Apache Kafka. It substantially refactors and expands the Admin client, including breaking changes to some API signatures, and it lands a long list of KIP features/changes across the producer, consumer, admin, and networking/metadata clients. Protocol support across kafka-python is now at or beyond the apache kafka 3.0 baseline.

Breaking Changes

Python Compatibility

Default Configuration Changes

  • KIP-679: Update Producer defaults -- enable_idempotence=True, acks='all' (#3013)
  • KIP-735: Increase default consumer session_timeout_ms from 10s to 45s (#3030)
  • Rename api_version_auto_timeout_ms -> bootstrap_timeout_ms; default 30s (#3028)
  • Producer: Remove deprecation warning for buffer_memory config (now raises) (#3047)

Abstract Interface Changes

  • Serializer/Deserializer: Pass headers to serialize/deserialize (#3046)
  • Partitioner: pass both key/value, serialized and unserialized, to partition() (#3045)

Admin API Changes

  • Admin: change response shapes to simple dicts (#2883)
  • Admin: groups apis renames; add offsets, members apis (#2892)
  • Admin: Deprecate NewTopics/NewPartitions in favor of simple dicts (#2869)

Consumer API Changes

  • Consumer: use assignor instances, not classes (#2775)

Error Hierarchy

  • KafkaError subclass Exception not RuntimeError (#2932)
  • Make IncompatibleBrokerVersion a subclass of UnsupportedVersionError (#2924)
  • Eliminate NoBrokersAvailableError (#2942)
  • KafkaProtocolError is not retriable (#2941)
  • Prefer raised Exceptions to assert / AssertionError (#3042)

Old Networking Stack Removal

  • Remove kafka.client_async / kafka.conn legacy modules (#2918)
  • Drop version probes for pre-0.10/ApiVersionsRequest brokers

SASL Module Rename

  • Rename kafka.sasl -> kafka.net.sasl

Networking (kafka.net)

Complete refactor of the networking layer using a bespoke event-loop supporting async/await (but no asyncio yet). All three clients (Admin, Consumer, Producer) use a dedicated IO thread that drives a selector-based event loop. AdminClient/KafkaConsumer leverage a built-in io thread supplied by kafka.net, KafkaProducer continues to use its existing background Sender thread for now.

Async IO Substrate

  • kafka.net: Refactored async networking modules (generator-based coroutines) (#2812)
  • kafka.net: Network IO thread (#2965, #2980, #2961, #2968, #2963)
  • KafkaNetClient: drop-in replacement for KafkaClient using kafka.net (#2816)
  • KafkaNetSocket: interface class for socket and proxy connections (#2992)

... (truncated)

Changelog

Sourced from kafka-python's changelog.

3.0.0 (Jun 11, 2026) ####################

This is a major release with significant changes to kafka-python internals to simplify networking and feature development. It introduces a new networking layer (kafka.net) and a dynamic protocol system that uses JSON schema files imported from Apache Kafka. It substantially refactors and expands the Admin client, including breaking changes to some API signatures, and it lands a long list of KIP features/changes across the producer, consumer, admin, and networking/metadata clients. Protocol support across kafka-python is now at or beyond the apache kafka 3.0 baseline.

Breaking Changes

Python Compatibility ^^^^^^^^^^^^^^^^^^^^

Default Configuration Changes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • KIP-679: Update Producer defaults -- enable_idempotence=True, acks='all' (#3013)
  • KIP-735: Increase default consumer session_timeout_ms from 10s to 45s (#3030)
  • Rename api_version_auto_timeout_ms -> bootstrap_timeout_ms; default 30s (#3028)
  • Producer: Remove deprecation warning for buffer_memory config (now raises) (#3047)

Abstract Interface Changes ^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Serializer/Deserializer: Pass headers to serialize/deserialize (#3046)
  • Partitioner: pass both key/value, serialized and unserialized, to partition() (#3045)

Admin API Changes ^^^^^^^^^^^^^^^^^

  • Admin: change response shapes to simple dicts (#2883)
  • Admin: groups apis renames; add offsets, members apis (#2892)
  • Admin: Deprecate NewTopics/NewPartitions in favor of simple dicts (#2869)

Consumer API Changes ^^^^^^^^^^^^^^^^^^^^

  • Consumer: use assignor instances, not classes (#2775)

Error Hierarchy ^^^^^^^^^^^^^^^

  • KafkaError subclass Exception not RuntimeError (#2932)
  • Make IncompatibleBrokerVersion a subclass of UnsupportedVersionError (#2924)
  • Eliminate NoBrokersAvailableError (#2942)
  • KafkaProtocolError is not retriable (#2941)
  • Prefer raised Exceptions to assert / AssertionError (#3042)

Old Networking Stack Removal ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Remove kafka.client_async / kafka.conn legacy modules (#2918)
  • Drop version probes for pre-0.10/ApiVersionsRequest brokers

SASL Module Rename ^^^^^^^^^^^^^^^^^^

  • Rename kafka.sasl -> kafka.net.sasl

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the protocols group with 3 updates: [requests](https://github.com/psf/requests), [websockets](https://github.com/python-websockets/websockets) and [kafka-python](https://github.com/dpkp/kafka-python).


Updates `requests` from 2.33.0 to 2.34.2
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.33.0...v2.34.2)

Updates `websockets` from 15.0.1 to 16.0
- [Release notes](https://github.com/python-websockets/websockets/releases)
- [Commits](python-websockets/websockets@15.0.1...16.0)

Updates `kafka-python` from 2.3.2 to 3.0.0
- [Release notes](https://github.com/dpkp/kafka-python/releases)
- [Changelog](https://github.com/dpkp/kafka-python/blob/master/docs/changelog.rst)
- [Commits](dpkp/kafka-python@2.3.2...3.0.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.34.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: protocols
- dependency-name: websockets
  dependency-version: '16.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: protocols
- dependency-name: kafka-python
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: protocols
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file pip Python pip 依赖升级 labels Jun 15, 2026
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 pip Python pip 依赖升级

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants