-
Notifications
You must be signed in to change notification settings - Fork 809
fix: confluent-kafka: fix incorrect number of arguments #3922
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
base: main
Are you sure you want to change the base?
fix: confluent-kafka: fix incorrect number of arguments #3922
Conversation
f72ac65 to
6dbb8eb
Compare
|
@emdneto hoping that you can help with CR here 🙏 |
| [project.optional-dependencies] | ||
| instruments = [ | ||
| "confluent-kafka >= 1.8.2, <= 2.11.0", | ||
| "confluent-kafka >= 1.8.2, <= 2.11.1", |
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.
What do you think of bumping to < 2.12.0? Can we expect to not break?
|
|
||
|
|
||
| _instruments = ("confluent-kafka >= 1.8.2, <= 2.11.0",) | ||
| _instruments = ("confluent-kafka >= 1.8.2, <= 2.11.1",) |
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.
same
| self._current_context_token = None | ||
|
|
||
| def close(self): | ||
| def close(self, *args, **kwargs): |
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.
Is this something that has been changed in 2.11.1 or has been there already? Maybe we should add a docker test.
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.
I personally only started using in that version, but it doesn't seem to be relevant to confluent Kafka itself, looks to be a change in wrapt that someone forgot to update here
Description
Incorrect wrapping of close() results in the following error:
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.