Skip to content

Conversation

mabdinur
Copy link
Contributor

@mabdinur mabdinur commented Dec 24, 2024

  • This change ensures deprecated modules in ddtrace.contrib are not used internally. The deprecated modules will be removed in v3.X
  • This will also remove a ton of deprecation warnings from test runs. This will make the output of failed tests easier to read.

Checklist

  • PR author has checked that all the criteria below are met
  • The PR description includes an overview of the change
  • The PR description articulates the motivation for the change
  • The change includes tests OR the PR description describes a testing strategy
  • The PR description notes risks associated with the change, if any
  • Newly-added code is easy to change
  • The change follows the library release note guidelines
  • The change includes or references documentation updates if necessary
  • Backport labels are set (if applicable)

Reviewer Checklist

  • Reviewer has checked that all the criteria below are met
  • Title is accurate
  • All changes are related to the pull request's stated goal
  • Avoids breaking API changes
  • Testing strategy adequately addresses listed risks
  • Newly-added code is easy to change
  • Release note makes sense to a user of the library
  • If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment
  • Backport labels are set in a manner that is consistent with the release branch maintenance policy

Copy link
Contributor

github-actions bot commented Dec 24, 2024

CODEOWNERS have been resolved as:

ddtrace/_trace/tracer.py                                                @DataDog/apm-sdk-api-python
ddtrace/appsec/_trace_utils.py                                          @DataDog/asm-python
ddtrace/internal/datastreams/kombu.py                                   @DataDog/apm-core-python
tests/appsec/iast/conftest.py                                           @DataDog/asm-python
tests/appsec/iast/taint_sinks/test_ssrf.py                              @DataDog/asm-python
tests/appsec/iast/test_telemetry.py                                     @DataDog/asm-python
tests/contrib/aiobotocore/test.py                                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiobotocore/test_aiobotocore_patch.py                     @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiohttp/app/web.py                                        @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiohttp/conftest.py                                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiohttp/test_aiohttp_client.py                            @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiohttp/test_aiohttp_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiohttp/test_middleware.py                                @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiohttp/test_request.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiohttp_jinja2/conftest.py                                @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiohttp_jinja2/test_aiohttp_jinja2_patch.py               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiomysql/test_aiomysql.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiomysql/test_aiomysql_patch.py                           @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiopg/test.py                                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aiopg/test_aiopg_patch.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/algoliasearch/test.py                                     @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/algoliasearch/test_algoliasearch_patch.py                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/anthropic/conftest.py                                     @DataDog/ml-observability
tests/contrib/anthropic/test_anthropic_patch.py                         @DataDog/ml-observability
tests/contrib/aredis/test_aredis.py                                     @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aredis/test_aredis_patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/asgi/test_asgi.py                                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/asyncio/test_propagation.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/asyncio/test_tracer.py                                    @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/asyncpg/test_asyncpg.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/asyncpg/test_asyncpg_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/aws_lambda/test_aws_lambda.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/azure_functions/test_azure_functions_patch.py             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/boto/test.py                                              @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/boto/test_boto_patch.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/botocore/test.py                                          @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/botocore/test_bedrock_llmobs.py                           @DataDog/ml-observability
tests/contrib/botocore/test_botocore_patch.py                           @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/bottle/test.py                                            @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/bottle/test_bottle_patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/cassandra/test.py                                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/cassandra/test_cassandra_patch.py                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/celery/base.py                                            @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/celery/test_app.py                                        @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/celery/test_integration.py                                @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/celery/test_patch.py                                      @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/celery/test_tagging.py                                    @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/celery/test_utils.py                                      @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/cherrypy/test_middleware.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/consul/test.py                                            @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/consul/test_consul_patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/django/asgi.py                                            @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/django/conftest.py                                        @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/django/test_django.py                                     @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/django/test_django_patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/django/test_django_snapshots.py                           @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/django/test_django_utils.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/django/test_django_wsgi.py                                @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/django_hosts/conftest.py                                  @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/djangorestframework/conftest.py                           @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/dogpile_cache/test_dogpile_cache_patch.py                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/dogpile_cache/test_tracing.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/dramatiq/test_integration.py                              @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/dramatiq/test_patch_manual.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/elasticsearch/test_elasticsearch.py                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/falcon/app/app.py                                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/falcon/test_distributed_tracing.py                        @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/falcon/test_falcon_patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/falcon/test_middleware.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/falcon/test_schematization.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/falcon/test_suite.py                                      @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/fastapi/conftest.py                                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/fastapi/test_fastapi.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/fastapi/test_fastapi_appsec_iast.py                       @DataDog/asm-python
tests/contrib/fastapi/test_fastapi_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask/__init__.py                                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask/test_appsec_flask_snapshot.py                       @DataDog/asm-python
tests/contrib/flask/test_blueprint.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask/test_flask_appsec.py                                @DataDog/asm-python
tests/contrib/flask/test_flask_appsec_iast.py                           @DataDog/asm-python
tests/contrib/flask/test_flask_helpers.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask/test_flask_patch.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask/test_flask_snapshot.py                              @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask/test_hooks.py                                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask/test_idempotency.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask/test_request.py                                     @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask/test_signals.py                                     @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask/test_static.py                                      @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask/test_template.py                                    @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask_autopatch/test_flask_autopatch.py                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask_cache/test.py                                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask_cache/test_utils.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/flask_cache/test_wrapper_safety.py                        @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/freezegun/test_freezegun.py                               @DataDog/ci-app-libraries
tests/contrib/futures/test_futures_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/futures/test_propagation.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/gevent/test_tracer.py                                     @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/google_generativeai/conftest.py                           @DataDog/ml-observability
tests/contrib/google_generativeai/test_google_generativeai_patch.py     @DataDog/ml-observability
tests/contrib/graphene/test_graphene.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/graphql/test_graphql.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/graphql/test_graphql_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/grpc/common.py                                            @DataDog/apm-idm-python @DataDog/asm-python
tests/contrib/grpc/test_constants.py                                    @DataDog/apm-idm-python @DataDog/asm-python
tests/contrib/grpc/test_grpc.py                                         @DataDog/apm-idm-python @DataDog/asm-python
tests/contrib/grpc/test_grpc_patch.py                                   @DataDog/apm-idm-python @DataDog/asm-python
tests/contrib/grpc_aio/test_grpc_aio.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/gunicorn/wsgi_mw_app.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/httplib/test_httplib.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/httplib/test_httplib_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/httpx/test_httpx.py                                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/httpx/test_httpx_patch.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/httpx/test_httpx_pre_0_11.py                              @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/jinja2/test_jinja2.py                                     @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/jinja2/test_jinja2_patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/kafka/test_kafka.py                                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/kafka/test_kafka_patch.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/kombu/test.py                                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/kombu/test_kombu_patch.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/langchain/conftest.py                                     @DataDog/ml-observability
tests/contrib/langchain/test_langchain_patch.py                         @DataDog/ml-observability
tests/contrib/logbook/test_logbook_logging.py                           @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/logbook/test_logbook_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/logging/test_logging.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/logging/test_logging_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/loguru/test_loguru_logging.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/loguru/test_loguru_patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/mako/test_mako.py                                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/mako/test_mako_patch.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/mariadb/test_mariadb.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/mariadb/test_mariadb_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/molten/test_molten.py                                     @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/molten/test_molten_di.py                                  @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/molten/test_molten_patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/mongoengine/test.py                                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/mongoengine/test_mongoengine_patch.py                     @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/mysql/test_mysql.py                                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/mysql/test_mysql_patch.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/mysqldb/test_mysqldb.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/mysqldb/test_mysqldb_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/openai/conftest.py                                        @DataDog/ml-observability
tests/contrib/openai/test_openai_patch.py                               @DataDog/ml-observability
tests/contrib/patch.py                                                  @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/psycopg/test_psycopg.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/psycopg/test_psycopg_async.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/psycopg/test_psycopg_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/psycopg/test_psycopg_snapshot.py                          @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/psycopg2/test_psycopg.py                                  @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/psycopg2/test_psycopg_patch.py                            @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/psycopg2/test_psycopg_snapshot.py                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pylibmc/test.py                                           @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pylibmc/test_pylibmc_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pymemcache/test_client.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pymemcache/test_client_defaults.py                        @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pymemcache/test_client_mixin.py                           @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pymemcache/test_pymemcache_patch.py                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pymongo/test_pymongo_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pymongo/test_spec.py                                      @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pymysql/test_pymysql.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pymysql/test_pymysql_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pynamodb/test_pynamodb.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pynamodb/test_pynamodb_patch.py                           @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pyodbc/test_pyodbc.py                                     @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pyodbc/test_pyodbc_patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pyramid/app/web.py                                        @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/pyramid/test_pyramid_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/redis/test_redis.py                                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/redis/test_redis_asyncio.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/redis/test_redis_cluster.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/redis/test_redis_cluster_asyncio.py                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/redis/test_redis_patch.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/rediscluster/test.py                                      @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/rediscluster/test_rediscluster_patch.py                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/requests/test_requests.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/requests/test_requests_patch.py                           @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/sanic/conftest.py                                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/sanic/test_sanic_patch.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/selenium/test_selenium_chrome.py                          @DataDog/ci-app-libraries
tests/contrib/snowflake/test_snowflake.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/snowflake/test_snowflake_patch.py                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/sqlalchemy/mixins.py                                      @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/sqlalchemy/test_patch.py                                  @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/sqlite3/test_sqlite3.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/sqlite3/test_sqlite3_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/starlette/test_starlette.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/starlette/test_starlette_patch.py                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/structlog/test_structlog_logging.py                       @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/structlog/test_structlog_patch.py                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/subprocess/test_subprocess.py                             @DataDog/asm-python
tests/contrib/subprocess/test_subprocess_patch.py                       @DataDog/asm-python
tests/contrib/tornado/test_safety.py                                    @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/tornado/test_stack_context.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/tornado/test_tornado_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/tornado/utils.py                                          @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/unittest/test_unittest_patch.py                           @DataDog/ci-app-libraries
tests/contrib/urllib3/test_urllib3.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/urllib3/test_urllib3_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/vertexai/conftest.py                                      @DataDog/ml-observability
tests/contrib/vertexai/test_vertexai_patch.py                           @DataDog/ml-observability
tests/contrib/vertica/test_vertica.py                                   @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/vertica/test_vertica_patch.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/wsgi/test_wsgi.py                                         @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/yaaredis/test_yaaredis.py                                 @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/yaaredis/test_yaaredis_patch.py                           @DataDog/apm-core-python @DataDog/apm-idm-python
tests/internal/test_serverless.py                                       @DataDog/apm-core-python
tests/opentracer/test_tracer_gevent.py                                  @DataDog/apm-core-python
tests/tracer/test_correlation_log_context.py                            @DataDog/apm-sdk-api-python

