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

PIP opentelemetry-api 1.10a0 conflicts with opentelemetry-instrumentation #1910

Closed
pjachowi opened this issue Jun 11, 2021 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@pjachowi
Copy link

Describe your environment
Python 3.8.5
system='Linux', node='XXXXXXXXX', release='5.8.0-55-generic', version='#62~20.04.1-Ubuntu SMP Wed Jun 2 08:55:04 UTC 2021', machine='x86_64', processor='x86_64'

Steps to reproduce

$ cat requirements.txt
opentelemetry-api==1.10a.0
opentelemetry-sdk==1.10a.0
opentelemetry-instrumentation

$ pip3 install -r ./requirements.txt
...
ERROR: opentelemetry-instrumentation 0.22b0 has requirement opentelemetry-api==1.3.0, but you'll have opentelemetry-api 1.10a0 which is incompatible....

What is the expected behavior?
pip3 install finishes successfully

What is the actual behavior?
pip3 install finishes with error

Additional context
In my project I use opentelemetry-instrumentation-grpc. When I tried latest version of experimental metrics, included in opentelemetry-api 1.10a0, I got conflicting requirements.

@pjachowi pjachowi added the bug Something isn't working label Jun 11, 2021
@lzchen
Copy link
Contributor

lzchen commented Jun 11, 2021

Hi thanks for reporting this. A couple of things:

  1. The 1.1.0a.0 versions of opentelemetry-api and opentelemetry-sdk are in alpha and are not meant to be experimented with other packages.
  2. With that being said, we will probably release an alpha version of dependencies like opentelemetry-instrumentation so you don't get conflicts like these,
  3. The metrics features and classes present in the 1.10a.0 release are actually outdated. We are currently working on a new metrics api/sdk (Adds metrics API #1887) so you may want to hold off on experimenting with the alpha release.

@pjachowi
Copy link
Author

pjachowi commented Jun 11, 2021 via email

@lzchen
Copy link
Contributor

lzchen commented Jun 21, 2021

@pjachowi
Can this issue be closed/

@ocelotl
Copy link
Contributor

ocelotl commented Jun 24, 2021

I think this issue can be closed

@lzchen lzchen closed this as completed Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants