Skip to content

Fix opentelemetry-util-http tests #2634

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

Merged
merged 2 commits into from
Jun 26, 2024
Merged

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
365 checks passed
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
None yet
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