--- black-25.1.0/tox.ini.orig
+++ black-25.1.0/tox.ini
@@ -13,15 +13,16 @@
 recreate = True
 deps =
     -r{toxinidir}/test_requirements.txt
+extras =
+    d
+    jupyter
 ; parallelization is disabled on CI because pytest-dev/pytest-xdist#620 occurs too frequently
 ; local runs can stay parallelized since they aren't rolling the dice so many times as like on CI
 commands =
-    pip install -e .[d]
     coverage erase
     pytest tests --run-optional no_jupyter \
         !ci: --numprocesses auto \
         --cov {posargs}
-    pip install -e .[jupyter]
     pytest tests --run-optional jupyter \
         -m jupyter \
         !ci: --numprocesses auto \