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

ContainerResourceDetector is not available via pip install #1923

Open
jfairchild opened this issue Aug 29, 2023 · 10 comments
Open

ContainerResourceDetector is not available via pip install #1923

jfairchild opened this issue Aug 29, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@jfairchild
Copy link

Describe your environment
Python 3.11.3
pip 23.1.2

Steps to reproduce
Install python3.
Install pip, if needed.
Check pip version:
pip --version
Run:
pip install opentelemetry-resource-detector-container

What is the expected behavior?
https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/resource/opentelemetry-resource-detector-container#installation
pip install opentelemetry-resource-detector-container

What is the actual behavior?
Output:
Could not find a matching version of package opentelemetry-resource-detector-container

Additional context
Pypi link points to a TODO. What is the process to get this package setup in pypi?

@jfairchild jfairchild added the bug Something isn't working label Aug 29, 2023
@yulin-li
Copy link
Contributor

I am waiting for the official release in pipy too. @lzchen could you please help to publish it?

@lzchen
Copy link
Contributor

lzchen commented Sep 21, 2023

Resource container was added to our release script last week. It should be published to pypi as part of our next release cycle.

@yulin-li
Copy link
Contributor

Seems that a new version was released 2 days ago, but it's still not available yet.

@lzchen
Copy link
Contributor

lzchen commented Nov 10, 2023

There was an issue releasing the new version of opentelemetry-resource-detector-container==0.42b0, we are working on it to get it resolved.

@luminoso
Copy link

luminoso commented Apr 2, 2024

Is this still stuck or there's a package rename?

@disfluxly
Copy link

Is this still not working?

@lzchen
Copy link
Contributor

lzchen commented Jul 25, 2024

Related PyPi issue here: pypi/support#3374

Seems like another case of namesquatting.

@disfluxly
Copy link

Would it make sense to publish this under a different name until the 541 can be resolved? It doesn't look like that's going to happen quickly...

@lzchen
Copy link
Contributor

lzchen commented Jul 25, 2024

I believe we can do a hotfix similar to this so users can have a workaround for now. wdyt @ocelotl ?

@emdneto
Copy link
Member

emdneto commented Jul 25, 2024

Does something like this don't work?

pip install git+https://github.com/open-telemetry/[email protected]#subdirectory=resource/opentelemetry-resource-detector-container

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

6 participants