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

Instrument newer versions #1468

Merged
merged 11 commits into from
Dec 6, 2022

Conversation

Symbianx
Copy link
Contributor

@Symbianx Symbianx commented Nov 25, 2022

Description

The latest confluent-kafka version is 1.9.2, which is not being instrumented due to the current restricted version.

This change increases the confluent-kafka version check to also instrument versions greater or equal to 1.9.0.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Ran the existing unit tests with the changes and it passed. To make sure the
tests were running with the latest confluent-kafka version also hardcoded the
1.9.2 version in the requirements and ran the test suite again and the test
passed.

Does This PR Require a Core Repo Change?

  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Documentation has been updated

Signed-off-by: Miguel Alexandre <miguel.alexandre@bynder.com>
Signed-off-by: Miguel Alexandre <miguel.alexandre@bynder.com>
Signed-off-by: Miguel Alexandre <miguel.alexandre@bynder.com>
Signed-off-by: Miguel Alexandre <miguel.alexandre@bynder.com>
@Symbianx Symbianx requested a review from a team as a code owner November 25, 2022 17:08
CHANGELOG.md Show resolved Hide resolved
Signed-off-by: Miguel Alexandre <miguel.alexandre@bynder.com>
@Symbianx
Copy link
Contributor Author

Symbianx commented Nov 28, 2022

Looks like confluent-kafka is still not supported directly on python 3.11 confluentinc/confluent-kafka-python#1452 which causes the tests to fail

How should we proceed?

Symbianx and others added 2 commits November 28, 2022 15:28
Signed-off-by: Miguel Alexandre <miguel.alexandre@bynder.com>
@srikanthccv
Copy link
Member

You can skip the tests on 3.11 and add a FIXME note.

Symbianx and others added 2 commits December 5, 2022 10:28
Signed-off-by: Miguel Alexandre <miguel.alexandre@bynder.com>
@Symbianx
Copy link
Contributor Author

Symbianx commented Dec 5, 2022

@srikanthccv I think the last change was enough to disable the tests for 3.11 and pypy (which is not supported and never will be).

@srikanthccv srikanthccv enabled auto-merge (squash) December 6, 2022 14:53
@srikanthccv srikanthccv merged commit 25a6535 into open-telemetry:main Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants