Skip to content

refactor(docker-tests): replace SpanAttributes with semconv attributes#4339

Merged
xrmx merged 7 commits intoopen-telemetry:mainfrom
RiyaChaturvedi37:fix/docker-tests-v4
Mar 19, 2026
Merged

refactor(docker-tests): replace SpanAttributes with semconv attributes#4339
xrmx merged 7 commits intoopen-telemetry:mainfrom
RiyaChaturvedi37:fix/docker-tests-v4

Conversation

@RiyaChaturvedi37
Copy link
Contributor

Refs #3475

Description

Replaces usage of deprecated SpanAttributes from opentelemetry.semconv.trace
with the preferred imports from opentelemetry.semconv._incubating.attributes
in the docker-tests package.

Files changed:

  • tests/asyncpg/test_asyncpg_functional.py
  • tests/celery/test_celery_functional.py
  • tests/mysql/test_mysql_functional.py
  • tests/postgres/test_aiopg_functional.py
  • tests/postgres/test_psycopg_functional.py
  • tests/pymongo/test_pymongo_functional.py
  • tests/pymysql/test_pymysql_functional.py
  • tests/redis/test_redis_functional.py
  • tests/sqlalchemy_tests/mixins.py
  • tests/sqlalchemy_tests/test_mssql.py
  • tests/sqlalchemy_tests/test_mysql.py
  • tests/sqlalchemy_tests/test_postgres.py
  • tests/sqlalchemy_tests/test_sqlite.py

Type of change

  • Refactoring (no functional changes)

@xrmx xrmx moved this to Easy to review / merge / close in Python PR digest Mar 18, 2026
@xrmx xrmx moved this from Easy to review / merge / close to Approved PRs in Python PR digest Mar 19, 2026
@xrmx xrmx enabled auto-merge (squash) March 19, 2026 10:10
@xrmx xrmx mentioned this pull request Mar 19, 2026
42 tasks
@xrmx xrmx merged commit 10339b6 into open-telemetry:main Mar 19, 2026
859 of 860 checks passed
@github-project-automation github-project-automation bot moved this from Approved PRs to Done in Python PR digest Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants