dev: Update Black to 26.3.1#5971
Merged
Merged
Conversation
Update Python Black to 26.3.1 to support new Pythons.
24beba4 to
086f048
Compare
nickva
added a commit
that referenced
this pull request
May 10, 2026
Since github cannot currently handle a rebase commit stack more than 100 commits long, and shows the "cannot merge due to conflics" warning, we're forced to squash all the cherry-picked commits. This is the log of all the squashed commits rebase -i ...: reword dafa12a Unify and fix fabric db meta setters (this commit) fixup f97c72d Remove unused includes fixup 01ec8e0 clarify the important step of this procedure fixup 5d44ee2 configure httplog output for dev/run fixup 2f65771 Bump Erlang versions and clean up a few things fixup 83e7755 upgrade gradle and spotless for JDK25 compat fixup 2a93362 default order is by relevance (high to low) fixup a78c04a Include useful context when logging a bad reduction fixup 97cf13a Cleanup off-heap/priority flags fixup 16572e0 Reset docs_size in quickjs scanner fixup 49fbf46 Add skip option to doc_fdi calback in quickjs scanner fixup 82e176b Added note that _purge is restricted to admin users fixup 0fab6de Add _purge to the list of requests that only admin users are allowed to do. fixup 6b88192 QuickJS features and fixes: closure optimization, iterators, UAF fixup 1755d0d Allow javascript_quickjs in ken fixup ef111c1 chore(makefile): add possibility to run elixir-search per file fixup 0ea1974 refactor: remove python test basic-find-test fixup 55abf9f Fix local doc rev parsing fixup 3ac24a4 Fix purge mem3_rep client verification fixup 729520c QuickJS: regex/string optimizations & workers uaf fix fixup 31a5995 Optimize and clean up internal replicator purge checkpoints fixup 8d6fc12 Fix replicator scheduler total jobs metric fixup 617ee50 Update QuickJS: Unicode 17 and regex memory blowup fix fixup ea369cf fix: prometheus metrics annotations fixup bc103fc chore(`clouseau`): bump to 3.0.0 fixup a81c700 Make `CLOUSEAU_JAVA_HOME` configurable explicitly fixup e0b7012 Set Erlang cookie explicitly for running Clouseau fixup 454b171 Set timeout for Clouseau tests on containerized builders fixup 45e7df2 Fix Credo 1.7.14 ExpensiveEmptyEnumCheck warnings fixup d207878 Disable Clouseau tests in containers fixup a3fa11e refactor: remove 25-beginswith python test fixup 1f7b19f refactor: remove 04-key-tests python test fixup d49dfaa Disable windows clouseau tests for now fixup 7a91824 ci: don’t run tests if we only change .github configuration fixup 9e75e3e Fix bulk_get error handling fixup aeb8422 feat: allow for parallel execution of `make eunit` sub-targets fixup 7700ad6 doc: explain parallel make feature fixup 3e90108 chore: simplify test setup calls fixup 176ba25 feat: make fabric test setup more reliable by just asserting the deletion of a shards db fixup 410c2a6 feat: allow parallel execution of eunit tests fixup 63a0890 chore: lint fixup 6c8e364 feat(dev/run): write couch_uri files so ports are discoverable with --auto-ports option fixup 8a9d24d Avoid updating password hash when request with simple password scheme fixup 7b0d0b3 refactor: remove index-selection python test fixup 240dc3e chore: Use SpiderMonkey v128 as default version (#5624) fixup 22f7a92 chore(dev): Improve configure help message (#5804) fixup 7964220 Improve b64url benchmarking fixup acf6ca8 Support safe secret rotation fixup 4064f82 Updated test for SSL support to reflect API changes fixup 3f72dee Increase timeout for replication tests fixup 93dd7aa use secret from config if ETS not populated fixup a1c335b Fix race condition during purge checkpoint creation fixup 8982231 feat: concat eunit test logs and remove test tmp dirs in Makefile fixup 777bb55 Back to failfast=false for now fixup ecb1784 Remove unused os_daemon test fixtures fixup 01572e5 Add timeouts to stats app fixup 52916d5 Fix handling shards dbs purge checkpoints in mem3_rep fixup d0eda4b Consider previous node replications for _dbs purge checkpoints fixup 6c0cc54 Update QuickJS: regexp updates + memory leak fixes fixup 4c885ca feat: speed up "build release tarball" stage by compiling on 4 cores fixup 12a9401 fix: re-enable macOS worker and fix homebrew regression fixup b83bd22 feat: run make eunit with -j4 parallelism fixup e3f6b54 fix: jdk path on macos fixup 9ae7501 fix: Jenkinsfile have unset meta var default to empty string. fixup bec0011 dev: Skip EUnit tests for gun and recon apps (#5843) fixup 7a245fe Skip some smoosh persist eunit tests as root fixup 4226838 Tolerate maintenance mode and a node down in partition info calls fixup 07a27c8 Disable FreeBSD ARM64 for now fixup 40ab59a feat: parallel eunit for windows fixup 0e89471 Some windows fixes fixup f5f85eb dev: Adding more Makefile.win fixes fixup db4e8ce Tolerate invalid typ claim when not required fixup 8d153cc fix: Nouveau directory moving on Windows fixup 7bc93e1 Re-enable FreeBSD ARM64 worker fixup 867fc4c dev: Enable Windows CI again (#5854) fixup d106422 Remove mem3_util:update_db_doc/1 function fixup 5e503b7 log the time it takes to compact a view and swap it into use fixup 92c31f6 dev: Skip some smoosh tests on Windows fixup 77e8aa4 Docs: Fix docs about replication fixup 4bf97d7 Fix intermittent _scheduler/docs 500 error fixup ba9c388 Fix a type spec discrepancy in couch_replicator_doc_processor fixup 7582016 dev: Enable Eunit/Elixir/Nouveau tests on Windows (#5864) fixup a9480a9 Simplify couch_quickjs scanner plugin fixup 3961b37 Fix typos and tests in couch_replicator fixup c9ee361 setup with mise fixup cad99bd update devcontainer fixup 7e686bb fail build_js if compile step fails fixup 7dd667d Improve replication `since_seq` parameter fixup 85d408b Send 404 for /_all_dbs and /_dbs_info with extra path parts fixup ccb7e7e Improve couch_stats loading fixup 237ca60 ci: temporarily disable freebsd-arm worker because it is too slow fixup aca1c8c Use newer Erlangs and add Almalinux 10 fixup 905c154 upgrade dropwizard to 4.0.17 fixup 8333e7b chore: fail elixir test after first error instead of waiting for the whole suite fixup 2d1f361 unset node env in mise.toml fixup c59bc98 Bump jiffy to 1.1.3 fixup a17228c Use -fvisibility=hidden for some C bits fixup 988afba Pin credo fixup e5134db Fix signatures in mrview purge checkpoints fixup 7208c66 Avoid creating purge checkpoints for invalid views fixup 0df64c5 Don't use db handle after closing in dreyfus_index fixup 2f8a0f3 Do not reset dreyfus purge_seq back to 0 in dreyfus fixup 97dbc97 Use a more reliable "in release" checking method fixup 1812e72 add sbt to mise for clouseau building fixup 4988d9d optionally disable the clouseau node check fixup 26658a9 ci: Enable parallel EUnit tests on CI workers (#5914) fixup ee3e9ba Update URLs to use HTTPS in mac installation guide fixup 466c1e1 Change CouchDB links to use HTTPS fixup e92f958 confirm set_purge_seq returned ok fixup 3c40f7d Upgrade rebar3 and erlfmt fixup 4daf4ce Don't need to set verify_peer any longer fixup 5b23b61 dev: Update .gitattributes for Nouveau (#5862) fixup 118e4ad ci: Full cleanup of Jenkins workspace fixup 8cdcf41 Improve CI performance by combining some stages fixup f6eae13 Improve/fix jenkins workspace cleanup fixup 1173496 Update QuickJS: bytecode size checks, memory fixes, test262 fixup e489e2a Add jitter for scanner plugins fixup 0f30268 fix view compaction duration logging fixup 0b1cc10 remove unused function fixup e034b31 remove open_or_create_index/2 fixup b0aba01 Fix ReferenceError in QuickJS dispatch fixup e760c44 Add eunit test coverage for invalid quickjs commands fixup eeee97c restore nouveau_index_updater:outdated fixup 802bfd1 CI: Enable xref checking for undefined functions fixup cc36812 ci: Add a parameter to specify whether Nouveau is being used in CI fixup 7febe4a dev: Adapting the Clouseau download to the behaviour of Makefile fixup 84b30f9 chore: Embellish configure.ps1 fixup e2e436a ci: Use deleteDir() (non Docker workers) to cleanup workspace directory fixup 4b8f959 dev/run: use `couchdb.uri` only when auto-ports is enabled fixup 9a4771a Clean up the `couch.uri` on `make devclean` fixup 4af7a65 dev/run: make file path for `couch.uri` absolute fixup af612bb dev/run: make creation of `couch.uri` independent of `--auto-ports` fixup ae8f495 dev: Update Black to 26.3.1 (#5971) fixup 354cf27 dev: Update devclean Makefile target (#5970) fixup 0107e30 Fix Jenkins badge link in README (#5973) fixup 5a5ffce Use updated CI images fixup 9ef563a Update CI badge URL in README.rst (#5974) fixup 3c59ec0 Use errstr() instead of toSource() in nouveau js wrapper fixup 46519e8 fixes _find when over threshold fixup d65c628 Jiffy 2.0 fixup 2c0c723 disable copilot code review fixup bf80739 Do not run full GC after each doc update in the indexer fixup 8f5dd21 Increase view queue size from 100KB to 10MB fixup 2794261 Use config:get_integer/3 in couch_mrview_updater fixup 8bf7ea4 Make view compaction tests unflaky fixup a09a2fd Re-enable Clouseau testing in containers fixup 455c030 clouseau: bump version to 3.3.0 fixup ef77627 chore: remove duplicate ioq section entry in default.ini fixup 8681457 chore: add missing comment from docs fixup c87a6bf Update dependencies before 3.5.2 release fixup 95d8599 Add Trixie to CI fixup 32d4951 mango: fix formatting of `text` bookmarks in `_explain` output fixup 889f82e fix(tests): Fix and enable JWTRolesClaimTest fixup 1514e02 update nouveau indexes with bulk request for performance fixup 14894eb Handle cases when dreyfus checkpoint is out-of-sync with the index fixup 25d7e26 chore: rename `couch` make target to `couch-core` fixup 5430741 add lucene version to ddoc and index definition fixup a373289 upgrade to Lucene 10 fixup ce1e841 support legacy indexes but prevent new ones fixup 3128f6b nouveau welcome message for version negotiation fixup 6c1b0dd insert lucene version in new design documents if missing fixup d990100 add scanner to upgrade nouveau indexes fixup ea5d7b8 fix formatting error in previous PR fixup f952d49 document nouveau handling of lucene 9 & 10 fixup 64cd61a Move up to match Lucene source compatibility fixup a53d6aa move nouveau back to extra/ fixup 49bf47e upgrade to Lucene 10.4.0 fixup 2e69264 use StandardCharsets.UTF_8 fixup 4a9505a convert Analyze{Request,Response} to record fixup 539f307 convert IndexInfo{Request,Response} to record fixup 8298d28 improve annotations in BulkUpdateRequest fixup e311819 convert Document api classes to records fixup db9e050 convert IndexDefinition to record fixup df7d7d2 convert api field classes to record fixup d4d3052 convert Search api classes to records fixup cf168c4 initialise index purge seq from db purge seq fixup b532e5c commit purge seq update before returning fixup 5b29d56 fix isLatestVersion when field is missing fixup 653792e Improve parallel test runs fixup 9e30847 Optimize replicator fixup 81865a5 Fix cluster index and process cleanup
nickva
added a commit
that referenced
this pull request
May 10, 2026
Since github cannot currently handle a rebase commit stack more than 100 commits long, and shows the "cannot merge due to conflics" warning, we're forced to squash all the cherry-picked commits. This is the log of all the squashed commits rebase -i ...: reword dafa12a Unify and fix fabric db meta setters (this commit) fixup f97c72d Remove unused includes fixup 01ec8e0 clarify the important step of this procedure fixup 5d44ee2 configure httplog output for dev/run fixup 2f65771 Bump Erlang versions and clean up a few things fixup 83e7755 upgrade gradle and spotless for JDK25 compat fixup 2a93362 default order is by relevance (high to low) fixup a78c04a Include useful context when logging a bad reduction fixup 97cf13a Cleanup off-heap/priority flags fixup 16572e0 Reset docs_size in quickjs scanner fixup 49fbf46 Add skip option to doc_fdi calback in quickjs scanner fixup 82e176b Added note that _purge is restricted to admin users fixup 0fab6de Add _purge to the list of requests that only admin users are allowed to do. fixup 6b88192 QuickJS features and fixes: closure optimization, iterators, UAF fixup 1755d0d Allow javascript_quickjs in ken fixup ef111c1 chore(makefile): add possibility to run elixir-search per file fixup 0ea1974 refactor: remove python test basic-find-test fixup 55abf9f Fix local doc rev parsing fixup 3ac24a4 Fix purge mem3_rep client verification fixup 729520c QuickJS: regex/string optimizations & workers uaf fix fixup 31a5995 Optimize and clean up internal replicator purge checkpoints fixup 8d6fc12 Fix replicator scheduler total jobs metric fixup 617ee50 Update QuickJS: Unicode 17 and regex memory blowup fix fixup ea369cf fix: prometheus metrics annotations fixup bc103fc chore(`clouseau`): bump to 3.0.0 fixup a81c700 Make `CLOUSEAU_JAVA_HOME` configurable explicitly fixup e0b7012 Set Erlang cookie explicitly for running Clouseau fixup 454b171 Set timeout for Clouseau tests on containerized builders fixup 45e7df2 Fix Credo 1.7.14 ExpensiveEmptyEnumCheck warnings fixup d207878 Disable Clouseau tests in containers fixup a3fa11e refactor: remove 25-beginswith python test fixup 1f7b19f refactor: remove 04-key-tests python test fixup d49dfaa Disable windows clouseau tests for now fixup 7a91824 ci: don’t run tests if we only change .github configuration fixup 9e75e3e Fix bulk_get error handling fixup aeb8422 feat: allow for parallel execution of `make eunit` sub-targets fixup 7700ad6 doc: explain parallel make feature fixup 3e90108 chore: simplify test setup calls fixup 176ba25 feat: make fabric test setup more reliable by just asserting the deletion of a shards db fixup 410c2a6 feat: allow parallel execution of eunit tests fixup 63a0890 chore: lint fixup 6c8e364 feat(dev/run): write couch_uri files so ports are discoverable with --auto-ports option fixup 8a9d24d Avoid updating password hash when request with simple password scheme fixup 7b0d0b3 refactor: remove index-selection python test fixup 240dc3e chore: Use SpiderMonkey v128 as default version (#5624) fixup 22f7a92 chore(dev): Improve configure help message (#5804) fixup 7964220 Improve b64url benchmarking fixup acf6ca8 Support safe secret rotation fixup 4064f82 Updated test for SSL support to reflect API changes fixup 3f72dee Increase timeout for replication tests fixup 93dd7aa use secret from config if ETS not populated fixup a1c335b Fix race condition during purge checkpoint creation fixup 8982231 feat: concat eunit test logs and remove test tmp dirs in Makefile fixup 777bb55 Back to failfast=false for now fixup ecb1784 Remove unused os_daemon test fixtures fixup 01572e5 Add timeouts to stats app fixup 52916d5 Fix handling shards dbs purge checkpoints in mem3_rep fixup d0eda4b Consider previous node replications for _dbs purge checkpoints fixup 6c0cc54 Update QuickJS: regexp updates + memory leak fixes fixup 4c885ca feat: speed up "build release tarball" stage by compiling on 4 cores fixup 12a9401 fix: re-enable macOS worker and fix homebrew regression fixup b83bd22 feat: run make eunit with -j4 parallelism fixup e3f6b54 fix: jdk path on macos fixup 9ae7501 fix: Jenkinsfile have unset meta var default to empty string. fixup bec0011 dev: Skip EUnit tests for gun and recon apps (#5843) fixup 7a245fe Skip some smoosh persist eunit tests as root fixup 4226838 Tolerate maintenance mode and a node down in partition info calls fixup 07a27c8 Disable FreeBSD ARM64 for now fixup 40ab59a feat: parallel eunit for windows fixup 0e89471 Some windows fixes fixup f5f85eb dev: Adding more Makefile.win fixes fixup db4e8ce Tolerate invalid typ claim when not required fixup 8d153cc fix: Nouveau directory moving on Windows fixup 7bc93e1 Re-enable FreeBSD ARM64 worker fixup 867fc4c dev: Enable Windows CI again (#5854) fixup d106422 Remove mem3_util:update_db_doc/1 function fixup 5e503b7 log the time it takes to compact a view and swap it into use fixup 92c31f6 dev: Skip some smoosh tests on Windows fixup 77e8aa4 Docs: Fix docs about replication fixup 4bf97d7 Fix intermittent _scheduler/docs 500 error fixup ba9c388 Fix a type spec discrepancy in couch_replicator_doc_processor fixup 7582016 dev: Enable Eunit/Elixir/Nouveau tests on Windows (#5864) fixup a9480a9 Simplify couch_quickjs scanner plugin fixup 3961b37 Fix typos and tests in couch_replicator fixup c9ee361 setup with mise fixup cad99bd update devcontainer fixup 7e686bb fail build_js if compile step fails fixup 7dd667d Improve replication `since_seq` parameter fixup 85d408b Send 404 for /_all_dbs and /_dbs_info with extra path parts fixup ccb7e7e Improve couch_stats loading fixup 237ca60 ci: temporarily disable freebsd-arm worker because it is too slow fixup aca1c8c Use newer Erlangs and add Almalinux 10 fixup 905c154 upgrade dropwizard to 4.0.17 fixup 8333e7b chore: fail elixir test after first error instead of waiting for the whole suite fixup 2d1f361 unset node env in mise.toml fixup c59bc98 Bump jiffy to 1.1.3 fixup a17228c Use -fvisibility=hidden for some C bits fixup 988afba Pin credo fixup e5134db Fix signatures in mrview purge checkpoints fixup 7208c66 Avoid creating purge checkpoints for invalid views fixup 0df64c5 Don't use db handle after closing in dreyfus_index fixup 2f8a0f3 Do not reset dreyfus purge_seq back to 0 in dreyfus fixup 97dbc97 Use a more reliable "in release" checking method fixup 1812e72 add sbt to mise for clouseau building fixup 4988d9d optionally disable the clouseau node check fixup 26658a9 ci: Enable parallel EUnit tests on CI workers (#5914) fixup ee3e9ba Update URLs to use HTTPS in mac installation guide fixup 466c1e1 Change CouchDB links to use HTTPS fixup e92f958 confirm set_purge_seq returned ok fixup 3c40f7d Upgrade rebar3 and erlfmt fixup 4daf4ce Don't need to set verify_peer any longer fixup 5b23b61 dev: Update .gitattributes for Nouveau (#5862) fixup 118e4ad ci: Full cleanup of Jenkins workspace fixup 8cdcf41 Improve CI performance by combining some stages fixup f6eae13 Improve/fix jenkins workspace cleanup fixup 1173496 Update QuickJS: bytecode size checks, memory fixes, test262 fixup e489e2a Add jitter for scanner plugins fixup 0f30268 fix view compaction duration logging fixup 0b1cc10 remove unused function fixup e034b31 remove open_or_create_index/2 fixup b0aba01 Fix ReferenceError in QuickJS dispatch fixup e760c44 Add eunit test coverage for invalid quickjs commands fixup eeee97c restore nouveau_index_updater:outdated fixup 802bfd1 CI: Enable xref checking for undefined functions fixup cc36812 ci: Add a parameter to specify whether Nouveau is being used in CI fixup 7febe4a dev: Adapting the Clouseau download to the behaviour of Makefile fixup 84b30f9 chore: Embellish configure.ps1 fixup e2e436a ci: Use deleteDir() (non Docker workers) to cleanup workspace directory fixup 4b8f959 dev/run: use `couchdb.uri` only when auto-ports is enabled fixup 9a4771a Clean up the `couch.uri` on `make devclean` fixup 4af7a65 dev/run: make file path for `couch.uri` absolute fixup af612bb dev/run: make creation of `couch.uri` independent of `--auto-ports` fixup ae8f495 dev: Update Black to 26.3.1 (#5971) fixup 354cf27 dev: Update devclean Makefile target (#5970) fixup 0107e30 Fix Jenkins badge link in README (#5973) fixup 5a5ffce Use updated CI images fixup 9ef563a Update CI badge URL in README.rst (#5974) fixup 3c59ec0 Use errstr() instead of toSource() in nouveau js wrapper fixup 46519e8 fixes _find when over threshold fixup d65c628 Jiffy 2.0 fixup 2c0c723 disable copilot code review fixup bf80739 Do not run full GC after each doc update in the indexer fixup 8f5dd21 Increase view queue size from 100KB to 10MB fixup 2794261 Use config:get_integer/3 in couch_mrview_updater fixup 8bf7ea4 Make view compaction tests unflaky fixup a09a2fd Re-enable Clouseau testing in containers fixup 455c030 clouseau: bump version to 3.3.0 fixup ef77627 chore: remove duplicate ioq section entry in default.ini fixup 8681457 chore: add missing comment from docs fixup c87a6bf Update dependencies before 3.5.2 release fixup 95d8599 Add Trixie to CI fixup 32d4951 mango: fix formatting of `text` bookmarks in `_explain` output fixup 889f82e fix(tests): Fix and enable JWTRolesClaimTest fixup 1514e02 update nouveau indexes with bulk request for performance fixup 14894eb Handle cases when dreyfus checkpoint is out-of-sync with the index fixup 25d7e26 chore: rename `couch` make target to `couch-core` fixup 5430741 add lucene version to ddoc and index definition fixup a373289 upgrade to Lucene 10 fixup ce1e841 support legacy indexes but prevent new ones fixup 3128f6b nouveau welcome message for version negotiation fixup 6c1b0dd insert lucene version in new design documents if missing fixup d990100 add scanner to upgrade nouveau indexes fixup ea5d7b8 fix formatting error in previous PR fixup f952d49 document nouveau handling of lucene 9 & 10 fixup 64cd61a Move up to match Lucene source compatibility fixup a53d6aa move nouveau back to extra/ fixup 49bf47e upgrade to Lucene 10.4.0 fixup 2e69264 use StandardCharsets.UTF_8 fixup 4a9505a convert Analyze{Request,Response} to record fixup 539f307 convert IndexInfo{Request,Response} to record fixup 8298d28 improve annotations in BulkUpdateRequest fixup e311819 convert Document api classes to records fixup db9e050 convert IndexDefinition to record fixup df7d7d2 convert api field classes to record fixup d4d3052 convert Search api classes to records fixup cf168c4 initialise index purge seq from db purge seq fixup b532e5c commit purge seq update before returning fixup 5b29d56 fix isLatestVersion when field is missing fixup 653792e Improve parallel test runs fixup 9e30847 Optimize replicator fixup 81865a5 Fix cluster index and process cleanup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Update Python Black to 26.3.1 to support new Pythons.
Checklist