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

chore(deps): bump kafka-python from 2.0.3 to 2.0.5 in /.github/dependabot #406

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 25, 2025

Bumps kafka-python from 2.0.3 to 2.0.5.

Release notes

Sourced from kafka-python's releases.

2.0.4 (Feb 21, 2025)

Networking

  • Check for wakeup socket errors on read and close and reinit to reset (#2482)
  • Improve client networking backoff / retry (#2480)
  • Check for socket and unresolved futures before creating selector in conn.check_version (#2477)
  • Handle socket init errors, e.g., when IPv6 is disabled (#2476)

Fixes

  • Avoid self-join in heartbeat thread close (#2488)

Error Handling

  • Always log broker errors in producer.send (#2478)
  • Retain unrecognized broker response error codes with dynamic error class (#2481)
  • Update kafka.errors with latest types (#2485)

Compatibility

  • Do not validate snappy xerial header version and compat fields (for redpanda) (#2483)

Documentation

  • Added missing docstrings in admin/client.py (#2487)

Testing

  • Update kafka broker test matrix; test against 3.9.0 (#2486)
  • Add default resources for new kafka server fixtures (#2484)
  • Drop make test-local; add PYTESTS configuration var
  • Fix pytest runs when KAFKA_VERSION is not set

Project Maintenance

  • Migrate to pyproject.toml / PEP-621
  • Remove old travis files; update compatibility tests link to gha
Changelog

Sourced from kafka-python's changelog.

2.0.5 (Feb 25, 2025) ####################

Networking

  • Remove unused client bootstrap backoff code
  • 200ms timeout for client.poll in ensure_active_group and admin client

Fixes

  • Admin client: check_version only if needed, use node_id kwarg for controller
  • Check for -1 controller_id in admin client
  • Only acquire coordinator lock in heartbeat thread close if not self thread

Testing

  • Also sleep when waiting for consumers in test_describe_consumer_group_exists
  • Refactor sasl_integration test_client - wait for node ready; use send future
  • Add timeout to test_kafka_consumer
  • Add error str to assert_message_count checks
  • Retry on error in test fixture create_topic_via_metadata
  • Fixup variable interpolation in test fixture error

Documentation

  • Update compatibility docs
  • Include client_id in BrokerConnection str output

Project Maintenance

  • Add make targets servers/*/api_versions and servers/*/messages

2.0.4 (Feb 21, 2025) ####################

Networking

  • Check for wakeup socket errors on read and close and reinit to reset (#2482)
  • Improve client networking backoff / retry (#2480)
  • Check for socket and unresolved futures before creating selector in conn.check_version (#2477)
  • Handle socket init errors, e.g., when IPv6 is disabled (#2476)

Fixes

  • Avoid self-join in heartbeat thread close (#2488)

Error Handling

  • Always log broker errors in producer.send (#2478)

... (truncated)

Commits
  • e7437e1 Release 2.0.5
  • 334ab8f rename make target api_versions.txt -> api_versions
  • 602f03d fixup compatibility badges
  • 7b8c625 Remove unused client bootstrap backoff code
  • 6ed1daa admin client: check_version only if needed, node_id kwarg for controller
  • 6467a53 include client_id in BrokerConnection str output
  • d7e3a60 Also sleep when waiting for consumers in test_describe_consumer_group_exists
  • d525925 Refactor sasl_integration test_client - wait for node ready; use send future
  • 8fdd5fc Add timeout to test_kafka_consumer
  • 905ee4c Add error str to assert_message_count checks
  • Additional commits viewable in compare view

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 [kafka-python](https://github.com/dpkp/kafka-python) from 2.0.3 to 2.0.5.
- [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.0.3...2.0.5)

---
updated-dependencies:
- dependency-name: kafka-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 25, 2025
Copy link

codecov bot commented Feb 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.24%. Comparing base (b71fbf0) to head (6235318).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #406   +/-   ##
=======================================
  Coverage   76.24%   76.24%           
=======================================
  Files          35       35           
  Lines        6063     6063           
=======================================
  Hits         4623     4623           
  Misses       1440     1440           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JamesWrigley JamesWrigley merged commit 17e0755 into master Feb 25, 2025
6 checks passed
@JamesWrigley JamesWrigley deleted the dependabot/pip/dot-github/dependabot/kafka-python-2.0.5 branch February 25, 2025 18:11
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant