Skip to content

Bump black from 24.3.0 to 26.3.1 in /.devcontainer#8511

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/dot-devcontainer/black-26.3.1
Closed

Bump black from 24.3.0 to 26.3.1 in /.devcontainer#8511
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/dot-devcontainer/black-26.3.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 12, 2026

Copy link
Copy Markdown
Contributor

Bumps black from 24.3.0 to 26.3.1.

Release notes

Sourced from black's releases.

26.3.1

Stable style

  • Prevent Jupyter notebook magic masking collisions from corrupting cells by using exact-length placeholders for short magics and aborting if a placeholder can no longer be unmasked safely (#5038)

Configuration

  • Always hash cache filename components derived from --python-cell-magics so custom magic names cannot affect cache paths (#5038)

Blackd

  • Disable browser-originated requests by default, add configurable origin allowlisting and request body limits, and bound executor submissions to improve backpressure (#5039)

26.3.0

Stable style

  • Don't double-decode input, causing non-UTF-8 files to be corrupted (#4964)
  • Fix crash on standalone comment in lambda default arguments (#4993)
  • Preserve parentheses when # type: ignore comments would be merged with other comments on the same line, preventing AST equivalence failures (#4888)

Preview style

  • Fix bug where if guards in case blocks were incorrectly split when the pattern had a trailing comma (#4884)
  • Fix string_processing crashing on unassigned long string literals with trailing commas (one-item tuples) (#4929)
  • Simplify implementation of the power operator "hugging" logic (#4918)

Packaging

  • Fix shutdown errors in PyInstaller builds on macOS by disabling multiprocessing in frozen environments (#4930)

Performance

  • Introduce winloop for windows as an alternative to uvloop (#4996)
  • Remove deprecated function uvloop.install() in favor of uvloop.new_event_loop() (#4996)
  • Rename maybe_install_uvloop function to maybe_use_uvloop to simplify loop installation and creation of either a uvloop/winloop evenloop or default eventloop (#4996)

Output

... (truncated)

Changelog

Sourced from black's changelog.

26.3.1

Stable style

  • Prevent Jupyter notebook magic masking collisions from corrupting cells by using exact-length placeholders for short magics and aborting if a placeholder can no longer be unmasked safely (#5038)

Configuration

  • Always hash cache filename components derived from --python-cell-magics so custom magic names cannot affect cache paths (#5038)

Blackd

  • Disable browser-originated requests by default, add configurable origin allowlisting and request body limits, and bound executor submissions to improve backpressure (#5039)

26.3.0

Stable style

  • Don't double-decode input, causing non-UTF-8 files to be corrupted (#4964)
  • Fix crash on standalone comment in lambda default arguments (#4993)
  • Preserve parentheses when # type: ignore comments would be merged with other comments on the same line, preventing AST equivalence failures (#4888)

Preview style

  • Fix bug where if guards in case blocks were incorrectly split when the pattern had a trailing comma (#4884)
  • Fix string_processing crashing on unassigned long string literals with trailing commas (one-item tuples) (#4929)
  • Simplify implementation of the power operator "hugging" logic (#4918)

Packaging

  • Fix shutdown errors in PyInstaller builds on macOS by disabling multiprocessing in frozen environments (#4930)

Performance

  • Introduce winloop for windows as an alternative to uvloop (#4996)
  • Remove deprecated function uvloop.install() in favor of uvloop.new_event_loop() (#4996)
  • Rename maybe_install_uvloop function to maybe_use_uvloop to simplify loop installation and creation of either a uvloop/winloop evenloop or default eventloop (#4996)

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [black](https://github.com/psf/black) from 24.3.0 to 26.3.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.3.0...26.3.1)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 26.3.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Mar 12, 2026
@codecov

codecov Bot commented Mar 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.23%. Comparing base (ad2140d) to head (4fac1d2).

❌ Your project check has failed because the head coverage (82.23%) is below the target coverage (87.50%). You can increase the head coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (ad2140d) and HEAD (4fac1d2). Click for more details.

HEAD has 84 uploads less than BASE
Flag BASE (ad2140d) HEAD (4fac1d2)
18_regress_check-query-generator 1 0
17_citus_upgrade 1 0
18_regress_check-pytest 1 0
16_regress_check-pytest 1 0
17_regress_check-pytest 1 0
16_citus_upgrade 1 0
17_regress_check-tap 1 0
16_regress_check-columnar-isolation 1 0
16_regress_check-query-generator 1 0
16_17_upgrade 1 0
17_regress_check-follower-cluster 1 0
16_regress_check-tap 1 0
18_regress_check-follower-cluster 1 0
16_regress_check-enterprise-failure 1 0
17_regress_check-enterprise-isolation-logicalrep-2 1 0
18_regress_check-enterprise-failure 1 0
16_regress_check-split 1 0
16_regress_check-enterprise-isolation-logicalrep-3 1 0
17_regress_check-columnar 1 0
17_regress_check-split 1 0
16_regress_check-columnar 1 0
16_regress_check-enterprise-isolation-logicalrep-2 1 0
18_regress_check-enterprise-isolation-logicalrep-3 1 0
17_regress_check-columnar-isolation 1 0
16_regress_check-enterprise 1 0
18_regress_check-vanilla 1 0
17_regress_check-enterprise 1 0
18_regress_check-enterprise-isolation-logicalrep-2 1 0
17_regress_check-vanilla 1 0
17_regress_check-add-backup-node 1 0
17_18_upgrade 1 0
16_regress_check-vanilla 1 0
17_regress_check-enterprise-isolation 1 0
16_regress_check-enterprise-isolation 1 0
18_regress_check-enterprise-isolation 1 0
17_regress_check-multi-mx 1 0
18_regress_check-multi-mx 1 0
16_regress_check-add-backup-node 1 0
18_cdc_installcheck 1 0
17_regress_check-enterprise-isolation-logicalrep-3 1 0
18_regress_check-columnar-isolation 1 0
17_regress_check-query-generator 1 0
18_regress_check-add-backup-node 1 0
18_regress_check-multi-1-create-citus 1 0
18_regress_check-enterprise 1 0
16_regress_check-enterprise-isolation-logicalrep-1 1 0
17_regress_check-failure 1 0
18_regress_check-failure 1 0
16_regress_check-failure 1 0
16_regress_check-multi-1-create-citus 1 0
17_regress_check-enterprise-isolation-logicalrep-1 1 0
17_arbitrary_configs_2 1 0
18_regress_check-operations 1 0
16_cdc_installcheck 1 0
18_regress_check-enterprise-isolation-logicalrep-1 1 0
17_cdc_installcheck 1 0
17_regress_check-multi-1-create-citus 1 0
16_regress_check-multi-mx 1 0
16_regress_check-operations 1 0
17_regress_check-enterprise-failure 1 0
18_regress_check-tap 1 0
18_regress_check-columnar 1 0
17_regress_check-operations 1 0
18_regress_check-split 1 0
16_regress_check-follower-cluster 1 0
16_regress_check-isolation 1 0
18_regress_check-isolation 1 0
16_arbitrary_configs_5 1 0
18_arbitrary_configs_2 1 0
16_arbitrary_configs_2 1 0
18_arbitrary_configs_4 1 0
16_regress_check-multi-1 1 0
16_arbitrary_configs_4 1 0
18_regress_check-multi-1 1 0
17_arbitrary_configs_4 1 0
18_arbitrary_configs_0 1 0
17_regress_check-isolation 1 0
16_arbitrary_configs_3 1 0
17_arbitrary_configs_0 1 0
16_arbitrary_configs_0 1 0
16_18_upgrade 1 0
17_arbitrary_configs_1 1 0
18_arbitrary_configs_1 1 0
16_arbitrary_configs_1 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8511      +/-   ##
==========================================
- Coverage   88.91%   82.23%   -6.68%     
==========================================
  Files         286      286              
  Lines       63133    62824     -309     
  Branches     7915     7822      -93     
==========================================
- Hits        56132    51663    -4469     
- Misses       4732     8527    +3795     
- Partials     2269     2634     +365     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dependabot @github

dependabot Bot commented on behalf of github May 29, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/pip/dot-devcontainer/black-26.3.1 branch May 29, 2026 13:23
ihalatci added a commit that referenced this pull request Jun 4, 2026
DESCRIPTION: Update mitmproxy fork to lift pyOpenSSL cap; re-lock to
26.2.0 (closes CVE-2026-27459, CVE-2026-27448)

## Summary

Bumps the `mitmproxy` git ref in both Pipfiles from the pinned commit
SHA `70bad9a3c098...` to track `citusdata/mitmproxy@main`. After
[citusdata/mitmproxy#4](citusdata/mitmproxy#4)
(merge of upstream `mitmproxy/mitmproxy@main`), our fork's `main` caps
`pyOpenSSL<=27.0.0` (was `<=25.3.0`), unblocking the lockfile from
resolving past pyOpenSSL 25.3.0.

Re-locking both Pipfiles via `pipenv lock` resolves `pyopenssl` to
**26.2.0**, closing all four currently-open Dependabot security alerts:

| Alert | CVE | Severity | Patched version |
|---|---|---|---|
| [#126](https://github.com/citusdata/citus/security/dependabot/126) /
[#125](https://github.com/citusdata/citus/security/dependabot/125) |
[CVE-2026-27459](https://nvd.nist.gov/vuln/detail/CVE-2026-27459)
([GHSA-5pwr-322w-8jr4](GHSA-5pwr-322w-8jr4))
| **High** | `>=26.0.0` |
| [#124](https://github.com/citusdata/citus/security/dependabot/124) /
[#123](https://github.com/citusdata/citus/security/dependabot/123) |
[CVE-2026-27448](https://nvd.nist.gov/vuln/detail/CVE-2026-27448)
([GHSA-vp96-hxj8-p424](GHSA-vp96-hxj8-p424))
| Low | `>=26.0.0` |

## Pipfile changes

Single line per file, in both:
- `src/test/regress/Pipfile`
- `.devcontainer/src/test/regress/Pipfile`

```diff
-mitmproxy = {git = "https://github.com/citusdata/mitmproxy.git", ref = "70bad9a3c098f605e5f8b25553e5db5334018ff1"}
+mitmproxy = {git = "https://github.com/citusdata/mitmproxy.git", ref = "main"}
```

The `ref="main"` form is supported by pipenv for git deps; the resolved
commit SHA (`df5879516a57ea780e1cc88edaf2051e1d32915f` — the merge
commit of mitmproxy#4) is pinned in `Pipfile.lock`, preserving
reproducibility.

## Lockfile-level changes (re-lock side-effects, no Pipfile pin changes)

| Dep | Before | After | Reason |
|---|---|---|---|
| **mitmproxy** ref | `70bad9a3...` (==12.2.2) | `df5879516a...`
(==13.0.0.dev0) | Fork tracking `main` |
| **pyopenssl** | `==25.3.0` | **`==26.2.0`** | Cap lifted; fixes CVEs |
| asgiref | `==3.11.0` | `==3.11.1` | Latest within range |
| certifi | `==2026.2.25` | `==2026.5.20` | Latest within range |
| click | `==8.3.2` | `==8.4.1` | Latest within range |
| filelock | `==3.28.0` | `==3.29.0` | Latest within range |
| packaging | `==26.1` | `==26.2` | Latest within range |
| psycopg | `==3.3.3` | `==3.3.4` | Latest within range |
| pytest-asyncio | `==1.3.0` | `==1.4.0` | Latest within range |
| urwid | `==3.0.5` | `==4.0.0` | Allowed by mitmproxy main's relaxed
cap |
| wcwidth | `==0.6.0` | `==0.7.0` | Latest within range |

Per scope direction, no other direct deps were bumped — only the
security-driven `mitmproxy` ref change. Other transitive movements above
are natural consequences of `pipenv lock --clear` against unchanged
version constraints.

## Validation

```bash
$ cd src/test/regress
$ pipenv sync
Installing dependencies from Pipfile.lock (416d8f)...
All dependencies are now up-to-date!

$ pipenv run pip show mitmproxy pyopenssl | grep -E "^Name:|^Version:"
Name: mitmproxy
Version: 13.0.0.dev0
Name: pyOpenSSL
Version: 26.2.0
```

Both `src/test/regress/Pipfile.lock` and
`.devcontainer/src/test/regress/Pipfile.lock` are byte-identical, per
the convention established in #8488 and #8547.

## Notes
- Lockfiles regenerated with `pipenv lock --clear` (pipenv 2025.0.3,
Python 3.12.12).
- Currently-open Dependabot dependency-update bot PRs (#8525, #8526
pyasn1; #8489 werkzeug; #8510, #8511 black) target versions that the
existing lockfile already satisfies — they will auto-close on next
Dependabot scan without further action.
- Follow-up PR on `citusdata/the-process` will regenerate the three
`circleci/images/*/files/etc/requirements.txt` files (which are
generated from this `Pipfile.lock` via `pipenv requirements`) once this
lands.

Closes #123
Closes #124
Closes #125
Closes #126

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant