Skip to content

Conversation

@emdneto
Copy link
Member

@emdneto emdneto commented Jun 25, 2024

Description

It seems opentelemetry-util-http tox commands aren't working properly and it's has been used for several instrumentations. Fix that

Fixes #2633

$ tox -e py312-test-util-http

========================================================================= warnings summary ==========================================================================
opentelemetry-instrumentation/src/opentelemetry/instrumentation/dependencies.py:4
  /Users/emidio.neto/workspace/emd/github/opentelemetry/opentelemetry-python-contrib/opentelemetry-instrumentation/src/opentelemetry/instrumentation/dependencies.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pkg_resources import (

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=================================================================== 24 passed, 1 warning in 3.64s ===================================================================
  py312-test-util-http: OK (28.81=setup[0.05]+cmd[5.56,5.44,5.67,5.32,1.70,1.12,3.94] seconds)
  congratulations :) (28.94 seconds)

@emdneto emdneto requested a review from a team June 25, 2024 15:52
Copy link
Contributor

@xrmx xrmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@xrmx xrmx added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jun 26, 2024
@lzchen lzchen merged commit f531996 into open-telemetry:main Jun 26, 2024
xrmx pushed a commit to xrmx/opentelemetry-python-contrib that referenced this pull request Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ModuleNotFoundError for opentelemetry.semconv and ImportError for trace in tox -e py39-test-util-http`

4 participants