Skip to content

opentelemetry-exporter-otlp-proto-grpc: bump grpcio min version #4443

Closed
@dimaqq

Description

Describe your environment

Cross-reference: grpc/grpc#38790

OS: ubuntu-latest
Python version: 3.13 specifically
SDK version: 1.30.0
API version: 1.30.0

What happened?

The lowest allowed version for grpcio cannot be built on Python 3.13.

Steps to Reproduce

# fresh project
uv add opentelemetry-exporter-otlp-proto-grpc==1.30.0
uv sync --resolution lowest

Expected Result

venv installed

Actual Result

...
src/python/grpcio/grpc/_cython/cygrpc.cpp: In functionvoid
      __Pyx_init_assertions_enabled()’:
      src/python/grpcio/grpc/_cython/cygrpc.cpp:6354:39: error:
      ‘_PyInterpreterState_GetConfigwas not declared in this scope; did you
      meanPyInterpreterState_GetID’?
       6354 |     __pyx_assertions_enabled_flag = !
      _PyInterpreterState_GetConfig(__Pyx_PyThreadState_Current->interp)->optimization_level;
            |
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            |                                       PyInterpreterState_GetID
...
      distutils.errors.CompileError: command '/usr/bin/c++' failed with exit
      code 1
...
        `opentelemetry-exporter-otlp-proto-grpc` (v1.30.0) which depends on
        `grpcio`

Additional context

I don't know which project should solve this, gRPC or OTEL.

Would you like to implement a fix?

None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions