Skip to content

chore: update django latest version to 6.1 - #19236

Closed
dd-octo-sts[bot] wants to merge 2 commits into
mainfrom
upgrade-latest-django-version
Closed

dd-octo-sts[bot] wants to merge 2 commits into
mainfrom
upgrade-latest-django-version

Conversation

@dd-octo-sts

@dd-octo-sts dd-octo-sts Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Update django lockfiles and dependency package lockfiles.
This performs the following updates:

  1. Some django lockfiles use django latest. This will update django and dependencies.
  2. Some django lockfiles use a pinned (non-latest) version of django, but require the latest version of another package. This will update all such packages.

@dd-octo-sts dd-octo-sts Bot added the changelog/no-changelog A changelog entry is not required for this PR. label Jul 23, 2026
@dd-octo-sts
dd-octo-sts Bot requested review from a team as code owners July 23, 2026 00:49
@dd-octo-sts dd-octo-sts Bot added the changelog/no-changelog A changelog entry is not required for this PR. label Jul 23, 2026
@dd-octo-sts
dd-octo-sts Bot requested review from juanjux, ncybul and wconti27 July 23, 2026 00:49
@cit-pr-commenter-54b7da

cit-pr-commenter-54b7da Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Codeowners resolved as

Resolved from the full PR diff against main using the target branch CODEOWNERS file.
CODEOWNERS team requests not listed below are not required by the current file set.

.riot/requirements/1053dc0.txt                                          @DataDog/apm-python
.riot/requirements/1814da7.txt                                          @DataDog/apm-python
.riot/requirements/1b62531.txt                                          @DataDog/apm-python
.riot/requirements/1f94b6b.txt                                          @DataDog/apm-python
.riot/requirements/1fc39d7.txt                                          @DataDog/apm-python
.riot/requirements/2720069.txt                                          @DataDog/apm-python
.riot/requirements/31b4d3f.txt                                          @DataDog/apm-python
.riot/requirements/3684eab.txt                                          @DataDog/apm-python
.riot/requirements/409087d.txt                                          @DataDog/apm-python
.riot/requirements/47aa8cc.txt                                          @DataDog/apm-python
.riot/requirements/7691722.txt                                          @DataDog/apm-python
.riot/requirements/7e85837.txt                                          @DataDog/apm-python
scripts/integration_registry/registry.yaml                              @DataDog/apm-idm-python
supported_versions.json                                                 @DataDog/apm-core-python @DataDog/apm-idm-python

@cit-pr-commenter-54b7da

cit-pr-commenter-54b7da Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Circular import analysis

⚠️ Existing circular imports

There are 3 circular imports that already exist on the base branch and have not been changed by this PR.

ddtrace.errortracking._handled_exceptions.bytecode_injector -> ddtrace.errortracking._handled_exceptions.callbacks -> ddtrace.errortracking._handled_exceptions.collector -> ddtrace.errortracking._handled_exceptions.bytecode_reporting -> ddtrace.errortracking._handled_exceptions.bytecode_injector
ddtrace.llmobs -> ddtrace.llmobs._evaluators -> ddtrace.llmobs._evaluators.format -> ddtrace.llmobs._experiment -> ddtrace.llmobs
ddtrace.appsec._asm_request_context -> ddtrace.appsec._iast._iast_request_context_base -> ddtrace.appsec._iast._iast_env -> ddtrace.appsec._iast.reporter -> ddtrace.appsec._exploit_prevention.stack_traces -> ddtrace.appsec._asm_request_context

@datadog-prod-us1-5

datadog-prod-us1-5 Bot commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 5352cc1 | Docs | View more details | Give us feedback!

@pr-commenter

pr-commenter Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-08-20 16:36:10

Comparing candidate commit 5352cc1 in PR branch upgrade-latest-django-version with baseline commit 1530b7b in branch main.

📊 Benchmarking dashboard

Found 0 performance improvements and 9 performance regressions! Performance is the same for 612 metrics, 10 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

scenario:httppropagationextract-empty_headers

  • 🟥 execution_time [+196.789ns; +224.788ns] or [+20.022%; +22.870%]

scenario:httppropagationinject-ids_only

  • 🟥 execution_time [+1.740µs; +1.878µs] or [+9.107%; +9.833%]

scenario:iastaspects-strip_aspect

  • 🟥 execution_time [+33.513µs; +41.139µs] or [+11.536%; +14.161%]

scenario:iastaspects-title_aspect

  • 🟥 execution_time [+40.375µs; +48.912µs] or [+14.793%; +17.920%]

