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

Run tests in Python 3.13 #4067

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

antonpirker
Copy link
Contributor

@antonpirker antonpirker commented Jul 22, 2024

Description

In this PR we run the tests suite against Python 3.13 to see if this works.

I know this is not something we can merge yet, because we probably have to wait until the final Python 3.13 is released. But this PR should be a starting point to see what still needs to be done to make opentelementry-python compatible with Python 3.13.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

I ran all the test suites using tox against Python 3.13 locally. One is still failing:

  py313-test-opentelemetry-api: commands succeeded
  py313-test-opentelemetry-proto-0: commands succeeded
  py313-test-opentelemetry-proto-1: commands succeeded
  py313-test-opentelemetry-sdk: commands succeeded
  py313-test-opentelemetry-semantic-conventions: commands succeeded
ERROR:   py313-test-opentelemetry-getting-started: parallel child exit code 1
  py313-test-opentelemetry-opentracing-shim: commands succeeded
  py313-test-opentelemetry-opencensus-shim: commands succeeded
  py313-test-opentelemetry-exporter-opencensus: commands succeeded
  py313-test-opentelemetry-exporter-otlp-proto-common-0: commands succeeded
  py313-test-opentelemetry-exporter-otlp-proto-common-1: commands succeeded
  py313-test-opentelemetry-exporter-otlp-combined: commands succeeded
  py313-test-opentelemetry-exporter-otlp-proto-grpc-0: commands succeeded
  py313-test-opentelemetry-exporter-otlp-proto-grpc-1: commands succeeded
  py313-test-opentelemetry-exporter-otlp-proto-http-0: commands succeeded
  py313-test-opentelemetry-exporter-otlp-proto-http-1: commands succeeded
  py313-test-opentelemetry-exporter-prometheus: commands succeeded
  py313-test-opentelemetry-exporter-zipkin-combined: commands succeeded
  py313-test-opentelemetry-exporter-zipkin-proto-http: commands succeeded
  py313-test-opentelemetry-exporter-zipkin-json: commands succeeded
  py313-test-opentelemetry-propagator-b3: commands succeeded
  py313-test-opentelemetry-propagator-jaeger: commands succeeded
  py313-test-opentelemetry-test-utils: commands succeeded

But I guess this is because I need to set CONTRIB_REPO_SHA to a commit in the contrib repo that has the Python 3.13 changes in it (which is not possible, because I forked the contrib repo)

Does This PR Require a Contrib Repo Change?

Checklist:

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

Copy link

linux-foundation-easycla bot commented Jul 22, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@antonpirker
Copy link
Contributor Author

Currently the show blocker is, that grpcio does not yet support Python 3.13. But will do so by the end of September 2024, see this comment: grpc/grpc#34922 (comment)

@alexmojaki
Copy link

Seems like grpc support for 3.13 has been released: grpc/grpc#34922 (comment)

@emdneto
Copy link
Member

emdneto commented Oct 14, 2024

Seems like grpc support for 3.13 has been released: grpc/grpc#34922 (comment)

@antonpirker is there any other blocker for this PR to make it ready for review?

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.

4 participants