Skip to content
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

feat: remove code and tests related to python 3.7 #12175

Merged
merged 28 commits into from
Feb 3, 2025

Conversation

emmettbutler
Copy link
Collaborator

@emmettbutler emmettbutler commented Jan 30, 2025

This change removes code and tests related to Python 3.7.

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 Jan 30, 2025

CODEOWNERS have been resolved as:

.riot/requirements/116b0a1.txt                                          @DataDog/apm-python
.riot/requirements/2b426ba.txt                                          @DataDog/apm-python
.riot/requirements/6dbf615.txt                                          @DataDog/apm-python
.riot/requirements/b35a160.txt                                          @DataDog/apm-python
.riot/requirements/e6872f6.txt                                          @DataDog/apm-python
.riot/requirements/f850b22.txt                                          @DataDog/apm-python
releasenotes/notes/3.7-removal-c5259c3df41f08fe.yaml                    @DataDog/apm-python
.github/workflows/generate-package-versions.yml                         @DataDog/python-guild @DataDog/apm-core-python
.github/workflows/generate-supported-versions.yml                       @DataDog/python-guild @DataDog/apm-core-python
.github/workflows/requirements-locks.yml                                @DataDog/python-guild @DataDog/apm-core-python
.github/workflows/unit_tests.yml                                        @DataDog/python-guild @DataDog/apm-core-python
.gitlab/package.yml                                                     @DataDog/python-guild @DataDog/apm-core-python
.gitlab/testrunner.yml                                                  @DataDog/python-guild @DataDog/apm-core-python
.gitlab/tests.yml                                                       @DataDog/python-guild @DataDog/apm-core-python
.riot/requirements/1239a3c.txt                                          @DataDog/apm-python
.riot/requirements/1a508dc.txt                                          @DataDog/apm-python
.riot/requirements/3e3e299.txt                                          @DataDog/apm-python
.riot/requirements/7f56123.txt                                          @DataDog/apm-python
.riot/requirements/7fa00cf.txt                                          @DataDog/apm-python
.riot/requirements/b7a530f.txt                                          @DataDog/apm-python
.riot/requirements/be3147f.txt                                          @DataDog/apm-python
.riot/requirements/c4d4455.txt                                          @DataDog/apm-python
.riot/requirements/d2ca94b.txt                                          @DataDog/apm-python
.riot/requirements/dae821a.txt                                          @DataDog/apm-python
.riot/requirements/e2ae847.txt                                          @DataDog/apm-python
.riot/requirements/f24db70.txt                                          @DataDog/apm-python
ddtrace/appsec/_iast/_ast/ast_patching.py                               @DataDog/asm-python
ddtrace/contrib/internal/psycopg/patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
ddtrace/contrib/internal/sqlite3/patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
ddtrace/contrib/tornado/__init__.py                                     @DataDog/apm-core-python @DataDog/apm-idm-python
ddtrace/internal/ci_visibility/api/_coverage_data.py                    @DataDog/ci-app-libraries
ddtrace/internal/coverage/instrumentation.py                            @DataDog/apm-core-python @datadog/ci-app-libraries
ddtrace/internal/coverage/report.py                                     @DataDog/apm-core-python @datadog/ci-app-libraries
ddtrace/internal/wrapping/context.py                                    @DataDog/apm-core-python
ddtrace/profiling/__init__.py                                           @DataDog/profiling-python
ddtrace/profiling/_threading.pyx                                        @DataDog/profiling-python
ddtrace/profiling/collector/stack.pyx                                   @DataDog/profiling-python
ddtrace/settings/_otel_remapper.py                                      @DataDog/apm-core-python
ddtrace/version.py                                                      @DataDog/apm-core-python
docker/.python-version                                                  @DataDog/apm-core-python
docs/advanced_usage.rst                                                 @DataDog/python-guild
docs/index.rst                                                          @DataDog/python-guild
hatch.toml                                                              @DataDog/python-guild
mypy.ini                                                                @DataDog/python-guild @DataDog/apm-core-python
pyproject.toml                                                          @DataDog/python-guild
riotfile.py                                                             @DataDog/apm-python
scripts/stubgen.sh                                                      @DataDog/apm-core-python
setup.py                                                                @DataDog/python-guild
tests/appsec/iast/_ast/test_ast_patching.py                             @DataDog/asm-python
tests/appsec/iast/_ast/test_ast_patching_type_hints.py                  @DataDog/asm-python
tests/appsec/integrations/flask_tests/test_iast_flask.py                @DataDog/asm-python
tests/appsec/suitespec.yml                                              @DataDog/asm-python
tests/ci_visibility/suitespec.yml                                       @DataDog/ci-app-libraries
tests/contrib/botocore/test.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/pytest/test_coverage_per_suite.py                         @DataDog/ci-app-libraries
tests/contrib/suitespec.yml                                             @DataDog/apm-core-python @DataDog/apm-idm-python
tests/integration/test_debug.py                                         @DataDog/apm-core-python
tests/integration/test_integration.py                                   @DataDog/apm-core-python
tests/internal/service_name/test_inferred_base_service.py               @DataDog/apm-core-python
tests/internal/test_module.py                                           @DataDog/debugger-python @DataDog/apm-core-python
tests/profiling/test_profiler.py                                        @DataDog/profiling-python
tests/profiling_v2/collector/test_stack.py                              @DataDog/profiling-python
tests/profiling_v2/collector/test_stack_asyncio.py                      @DataDog/profiling-python
tests/profiling_v2/exporter/test_ddup.py                                @DataDog/profiling-python
tests/profiling_v2/test_accuracy.py                                     @DataDog/profiling-python
tests/profiling_v2/test_main.py                                         @DataDog/profiling-python
tests/profiling_v2/test_profiler.py                                     @DataDog/profiling-python
tests/smoke_test.py                                                     @DataDog/apm-core-python
tests/tracer/test_encoders.py                                           @DataDog/apm-sdk-api-python
.riot/requirements/3f2ebdc.txt                                          @DataDog/apm-python

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

datadog-dd-trace-py-rkomorn bot commented Jan 30, 2025

Datadog Report

Branch report: emmett.butler/remove-3.7
Commit report: 235d480
Test service: dd-trace-py

✅ 0 Failed, 130 Passed, 1184 Skipped, 3m 25.54s Total duration (24m 46.19s time saved)

@pr-commenter
Copy link

pr-commenter bot commented Jan 30, 2025

Benchmarks

Benchmark execution time: 2025-02-03 16:20:15

Comparing candidate commit 235d480 in PR branch emmett.butler/remove-3.7 with baseline commit a22143d in branch 3.x-staging.

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

scenario:iast_aspects-ospathsplitext_aspect

  • 🟥 execution_time [+374.820ns; +429.768ns] or [+10.278%; +11.785%]

@emmettbutler emmettbutler changed the title feature: remove code and tests related to python 3.7 feat: remove code and tests related to python 3.7 Jan 31, 2025
@emmettbutler emmettbutler enabled auto-merge (squash) January 31, 2025 17:18
Copy link
Contributor

@erikayasuda erikayasuda left a comment

Choose a reason for hiding this comment

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

Sorry, just a lot of clarifying questions. Looks like the tests all pass so they're non-blocking

@emmettbutler emmettbutler merged commit 6897792 into 3.x-staging Feb 3, 2025
687 checks passed
@emmettbutler emmettbutler deleted the emmett.butler/remove-3.7 branch February 3, 2025 16:21
mabdinur pushed a commit that referenced this pull request Feb 3, 2025
This change removes code and tests related to Python 3.7.

- [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))

- [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)

---------

Co-authored-by: Taegyun Kim <[email protected]>
gnufede pushed a commit that referenced this pull request Feb 19, 2025
This change removes code and tests related to Python 3.7.

## 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)

---------

Co-authored-by: Taegyun Kim <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants