Sourced from black's releases.
\n\n\n21.12b0
\nBlack
\n\n
\n- Fix determination of f-string expression spans (#2654)
\n- Fix bad formatting of error messages about EOF in multi-line statements (#2343)
\n- Functions and classes in blocks now have more consistent surrounding spacing (#2472)
\nJupyter Notebook support
\n\n
\n- Cell magics are now only processed if they are known Python cell magics. Earlier, all cell magics were tokenized, leading to possible indentation errors e.g. with
\n%%writefile
. (#2630)- Fix assignment to environment variables in Jupyter Notebooks (#2642)
\nPython 3.10 support
\n\n
\n- Point users to using
\n--target-version py310
if we detect 3.10-only syntax (#2668)- Fix
\nmatch
statements with open sequence subjects, likematch a, b:
ormatch a, *b:
(#2639) (#2659)- Fix
\nmatch
/case
statements that containmatch
/case
soft keywords multiple times, likematch re.match()
(#2661)- Fix
\ncase
statements with an inline body (#2665)- Fix styling of starred expressions inside
\nmatch
subject (#2667)- Fix parser error location on invalid syntax in a
\nmatch
statement (#2649)- Fix Python 3.10 support on platforms without ProcessPoolExecutor (#2631)
\n- Improve parsing performance on code that uses
\nmatch
under--target-version py310
up to ~50% (#2670)Packaging
\n\n
\nThank you!
\n\n
\n- \n
@\u200bisidentical
for the polishing up 3.10 syntax support (which they contributed in the first place!)- \n
@\u200bMarcoGorelli
for their ever-continuing work on Black's jupyter support- \n
@\u200bjalaziz
for cleaning up our Pyinstaller CD workflow- \n
@\u200bhauntsaninja
for helping us drop theregex
dependencyAnd also congrats to first contributors!
\n\n
\n- \n
@\u200bMatthewScholefield
made their first contribution in psf/black#2631- \n
@\u200bAshIsbitt
made their first contribution in psf/black#2632- \n
@\u200bkalbasit
made their first contribution in psf/black#2638- \n
@\u200bdanieleades
made their first contribution in psf/black#2653- \n
@\u200bdanielsparing
made their first contribution in psf/black#2630- \n
@\u200btanvimoharir
made their first contribution in psf/black#2343
Sourced from black's changelog.
\n\n\n21.12b0
\nBlack
\n\n
\n- Fix determination of f-string expression spans (#2654)
\n- Fix bad formatting of error messages about EOF in multi-line statements (#2343)
\n- Functions and classes in blocks now have more consistent surrounding spacing (#2472)
\nJupyter Notebook support
\n\n
\n- Cell magics are now only processed if they are known Python cell magics. Earlier, all\ncell magics were tokenized, leading to possible indentation errors e.g. with\n
\n%%writefile
. (#2630)- Fix assignment to environment variables in Jupyter Notebooks (#2642)
\nPython 3.10 support
\n\n
\n- Point users to using
\n--target-version py310
if we detect 3.10-only syntax (#2668)- Fix
\nmatch
statements with open sequence subjects, likematch a, b:
or\nmatch a, *b:
(#2639) (#2659)- Fix
\nmatch
/case
statements that containmatch
/case
soft keywords multiple\ntimes, likematch re.match()
(#2661)- Fix
\ncase
statements with an inline body (#2665)- Fix styling of starred expressions inside
\nmatch
subject (#2667)- Fix parser error location on invalid syntax in a
\nmatch
statement (#2649)- Fix Python 3.10 support on platforms without ProcessPoolExecutor (#2631)
\n- Improve parsing performance on code that uses
\nmatch
under--target-version py310
\nup to ~50% (#2670)Packaging
\n\n
Sourced from pytest-xdist's changelog.
\n\n\npytest-xdist 2.5.0 (2021-12-10)
\nFeatures
\n\n
\n- \n
\n\n
[#722](https://github.com/pytest-dev/pytest-xdist/issues/722) <https://github.com/pytest-dev/pytest-xdist/issues/722>
_: Full compatibility with pytest 7 - no deprecation warnings or use of legacy features.- \n
\n\n
[#733](https://github.com/pytest-dev/pytest-xdist/issues/733) <https://github.com/pytest-dev/pytest-xdist/issues/733>
_: New--dist=loadgroup
option, which ensures all tests marked with@pytest.mark.xdist_group
run in the same session/worker. Other tests run distributed as in--dist=load
.Trivial Changes
\n\n
\n- \n
\n\n
[#708](https://github.com/pytest-dev/pytest-xdist/issues/708) <https://github.com/pytest-dev/pytest-xdist/issues/708>
_: Use@pytest.hookspec
decorator to declare hook options innewhooks.py
to avoid warnings inpytest 7.0
.- \n
\n\n
[#719](https://github.com/pytest-dev/pytest-xdist/issues/719) <https://github.com/pytest-dev/pytest-xdist/issues/719>
_: Use up-to-datesetup.cfg
/pyproject.toml
packaging setup.- \n
\n\n
[#720](https://github.com/pytest-dev/pytest-xdist/issues/720) <https://github.com/pytest-dev/pytest-xdist/issues/720>
_: Require pytest>=6.2.0.- \n
\n\n
[#721](https://github.com/pytest-dev/pytest-xdist/issues/721) <https://github.com/pytest-dev/pytest-xdist/issues/721>
_: Started using type annotations and mypy checking internally. The types are incomplete and not published.pytest-xdist 2.4.0 (2021-09-20)
\nFeatures
\n\n
\n- \n
\n\n
[#696](https://github.com/pytest-dev/pytest-xdist/issues/696) <https://github.com/pytest-dev/pytest-xdist/issues/696>
_: On Linux, the process title now changes to indicate the current worker state (running/idle).Depends on the
\nsetproctitle <https://pypi.org/project/setproctitle/>
__ package, which can be installed withpip install pytest-xdist[setproctitle]
.- \n
\n\n
[#704](https://github.com/pytest-dev/pytest-xdist/issues/704) <https://github.com/pytest-dev/pytest-xdist/issues/704>
_: Add support for Python 3.10.pytest-xdist 2.3.0 (2021-06-16)
\nDeprecations and Removals
\n\n
\n- \n
[#654](https://github.com/pytest-dev/pytest-xdist/issues/654) <https://github.com/pytest-dev/pytest-xdist/issues/654>
_: Python 3.5 is no longer supported.Features
\n\n
\n\n- \n
[#646](https://github.com/pytest-dev/pytest-xdist/issues/646) <https://github.com/pytest-dev/pytest-xdist/issues/646>
_: Add--numprocesses=logical
flag, which automatically uses the number of logical CPUs available, instead of physical CPUs withauto
.
... (truncated)
\n13f3934
Remove unnecessary skip from test_logfinish_hook as we require pytest>=6.2c76d562
Skip test_warning_captured_deprecated_in_pytest_6 in pytest>=7.15f78c71
Fix CHANGELOG headerc8bbc03
Release 2.5.08dbf367
Merge pull request #738 from pytest-dev/pre-commit-ci-update-configa25c14b
[pre-commit.ci] pre-commit autoupdate110c114
Merge pull request #734 from nicoddemus/revamp-readme83bdbf4
Revamp README630c1eb
Merge pull request #733 from baekdohyeop/feature-loadgroup62e50d0
Address review