opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

ContainerResourceDetector is not available via pip install

Open jfairchild opened this issue 2 years ago • 10 comments
trafficstars

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 avatar Aug 29 '23 14:08 jfairchild

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

yulin-li avatar Sep 20 '23 07:09 yulin-li

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

lzchen avatar Sep 21 '23 22:09 lzchen

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

yulin-li avatar Nov 10 '23 16:11 yulin-li

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

lzchen avatar Nov 10 '23 17:11 lzchen

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

luminoso avatar Apr 02 '24 09:04 luminoso

Is this still not working?

disfluxly avatar Jul 24 '24 19:07 disfluxly

Related PyPi issue here: https://github.com/pypi/support/issues/3374

Seems like another case of namesquatting.

lzchen avatar Jul 25 '24 17:07 lzchen

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...

disfluxly avatar Jul 25 '24 17:07 disfluxly

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

lzchen avatar Jul 25 '24 17:07 lzchen

Does something like this don't work?

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

emdneto avatar Jul 25 '24 18:07 emdneto