@datadog-dd-trace-py-rkomorn
Copy link

datadog-dd-trace-py-rkomorn bot commented Dec 24, 2024

Datadog Report

Branch report: munir/make-integrations-even-more-internal
Commit report: c7cd2b7
Test service: dd-trace-py

✅ 0 Failed, 130 Passed, 1468 Skipped, 4m 27.99s Total duration (27m 41.67s time saved)

@pr-commenter
Copy link

pr-commenter bot commented Dec 24, 2024

Benchmarks

Benchmark execution time: 2025-01-14 06:04:46

Comparing candidate commit c7cd2b7 in PR branch munir/make-integrations-even-more-internal with baseline commit b13bcb0 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 394 metrics, 2 unstable metrics.

@mabdinur mabdinur force-pushed the munir/make-integrations-even-more-internal branch from d45e839 to 479646d Compare January 2, 2025 15:55
@mabdinur mabdinur marked this pull request as ready for review January 2, 2025 18:18
@mabdinur mabdinur requested review from a team as code owners January 2, 2025 18:18
@mabdinur mabdinur changed the title chore: rename deprecated imports chore: avoids using deprecated modules in tests [3.0 prep] Jan 2, 2025
@mabdinur mabdinur added the changelog/no-changelog A changelog entry is not required for this PR. label Jan 2, 2025
@mabdinur mabdinur force-pushed the munir/make-integrations-even-more-internal branch from 330fd7a to f1d4650 Compare January 2, 2025 19:54
@mabdinur mabdinur enabled auto-merge (squash) January 3, 2025 16:06
@mabdinur mabdinur changed the title chore: avoids using deprecated modules in tests [3.0 prep] chore: avoids using deprecated modules in tests and log injection [3.0 prep] Jan 6, 2025
Copy link
Contributor

