Skip to content

fix(deps): vuln black (major → 26.3.1) [datadog_checks_dev]#23438

Closed
gh-worker-campaigns-3e9aa4[bot] wants to merge 2 commits into
masterfrom
engraver-auto-version-upgrade/major/pep621/datadog_checks_dev/0-1776936856
Closed

fix(deps): vuln black (major → 26.3.1) [datadog_checks_dev]#23438
gh-worker-campaigns-3e9aa4[bot] wants to merge 2 commits into
masterfrom
engraver-auto-version-upgrade/major/pep621/datadog_checks_dev/0-1776936856

Conversation

@gh-worker-campaigns-3e9aa4
Copy link
Copy Markdown

Summary: High-severity security update — 1 package upgraded (MAJOR changes included)

Manifests changed:

  • datadog_checks_dev (pep621)

✅ Action Required: Please review the changes below. If they look good, approve and merge this PR.


Updates

Package From To Type Dep Type Vulnerabilities Fixed
black 23.12.1 26.3.1 major Direct 2 HIGH, 3 MODERATE

Warning

Major Version Upgrade

This update includes major version changes that may contain breaking changes. Please:

  • Review the changelog/release notes for breaking changes
  • Test thoroughly in a staging environment
  • Update any code that depends on changed APIs
  • Ensure all tests pass before merging

Security Details

🚨 Critical & High Severity (2 fixed)
Package CVE Severity Summary Unsafe Version Fixed In
black GHSA-3936-cmfr-pm3m HIGH Black: Arbitrary file writes from unsanitized user input in cache file name 23.12.1 26.3.1
black CVE-2026-32274 HIGH Black: Arbitrary file writes from unsanitized user input in cache file name 23.12.1 -
ℹ️ Other Vulnerabilities (3)
Package CVE Severity Summary Unsafe Version Fixed In
black GHSA-fj7x-q9j7-g6q6 MODERATE Black vulnerable to Regular Expression Denial of Service (ReDoS) 23.12.1 24.3.0
black CVE-2024-21503 MODERATE - 23.12.1 -
black PYSEC-2024-48 MODERATE - 23.12.1 f00093672628d212b8965a8993cee8bedf5fe9b8

Review Checklist

Extra review is recommended for this update:

  • Review changes for compatibility with your code
  • Check release notes for breaking changes
  • Run integration tests to verify service behavior
  • Test in staging environment before production
  • Monitor key metrics after deployment
  • Approve and merge this PR

Update Mode: Vulnerability Remediation (High)

🤖 Generated by DataDog Automated Dependency Management System

@campaigner-prod
Copy link
Copy Markdown

Release Notes

black (23.12.1 → 26.3.1) — GitHub Release

26.3.1

Stable style

Configuration

Blackd

26.3.0

Stable style

Preview style

Packaging

Performance

Output

Blackd

Integrations

  • Remove unused gallery script (Remove gallery/ psf/black#5030)
  • Harden parsing of black requirements in the GitHub Action when use_pyproject is
    enabled so that only version specifiers are accepted and direct references such as
    black @ https://... are rejected. Users should upgrade to the latest version of the
    action as soon as possible. This update is received automatically w

(truncated)

26.1.0

Highlights

Introduces the 2026 stable style (psf/black#4892), stabilizing the following changes:

The following change was not in any previous stable release:

This release alo bumps pathspec to v1 and fixes inconsistencies with Git's
.gitignore logic (psf/black#4958). Now, files will be ignored if a pattern matches them, even
if the parent directory is directly unignored. For example, Black would previously
format exclude/not_this/foo.py with this .gitignore:

exclude/
!exclude/not_this/

Now, exclude/not_this/foo.py will remain

(truncated)

25.12.0

Please test out the draft 2026 style in version 26.1a1! This style will be finalized in
the January release (26.1.0). Most of the changes in --preview will be in the 2026
stable style, but not all.
Please share your feedback!

This release (25.12.0) will still produce the 2025 style.

Highlights

Stable style

Preview style

Packaging

Integrations

(and 12 more releases — view all)


Generated by ADMS Sources: 1 GitHub Release.

@datadog-prod-us1-6
Copy link
Copy Markdown

datadog-prod-us1-6 Bot commented Apr 23, 2026

Tests

Fix all issues with BitsAI or with Cursor

⚠️ Warnings

🧪 2 Tests failed

test_e2e_inline_profile_def from test_e2e_core_vs_python.py   View in Datadog   (Fix with Cursor)
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-check-apikey.sh: executing... 
[cont-init.d] 01-check-apikey.sh: exited 0.
[cont-init.d] 50-ci.sh: executing... 
[cont-init.d] 50-ci.sh: exited 0.
[cont-init.d] 50-ecs-managed.sh: executing... 
...
test_e2e_profile_apc_ups_user from test_e2e_core_vs_python.py   View in Datadog   (Fix with Cursor)
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-check-apikey.sh: executing... 
[cont-init.d] 01-check-apikey.sh: exited 0.
[cont-init.d] 50-ci.sh: executing... 
[cont-init.d] 50-ci.sh: exited 0.
[cont-init.d] 50-ecs-managed.sh: executing... 
...

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 87.66% (+0.53%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 64debc5 | Docs | Datadog PR Page | Give us feedback!

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.04%. Comparing base (a0c604e) to head (64debc5).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Co-authored-by: gh-worker-campaigns-3e9aa4[bot] <244854796+gh-worker-campaigns-3e9aa4[bot]@users.noreply.github.com>
@gh-worker-campaigns-3e9aa4
Copy link
Copy Markdown
Author

Auto-rebase complete

Branch is up to date with master — rebased onto a0c604e.


Auto-Rebase · Add no-auto-rebase to opt out

@dd-octo-sts-6bb5b9 dd-octo-sts-6bb5b9 Bot force-pushed the engraver-auto-version-upgrade/major/pep621/datadog_checks_dev/0-1776936856 branch from 91ab2ae to df3136b Compare April 29, 2026 11:52
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented Apr 29, 2026

Validation Report

Validation Description Status
models Validate configuration data models match spec.yaml

Run ddev validate all changed --fix to attempt to auto-fix supported validations.

Passed validations (19)
Validation Description Status
agent-reqs Verify check versions match the Agent requirements file
ci Validate CI configuration and Codecov settings
codeowners Validate every integration has a CODEOWNERS entry
config Validate default configuration files against spec.yaml
dep Verify dependency pins are consistent and Agent-compatible
http Validate integrations use the HTTP wrapper correctly
imports Validate check imports do not use deprecated modules
integration-style Validate check code style conventions
jmx-metrics Validate JMX metrics definition files and config
labeler Validate PR labeler config matches integration directories
legacy-signature Validate no integration uses the legacy Agent check signature
license-headers Validate Python files have proper license headers
licenses Validate third-party license attribution list
metadata Validate metadata.csv metric definitions
openmetrics Validate OpenMetrics integrations disable the metric limit
package Validate Python package metadata and naming
readmes Validate README files have required sections
saved-views Validate saved view JSON file structure and fields
version Validate version consistency between package and changelog

View full run

@gh-worker-campaigns-3e9aa4 gh-worker-campaigns-3e9aa4 Bot deleted the engraver-auto-version-upgrade/major/pep621/datadog_checks_dev/0-1776936856 branch May 7, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants