Title: Update black requirement from <26 to <27 by dependabot[bot] · Pull Request #31363 · matplotlib/matplotlib · GitHub
Open Graph Title: Update black requirement from <26 to <27 by dependabot[bot] · Pull Request #31363 · matplotlib/matplotlib
X Title: Update black requirement from <26 to <27 by dependabot[bot] · Pull Request #31363 · matplotlib/matplotlib
Description: Updates the requirements on black to permit the latest version.
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)
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 eventloop or default eventloop
(#4996)
... (truncated)
Commits
c6755bb Prepare release 26.3.1 (#5046)
69973fd Harden blackd browser-facing request handling (#5039)
4937fe6 Fix some shenanigans with the cache file and IPython (#5038)
2e641d1 docs: remove outdated Black Playground references (#5044)
c014b22 Remove unused internal code (#5041)
0dae20b Add new changelog (#5036)
c5c1cbd Minor release patches (#5035)
7e5a828 docs: clarify relationship between Black style and PEP 8 (#5025)
69705de docs: add clearer pyproject configuration guidance (#5026)
35ea679 Prepare release 26.3.0 (#5032)
Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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
Open Graph Description: Updates the requirements on black to permit the latest version. Release notes Sourced from black's releases. 26.3.1 Stable style Prevent Jupyter notebook magic masking collisions from corrup...
X Description: Updates the requirements on black to permit the latest version. Release notes Sourced from black's releases. 26.3.1 Stable style Prevent Jupyter notebook magic masking collisions from co...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/31363
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ac6a9a66-26ce-0931-dd5c-d30648c6c8b9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A09A:B4B20:137BA:184FB:6A521496 |
| html-safe-nonce | 5b2c731979037886f7dbb642e62ec4d0c33f927e6596a7bb75f61e1607727c44 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDlBOkI0QjIwOjEzN0JBOjE4NEZCOjZBNTIxNDk2IiwidmlzaXRvcl9pZCI6IjI5NTU0MjQ2MTA4NTI2NzI2NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cada10532749498f4fbf98dcd6335b973ec5bb2b5257c234bca5b4f58c3c6ecd |
| hovercard-subject-tag | pull_request:3438102732 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/31363/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Updates the requirements on black to permit the latest version. Release notes Sourced from black's releases. 26.3.1 Stable style Prevent Jupyter notebook magic masking collisions from corrup... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width