scenario:iastaspectsospath-ospathbasename_aspect

  • 🟥 execution_time [+112.721µs; +119.816µs] or [+27.314%; +29.034%]

scenario:iastaspectssplit-rsplit_aspect

  • 🟥 execution_time [+15.209µs; +21.126µs] or [+10.452%; +14.519%]

scenario:span-start

  • 🟥 execution_time [+1.185ms; +1.344ms] or [+7.805%; +8.852%]

scenario:telemetryaddmetric-1-count-metric-1-times

  • 🟥 execution_time [+435.063ns; +472.561ns] or [+16.598%; +18.028%]

scenario:tracer-small

  • 🟥 execution_time [+25.864µs; +28.181µs] or [+7.650%; +8.335%]

Unstable benchmarks

These benchmarks have a confidence interval too wide to call a change; treat them as noise rather than signal.

scenario:coreapiscenario-context_with_data_listeners

  • unstable execution_time [-894.147ns; +601.639ns] or [-8.065%; +5.427%]

scenario:coreapiscenario-core_dispatch_1_listener

  • unstable execution_time [-41.194ns; +25.763ns] or [-6.667%; +4.169%]

scenario:coreapiscenario-core_dispatch_50_listeners

  • unstable execution_time [-1768.990ns; +1524.010ns] or [-10.358%; +8.923%]

scenario:coreapiscenario-core_dispatch_exception_listeners

  • unstable execution_time [-1069.677ns; +1451.676ns] or [-8.155%; +11.067%]

scenario:coreapiscenario-core_dispatch_listeners

  • unstable execution_time [-350.208ns; +301.043ns] or [-9.519%; +8.183%]

scenario:coreapiscenario-core_dispatch_no_args_listeners

  • unstable execution_time [-278.640ns; +228.588ns] or [-9.548%; +7.833%]

scenario:coreapiscenario-core_dispatch_with_results_1_listener

  • unstable execution_time [-80.931ns; +61.833ns] or [-7.084%; +5.412%]

scenario:coreapiscenario-core_dispatch_with_results_50_listeners

  • unstable execution_time [-4185.482ns; +3762.146ns] or [-10.266%; +9.228%]

scenario:coreapiscenario-core_dispatch_with_results_listeners

  • unstable execution_time [-942.711ns; +656.783ns] or [-11.373%; +7.924%]

scenario:packagesupdateimporteddependencies-import_many_stdlib_cached

  • unstable execution_time [-60974.677ns; +60823.139ns] or [-9.447%; +9.423%]

@dubloom
dubloom force-pushed the upgrade-latest-django-version branch from dc7b15f to 7c45c18 Compare July 23, 2026 08:52
@dd-octo-sts
dd-octo-sts Bot force-pushed the upgrade-latest-django-version branch from 7c45c18 to 4db9982 Compare July 25, 2026 00:49
@emmettbutler
emmettbutler force-pushed the upgrade-latest-django-version branch from 4db9982 to b2847e2 Compare August 5, 2026 15:45
@dd-octo-sts dd-octo-sts Bot changed the title chore: update django latest version to 6.0.7 chore: update django latest version to 6.1 Aug 19, 2026
@dd-octo-sts
dd-octo-sts Bot force-pushed the upgrade-latest-django-version branch from b2847e2 to b0de6ce Compare August 19, 2026 00:22
@cit-pr-commenter-54b7da

cit-pr-commenter-54b7da Bot commented Aug 19, 2026 •

Copy link
Copy Markdown

Dependency direction analysis

⚠️ Existing dependency direction violations

There are 252 dependency direction violations that already exist on the base branch and have not been changed by this PR.

Show existing violations (showing 5 of 252 highest severity)
ddtrace.internal.tracemethods -×-> ddtrace.trace  (internal-core -> product:tracing, score=135)
ddtrace.internal.ci_visibility.recorder -×-> ddtrace.trace  (product:ci_visibility -> product:tracing, score=133)
ddtrace.llmobs._evaluators.runner -×-> ddtrace.trace  (product:llmobs -> product:tracing, score=133)
ddtrace.profiling.collector.stack -×-> ddtrace.trace  (product:profiling -> product:tracing, score=133)
ddtrace.internal.opentelemetry.trace -×-> ddtrace.trace  (product:opentelemetry -> product:tracing, score=133)

To see all violations, download the layers-base.json and layers-pr.json artifacts from this CI job and run:

uv run --script scripts/import-analysis/layers.py compare layers-base.json layers-pr.json

@dubloom

dubloom commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Django will be updated there: #19328

@dubloom dubloom closed this Aug 21, 2026
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.

2 participants