@Yun-Kim Yun-Kim left a comment

Choose a reason for hiding this comment

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

Two unblocking tiny requests but otherwise LGTM from team ml obs!

@mabdinur mabdinur requested a review from gnufede January 14, 2025 14:38
@mabdinur mabdinur merged commit 620d6d0 into main Jan 14, 2025
579 checks passed
@mabdinur mabdinur deleted the munir/make-integrations-even-more-internal branch January 14, 2025 15:21
mabdinur added a commit that referenced this pull request Jan 21, 2025
…all integrations [3.0] (#11916)

Requires: [chore: avoids using deprecated modules in tests and log
injection [3.0
prep]](#11835).

Follow up to: #11918

This change internalizes the following functions:
- `ddtrace.contrib.<integration_name>.patch()`
- `ddtrace.contrib.<integration_name>.unpatch()`
- `ddtrace.contrib.<integration_name>.get_version()`

This change also internalizes all integrations that only expose
`patch()`, `unpatch()`, and `get_version()` functions.

## Checklist
- [x] PR author has checked that all the criteria below are met
- The PR description includes an overview of the change
- The PR description articulates the motivation for the change
- The change includes tests OR the PR description describes a testing
strategy
- The PR description notes risks associated with the change, if any
- Newly-added code is easy to change
- The change follows the [library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [x] Reviewer has checked that all the criteria below are met 
- Title is accurate
- All changes are related to the pull request's stated goal
- Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- Testing strategy adequately addresses listed risks
- Newly-added code is easy to change
- Release note makes sense to a user of the library
- If necessary, author has acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment
- Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog A changelog entry is not required for this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants