Sourced from click's releases.
\n\n\n8.1.0
\nThis is a feature release, which includes new features and removes previously deprecated features. The 8.1.x branch is now the supported bugfix branch, the 8.0.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades.
\n\n
Sourced from click's changelog.
\n\n\nVersion 8.1.0
\nReleased 2022-03-28
\n\n
\n\n- \n
\nDrop support for Python 3.6. :pr:
\n2129
- \n
\nRemove previously deprecated code. :pr:
\n2130
\n
\n- \n
Group.resultcallback
is renamed toresult_callback
.- \n
autocompletion
parameter toCommand
is renamed to\nshell_complete
.- \n
get_terminal_size
is removed, use\nshutil.get_terminal_size
instead.- \n
get_os_args
is removed, usesys.argv[1:]
instead.- \n
\nRely on :pep:
\n538
and :pep:540
to handle selecting UTF-8 encoding\ninstead of ASCII. Click's locale encoding detection is removed.\n:issue:2198
- \n
\nSingle options boolean flags with
\nshow_default=True
only show\nthe default if it isTrue
. :issue:1971
- \n
\nThe
\ncommand
andgroup
decorators can be applied with or\nwithout parentheses. :issue:1359
- \n
\nThe
\nPath
type can check whether the target is executable.\n:issue:1961
- \n
\n\n
Command.show_default
overridesContext.show_default
, instead\nof the other way around. :issue:1963
- \n
\nParameter decorators and
\n@group
handlescls=None
the same as\nnot passingcls
.@option
handleshelp=None
the same as\nnot passinghelp
. :issue:[#1959](https://github.com/pallets/click/issues/1959)
- \n
\nA flag option with
\nrequired=True
requires that the flag is\npassed instead of choosing the implicit default value. :issue:1978
- \n
\nIndentation in help text passed to
\nOption
andCommand
is\ncleaned the same as using the@option
and@command
\ndecorators does. A command'sepilog
andshort_help
are also\nprocessed. :issue:1985
- \n
\nStore unprocessed
\nCommand.help
,epilog
andshort_help
\nstrings. Processing is only done when formatting help text for\noutput. :issue:2149
- \n
\nAllow empty str input for
\nprompt()
when\nconfirmation_prompt=True
anddefault=""
. :issue:2157
- \n
\nWindows glob pattern expansion doesn't fail if a value is an invalid\npattern. :issue:
\n2195
- \n
\nIt's possible to pass a list of
\nparams
to@command
. Any\nparams defined with decorators are appended to the passed params.\n:issue:2131
.- \n
\n\n
@command
decorator is annotated as returning the correct type if\nacls
argument is used. :issue:2211
- \n
\nA
\nGroup
withinvoke_without_command=True
andchain=False
\nwill invoke its result callback with the group function's return\nvalue. :issue:2124
... (truncated)
\ne4aceee
Merge pull request #2224 from pallets/release-8.1.0f8d811e
release version 8.1.020c88f0
Merge pull request #2223 from pallets/env-var8d7f03d
treat empty auto_envvar as Noneef11be6
Merge pull request #2041 from spanglerco/shell-completion-option-valuesf2e579a
shell completion prioritizes option values over new optionsd251cb0
Merge pull request #2219 from pallets/paramtype-namee003331
fix ParamType.to_info_dict() with no name19be092
Merge pull request #2217 from pallets/group-return7d3a871
group without command passes return value to result callbackSourced from pytest's releases.
\n\n\n7.1.0
\npytest 7.1.0 (2022-03-13)
\nBreaking Changes
\n\n
\n- \n
\n#8838: As per our policy, the following features have been deprecated in the 6.X series and are now\nremoved:
\n\n
\n- \n
pytest._fillfuncargs
function.- \n
pytest_warning_captured
hook - usepytest_warning_recorded
instead.- \n
-k -foobar
syntax - use-k 'not foobar'
instead.- \n
-k foobar:
syntax.- \n
pytest.collect
module - import frompytest
directly.For more information consult\nDeprecations and Removals in the docs.
\n- \n
\n#9437: Dropped support for Python 3.6, which reached end-of-life at 2021-12-23.
\nImprovements
\n\n
\n- \n
\n#5192: Fixed test output for some data types where
\n-v
would show less information.Also, when showing diffs for sequences,
\n-q
would produce full diffs instead of the expected diff.- \n
\n#9362: pytest now avoids specialized assert formatting when it is detected that the default
\n__eq__
is overridden inattrs
ordataclasses
.- \n
\n#9536: When
\n-vv
is given on command line, show skipping and xfail reasons in full instead of truncating them to fit the terminal width.- \n
\n#9644: More information about the location of resources that led Python to raise
\nResourceWarning
{.interpreted-text role="class"} can now\nbe obtained by enablingtracemalloc
{.interpreted-text role="mod"}.See
\nresource-warnings
{.interpreted-text role="ref"} for more information.- \n
\n#9678: More types are now accepted in the
\nids
argument to@pytest.mark.parametrize
.\nPreviously only [str]{.title-ref}, [float]{.title-ref}, [int]{.title-ref} and [bool]{.title-ref} were accepted;\nnow [bytes]{.title-ref}, [complex]{.title-ref}, [re.Pattern]{.title-ref}, [Enum]{.title-ref} and anything with a [__name__]{.title-ref} are also accepted.- \n
\n#9692:
\npytest.approx
{.interpreted-text role="func"} now raises aTypeError
{.interpreted-text role="class"} when given an unordered sequence (such asset
{.interpreted-text role="class"}).Note that this implies that custom classes which only implement
\n__iter__
and__len__
are no longer supported as they don't guarantee order.Bug Fixes
\n\n
\n\n- #8242: The deprecation of raising
\nunittest.SkipTest
{.interpreted-text role="class"} to skip collection of\ntests during the pytest collection phase is reverted - this is now a supported\nfeature again.- #9493: Symbolic link components are no longer resolved in conftest paths.\nThis means that if a conftest appears twice in collection tree, using symlinks, it will be executed twice.
\n
... (truncated)
\n1dbffcc
[pre-commit.ci] auto fixes from pre-commit.com hooksd53a5fb
Prepare release version 7.1.0d306ec0
Update upcoming trainings (#9744)3e4c14b
Merge pull request #9751 from fabianegli/main7f924b1
Fix typo in deprecation documentation4a8f8ad
build(deps): Bump django from 4.0.2 to 4.0.3 in /testing/plugins_integration ...c0fd2d8
build(deps): Bump pytest-asyncio from 0.18.1 to 0.18.2 in /testing/plugins_in...843e018
Merge pull request #9732 from nicoddemus/9730-toml-failurebc43d66
[automated] Update plugin list (#9733)e38d1ca
Improve error message for malformed pyproject.toml files8e4800e
Fixup readmedc1efca
2.1.0 releasedd9d608
Add custom hooks specifications for overriding setup_timeout and teardown_tim...ed8ecd6
module names, they're difficult3ab4319
Add changelog4f7ebae
Replace deprecated py.io.get_terminal_width() with shutil.get_terminal_size()...b8a2fa6
Prep release951972d
Update changelog748a9c3
Making detection of whether a debugger is currently attached more flexible. (...f8a46a1
Github removed the git protocol (#112)Sourced from asgiref's changelog.
\n\n\n3.5.0 (2022-01-22)
\n\n
\n- \n
\nPython 3.6 is no longer supported, and asyncio calls have been changed to\nuse only the modern versions of the APIs as a result
\n- \n
\nSeveral causes of RuntimeErrors in cases where an event loop was assigned\nto a thread but not running
\n- \n
\nSpeed improvements in the Local class
\n3.4.1 (2021-07-01)
\n\n
\n- Fixed an issue with the deadlock detection where it had false positives\nduring exception handling.
\n3.4.0 (2021-06-27)
\n\n
\n- \n
\nCalling sync_to_async directly from inside itself (which causes a deadlock\nwhen in the default, thread-sensitive mode) now has deadlock detection.
\n- \n
\nasyncio usage has been updated to use the new versions of get_event_loop,\nensure_future, wait and gather, avoiding deprecation warnings in Python 3.10.\nPython 3.6 installs continue to use the old versions; this is only for 3.7+
\n- \n
\nsync_to_async and async_to_sync now have improved type hints that pass\nthrough the underlying function type correctly.
\n- \n
\nAll Websocket* types are now spelled WebSocket, to match our specs and the\nofficial spelling. The old names will work until release 3.5.0, but will\nraise deprecation warnings.
\n- \n
\nThe typing for WebSocketScope and HTTPScope's
\nextensions
key has been\nfixed.3.3.4 (2021-04-06)
\n\n
\n- The async_to_sync type error is now a warning due the high false negative\nrate when trying to detect coroutine-returning callables in Python.
\n3.3.3 (2021-04-06)
\n\n
... (truncated)
\n8b61513
Releasing 3.5.0b2e1c9d
Fixed pytest_asyncio deprecation warning.2eda551
Added testing for Python 3.10.02fecb6
Drop Python 3.6 (#307)6689c0a
Added stacklevel to warning in AsyncToSync.4364f9b
Changed how StatelessServer handles event loops7bc055c
Update implementations.rst (#295)c758984
Move current_task import choice to module definition timedfe87b2
Fixed #292: Use get_event_loop in class-level codeb3a65e3
Removed class variable which has been unused since a0bbe90Sourced from pytest's releases.
\n\n\n7.0.0
\npytest 7.0.0 (2022-02-03)
\n(Please see the full set of changes for this release also in the 7.0.0rc1 notes below)
\nDeprecations
\n\n
\n- \n
\n#9488: If custom subclasses of nodes like
\npytest.Item
{.interpreted-text role="class"} override the\n__init__
method, they should take**kwargs
. See\nuncooperative-constructors-deprecated
{.interpreted-text role="ref"} for details.Note that a deprection warning is only emitted when there is a conflict in the\narguments pytest expected to pass. This deprecation was already part of pytest\n7.0.0rc1 but wasn't documented.
\nBug Fixes
\n\n
\n- #9355: Fixed error message prints function decorators when using assert in Python 3.8 and above.
\n- #9396: Ensure
\npytest.Config.inifile
{.interpreted-text role="attr"} is available during thepytest_cmdline_main <_pytest.hookspec.pytest_cmdline_main>
{.interpreted-text role="func"} hook (regression during7.0.0rc1
).Improved Documentation
\n\n
\n- #9404: Added extra documentation on alternatives to common misuses of [pytest.warns(None)]{.title-ref} ahead of its deprecation.
\n- #9505: Clarify where the configuration files are located. To avoid confusions documentation mentions\nthat configuration file is located in the root of the repository.
\nTrivial/Internal Changes
\n\n
\n- #9521: Add test coverage to assertion rewrite path.
\npytest 7.0.0rc1 (2021-12-06)
\nBreaking Changes
\n\n
\n\n- \n
\n#7259: The
\nNode.reportinfo() <non-python tests>
{.interpreted-text role="ref"} function first return value type has been expanded from [py.path.local | str]{.title-ref} to [os.PathLike[str] | str]{.title-ref}.Most plugins which refer to [reportinfo()]{.title-ref} only define it as part of a custom
\npytest.Item
{.interpreted-text role="class"} implementation.\nSince [py.path.local]{.title-ref} is a [os.PathLike[str]]{.title-ref}, these plugins are unaffacted.Plugins and users which call [reportinfo()]{.title-ref}, use the first return value and interact with it as a [py.path.local]{.title-ref}, would need to adjust by calling [py.path.local(fspath)]{.title-ref}.\nAlthough preferably, avoid the legacy [py.path.local]{.title-ref} and use [pathlib.Path]{.title-ref}, or use [item.location]{.title-ref} or [item.path]{.title-ref}, instead.
\nNote: pytest was not able to provide a deprecation period for this change.
\n
... (truncated)
\n3554b83
Add note to changelog6ea7f99
Prepare release version 7.0.0737b220
[7.0.x] releasing: Add template for major releases (#9597)7fa3972
[7.0.x] releasing: Always set doc_version (#9590)b304499
[7.0.x] Make 'warnings' and 'deselected' in assert_outcomes optional (#9566)f17525d
[7.0.x] doc: Add ellipsis to warning usecase list (#9562)0a7be97
ci: Bump up timeout (#9565)c17908c
[7.0.x] doc: Recategorize 7.0.0 changelog items (#9564)ab549bb
[7.0.x] Add missing cooperative constructor changelog (#9563)4b1707f
[7.0.x] Autouse linearization graph (#9557)Sourced from pytest-asyncio's releases.
\n\n\npytest-asyncio 0.18.0
\n
\ntitle: 'pytest-asyncio: pytest support for asyncio'
\n\n\n\n\n\npytest-asyncio is an Apache2 licensed library, written in Python, for\ntesting asyncio code with pytest.
\nasyncio code is usually written in the form of coroutines, which makes\nit slightly more difficult to test using normal testing tools.\npytest-asyncio provides useful fixtures and markers to make testing\neasier.
\n\n@pytest.mark.asyncio\nasync def test_some_asyncio_code():\n res = await library.do_something()\n assert b"expected result" == res\n
pytest-asyncio has been strongly influenced by\npytest-tornado.
\nFeatures
\n\n
\n- fixtures for creating and injecting versions of the asyncio event\nloop
\n- fixtures for injecting unused tcp/udp ports
\n- pytest markers for treating tests as asyncio coroutines
\n- easy testing with non-default event loops
\n- support for [async def]{.title-ref} fixtures and async generator\nfixtures
\n- support auto mode to handle all async fixtures and tests\nautomatically by asyncio; provide strict mode if a test suite\nshould work with different async frameworks simultaneously, e.g.\n
\nasyncio
andtrio
.Installation
\n\n
... (truncated)
\n07e9922
Prepare release of v0.18.0 (#282)a92d894
Relax dependency on typing-extensions (#284)e78b59d
Fix setuptools_scm configuration (#279)d8efa64
Support parametrized event_loop fixture (#278)dab3b51
Raise a warning if @\u200bpytest
.mark.asyncio is applied to non-async function (#275)048a6ed
Code cleanup: drop 'request' argument from async fixtures (#270)4353327
Update changelogc919fd7
Remove unconditional test item attribute access (#268)39c6d0c
Update README547933d
Require typing-extensions on py<3.8 only (#269)Sourced from pytest-asyncio's releases.
\n\n\npytest-asyncio 0.17.0
\n
\ntitle: 'pytest-asyncio: pytest support for asyncio'
\n\n\n\n\n\npytest-asyncio is an Apache2 licensed library, written in Python, for\ntesting asyncio code with pytest.
\nasyncio code is usually written in the form of coroutines, which makes\nit slightly more difficult to test using normal testing tools.\npytest-asyncio provides useful fixtures and markers to make testing\neasier.
\n\n@pytest.mark.asyncio\nasync def test_some_asyncio_code():\n res = await library.do_something()\n assert b"expected result" == res\n
pytest-asyncio has been strongly influenced by\npytest-tornado.
\nFeatures
\n\n
\n- fixtures for creating and injecting versions of the asyncio event\nloop
\n- fixtures for injecting unused tcp/udp ports
\n- pytest markers for treating tests as asyncio coroutines
\n- easy testing with non-default event loops
\n- support for [async def]{.title-ref} fixtures and async generator\nfixtures
\n- support auto mode to handle all async fixtures and tests\nautomatically by asyncio; provide strict mode if a test suite\nshould work with different async frameworks simultaneously, e.g.\n
\nasyncio
andtrio
.Installation
\n\n
... (truncated)
\n2e2d5d2
Bump to 0.17 release90436c9
Fix pandoc installation procedured291c66
Convert README.rst to Markdown for making githun release141937b
Fix release artifacts696cf7d
Fix trove classifier for asyncio8ccb306
Build on tagcd84987
Release process automation (#252)2eb12a7
Setup GitHub Workflows linter and yaml-reformatter (#253)d28b826
Bump codecov/codecov-action from 1 to 2.1.0 (#251)2f523ba
Configure dependabot version updater (#250)Sourced from black's releases.
\n\n\n22.1.0
\nAt long last, Black is no longer a beta product! This is the first non-beta release and the first release covered by our new stability policy.
\nHighlights
\n\nStyle
\n\n
\n- Deprecate
\n--experimental-string-processing
and move the functionality under--preview
(#2789)- For stubs, one blank line between class attributes and methods is now kept if there's at least one pre-existing blank line (#2736)
\n- Black now normalizes string prefix order (#2297)
\n- Remove spaces around power operators if both operands are simple (#2726)
\n- Work around bug that causes unstable formatting in some cases in the presence of the magic trailing comma (#2807)
\n- Use parentheses for attribute access on decimal float and int literals (#2799)
\n- Don't add whitespace for attribute access on hexadecimal, binary, octal, and complex literals (#2799)
\n- Treat blank lines in stubs the same inside top-level if statements (#2820)
\n- Fix unstable formatting with semicolons and arithmetic expressions (#2817)
\n- Fix unstable formatting around magic trailing comma (#2572)
\nParser
\n\n
\n- Fix mapping cases that contain as-expressions, like
\ncase {"key": 1 | 2 as password}
(#2686)- Fix cases that contain multiple top-level as-expressions, like
\ncase 1 as a, 2 as b
(#2716)- Fix call patterns that contain as-expressions with keyword arguments, like
\ncase Foo(bar=baz as quux)
(#2749)- Tuple unpacking on
\nreturn
andyield
constructs now implies 3.8+ (#2700)- Unparenthesized tuples on annotated assignments (e.g
\nvalues: Tuple[int, ...] = 1, 2, 3
) now implies 3.8+ (#2708)- Fix handling of standalone
\nmatch()
orcase()
when there is a trailing newline or a comment inside of the parentheses. (#2760)- \n
from __future__ import annotations
statement now implies Python 3.7+ (#2690)Performance
\n\n
\n- Speed-up the new backtracking parser about 4X in general (enabled when
\n--target-version
is set to 3.10 and higher). (#2728)- Black is now compiled with mypyc for an overall 2x speed-up. 64-bit Windows, MacOS, and Linux (not including musl) are supported. (#1009, #2431)
\nConfiguration
\n\n
\n- Do not accept bare carriage return line endings in pyproject.toml (#2408)
\n- Add configuration option (
\npython-cell-magics
) to format cells with custom magics in Jupyter Notebooks (#2744)- Allow setting custom cache directory on all platforms with environment variable
\nBLACK_CACHE_DIR
(#2739).- Enable Python 3.10+ by default, without any extra need to specify -
\n-target-version=py310
. (#2758)- Make passing
\nSRC
or--code
mandatory and mutually exclusive (#2804)Output
\n\n
\n- Improve error message for invalid regular expression (#2678)
\n- Improve error message when parsing fails during AST safety check by embedding the underlying SyntaxError (#2693)
\n- No longer color diff headers white as it's unreadable in light themed terminals (#2691)
\n- Text coloring added in the final statistics (#2712)
\n- Verbose mode also now describes how a project root was discovered and which paths will be formatted. (#2526)
\nPackaging
\n\n\n
... (truncated)
\nSourced from black's changelog.
\n\n\n22.1.0
\nAt long last, Black is no longer a beta product! This is the first non-beta release\nand the first release covered by our new stability policy.
\nHighlights
\n\nStyle
\n\n
\n- Deprecate
\n--experimental-string-processing
and move the functionality under\n--preview
(#2789)- For stubs, one blank line between class attributes and methods is now kept if there's\nat least one pre-existing blank line (#2736)
\n- Black now normalizes string prefix order (#2297)
\n- Remove spaces around power operators if both operands are simple (#2726)
\n- Work around bug that causes unstable formatting in some cases in the presence of the\nmagic trailing comma (#2807)
\n- Use parentheses for attribute access on decimal float and int literals (#2799)
\n- Don't add whitespace for attribute access on hexadecimal, binary, octal, and complex\nliterals (#2799)
\n- Treat blank lines in stubs the same inside top-level
\nif
statements (#2820)- Fix unstable formatting with semicolons and arithmetic expressions (#2817)
\n- Fix unstable formatting around magic trailing comma (#2572)
\nParser
\n\n
\n- Fix mapping cases that contain as-expressions, like
\ncase {"key": 1 | 2 as password}
\n(#2686)- Fix cases that contain multiple top-level as-expressions, like
\ncase 1 as a, 2 as b
\n(#2716)- Fix call patterns that contain as-expressions with keyword arguments, like\n
\ncase Foo(bar=baz as quux)
(#2749)- Tuple unpacking on
\nreturn
andyield
constructs now implies 3.8+ (#2700)- Unparenthesized tuples on annotated assignments (e.g\n
\nvalues: Tuple[int, ...] = 1, 2, 3
) now implies 3.8+ (#2708)- Fix handling of standalone
\nmatch()
orcase()
when there is a trailing newline or a\ncomment inside of the parentheses. (#2760)- \n
from __future__ import annotations
statement now implies Python 3.7+ (#2690)Performance
\n\n\n
... (truncated)
\nSourced from janus's releases.
\n\n\njanus 1.0.0 release
\n\n
\n- Dropped Python 3.6 support
\n- Janus is marked as stable, no API changes was made for years
\n
Sourced from janus's changelog.
\n\n\n1.0.0 (2021-12-17)
\n\n
\n- Drop Python 3.6 support
\n0.7.0 (2021-11-24)
\n\n
\n- Add SyncQueue and AsyncQueue Protocols to provide type hints for sync and async queues #374
\n0.6.2 (2021-10-24)
\n\n
\n- Fix Python 3.10 compatibility #358
\n0.6.1 (2020-10-26)
\n\n
\n- \n
\nRaise RuntimeError on queue.join() after queue closing. #295
\n- \n
\nReplace
\ntimeout
type fromOptional[int]
toOptional[float]
#2670.6.0 (2020-10-10)
\n\n
\n- \n
\nDrop Python 3.5, the minimal supported version is Python 3.6
\n- \n
\nSupport Python 3.9
\n- \n
\nRefomat with
\nblack
0.5.0 (2020-04-23)
\n\n
\n- Remove explicit loop arguments and forbid creating queues outside event loops #246
\n0.4.0 (2018-07-28)
\n\n
\n- \n
\nAdd
\npy.typed
macro #89- \n
\nDrop python 3.4 support and fix minimal version python3.5.3 #88
\n- \n
\nAdd property with that indicates if queue is closed #86
\n0.3.2 (2018-07-06)
\n\n
\n\n- Fixed python 3.7 support #97
\n
... (truncated)
\n0783f9b
Fix coverage upload41c49ba
Make deployment only if checks are greenec94b35
Fix CI again2303208
Fix CIdff5078
Bump to 1.0.03421545
Bump mypy from 0.910 to 0.920 (#384)56b2d1d
Bump black from 21.11b1 to 21.12b0 (#383)883e82b
Update README.rst2e30d8a
Bump coverage from 6.1.2 to 6.2 (#382)7b72d85
Bump to 0.7Sourced 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 reviewSourced from janus's changelog.
\n\n\n0.7.0 (2021-11-24)
\n\n
\n- Add SyncQueue and AsyncQueue Protocols to provide type hints for sync and async queues #374
\n0.6.2 (2021-10-24)
\n\n
\n- Fix Python 3.10 compatibility #358
\n0.6.1 (2020-10-26)
\n\n
\n- \n
\nRaise RuntimeError on queue.join() after queue closing. #295
\n- \n
\nReplace
\ntimeout
type fromOptional[int]
toOptional[float]
#2670.6.0 (2020-10-10)
\n\n
\n- \n
\nDrop Python 3.5, the minimal supported version is Python 3.6
\n- \n
\nSupport Python 3.9
\n- \n
\nRefomat with
\nblack
0.5.0 (2020-04-23)
\n\n
\n- Remove explicit loop arguments and forbid creating queues outside event loops #246
\n0.4.0 (2018-07-28)
\n\n
\n- \n
\nAdd
\npy.typed
macro #89- \n
\nDrop python 3.4 support and fix minimal version python3.5.3 #88
\n- \n
\nAdd property with that indicates if queue is closed #86
\n0.3.2 (2018-07-06)
\n\n
\n- Fixed python 3.7 support #97
\n0.3.1 (2018-01-30)
\n\n
\n\n- Fixed bug with join() in case tasks are added by sync_q.put() #75
\n
... (truncated)
\n7b72d85
Bump to 0.75389dec
add SyncQueue and AsyncQueue Protocols (#374)d54ae42
Bump docutils from 0.18 to 0.18.1 (#381)76ccc92
Bump black from 21.11b0 to 21.11b1 (#380)967c284
Bump black from 21.10b0 to 21.11b0 (#379)4d625a2
Bump bandit from 1.7.0 to 1.7.1 (#378)e21eec2
Bump coverage from 6.1.1 to 6.1.2 (#377)7ff20af
Bump isort from 5.10.0 to 5.10.1 (#376)67e3782
Switch from setup.py to declarative setup.cfg (#375)8a0c498
Bump isort from 5.9.3 to 5.10.0 (#373)Sourced from black's releases.
\n\n\n21.11b1
\nBlack
\n\n
\n- Bumped regex version minimum to 2021.4.4 to fix Pattern class usage (#2621)
\n21.11b0
\nBlack
\n\n
\n- Warn about Python 2 deprecation in more cases by improving Python 2 only syntax\ndetection (#2592)
\n- Add experimental PyPy support (#2559)
\n- Add partial support for the match statement. As it's experimental, it's only enabled\nwhen
\n--target-version py310
is explicitly specified (#2586)- Add support for parenthesized with (#2586)
\n- Declare support for Python 3.10 for running Black (#2562)
\nIntegrations
\n\n
\n- Fixed vim plugin with Python 3.10 by removing deprecated distutils import (#2610)
\n- The vim plugin now parses
\nskip_magic_trailing_comma
from pyproject.toml (#2613)21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatiblity (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's changelog.
\n\n\n21.11b1
\nBlack
\n\n
\n- Bumped regex version minimum to 2021.4.4 to fix Pattern class usage (#2621)
\n21.11b0
\nBlack
\n\n
\n- Warn about Python 2 deprecation in more cases by improving Python 2 only syntax\ndetection (#2592)
\n- Add experimental PyPy support (#2559)
\n- Add partial support for the match statement. As it's experimental, it's only enabled\nwhen
\n--target-version py310
is explicitly specified (#2586)- Add support for parenthesized with (#2586)
\n- Declare support for Python 3.10 for running Black (#2562)
\nIntegrations
\n\n
\n- Fixed vim plugin with Python 3.10 by removing deprecated distutils import (#2610)
\n- The vim plugin now parses
\nskip_magic_trailing_comma
from pyproject.toml (#2613)21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatibility (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
d010ff4
0.8.03e3830d
Tweak README713984e
Update README9570975
Use os.sep2b2500d
Add prefix, suffix, dir args to TemporaryDirectory8895eb4
Fix ospath.exists test8308355
Fix typo: aiofiles.ospath.existsb8cf8dd
Update Readme with os.makedirs and os.removedirsaea353e
Merge branch 'patch-2'761f06e
Fix READMESourced from black's releases.
\n\n\n21.11b0
\nBlack
\n\n
\n- Warn about Python 2 deprecation in more cases by improving Python 2 only syntax\ndetection (#2592)
\n- Add experimental PyPy support (#2559)
\n- Add partial support for the match statement. As it's experimental, it's only enabled\nwhen
\n--target-version py310
is explicitly specified (#2586)- Add support for parenthesized with (#2586)
\n- Declare support for Python 3.10 for running Black (#2562)
\nIntegrations
\n\n
\n- Fixed vim plugin with Python 3.10 by removing deprecated distutils import (#2610)
\n- The vim plugin now parses
\nskip_magic_trailing_comma
from pyproject.toml (#2613)21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatiblity (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's changelog.
\n\n\n21.11b0
\nBlack
\n\n
\n- Warn about Python 2 deprecation in more cases by improving Python 2 only syntax\ndetection (#2592)
\n- Add experimental PyPy support (#2559)
\n- Add partial support for the match statement. As it's experimental, it's only enabled\nwhen
\n--target-version py310
is explicitly specified (#2586)- Add support for parenthesized with (#2586)
\n- Declare support for Python 3.10 for running Black (#2562)
\nIntegrations
\n\n
\n- Fixed vim plugin with Python 3.10 by removing deprecated distutils import (#2610)
\n- The vim plugin now parses
\nskip_magic_trailing_comma
from pyproject.toml (#2613)21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatibility (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's releases.
\n\n\n21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatiblity (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's changelog.
\n\n\n21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatiblity (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
f2fe98e
0.16.04e1df31
Remove obsolete test, add make test6ec7647
feat: Add support for Python 3.10.42ff5d1
ci: Include Python 3.10 in the CI test run.be3b327
build: Include Python 3.10 in Tox test runs.1c283bd
refactor: test_async_fixtures_with_finalizer no longer trigger a DeprecationW...2751982
refactor: Replaced tests asserting that the event loop is properly closed.70989fd
refactor: Grouped test cases together that are related to the use of the asyn...b27abe8
refactor: Removed TestUnexistingLoop.remove_loop fixture, because it has no e...e3ec312
Adjusted Hypothesis integration test to use the same event loop initializatio...Sourced from pyyaml's changelog.
\n\n\n6.0 (2021-10-13)
\n\n
\n- yaml/pyyaml#327 -- Change README format to Markdown
\n- yaml/pyyaml#483 -- Add a test for YAML 1.1 types
\n- yaml/pyyaml#497 -- fix float resolver to ignore
\n.
and._
- yaml/pyyaml#550 -- drop Python 2.7
\n- yaml/pyyaml#553 -- Fix spelling of \u201chexadecimal\u201d
\n- yaml/pyyaml#556 -- fix representation of Enum subclasses
\n- yaml/pyyaml#557 -- fix libyaml extension compiler warnings
\n- yaml/pyyaml#560 -- fix ResourceWarning on leaked file descriptors
\n- yaml/pyyaml#561 -- always require
\nLoader
arg toyaml.load()
- yaml/pyyaml#564 -- remove remaining direct distutils usage
\n5.4.1 (2021-01-20)
\n\n
\n- yaml/pyyaml#480 -- Fix stub compat with older pyyaml versions that may unwittingly load it
\n5.4 (2021-01-19)
\n\n
\n- yaml/pyyaml#407 -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA
\n- yaml/pyyaml#472 -- Fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader
\n- yaml/pyyaml#441 -- Fix memory leak in implicit resolver setup
\n- yaml/pyyaml#392 -- Fix py2 copy support for timezone objects
\n- yaml/pyyaml#378 -- Fix compatibility with Jython
\n5.3.1 (2020-03-18)
\n\n
\n- yaml/pyyaml#386 -- Prevents arbitrary code execution during python/object/new constructor
\n5.3 (2020-01-06)
\n\n
\n- yaml/pyyaml#290 -- Use
\nis
instead of equality for comparing withNone
- yaml/pyyaml#270 -- Fix typos and stylistic nit
\n- yaml/pyyaml#309 -- Fix up small typo
\n- yaml/pyyaml#161 -- Fix handling of slots
\n- yaml/pyyaml#358 -- Allow calling add_multi_constructor with None
\n- yaml/pyyaml#285 -- Add use of safe_load() function in README
\n- yaml/pyyaml#351 -- Fix reader for Unicode code points over 0xFFFF
\n- yaml/pyyaml#360 -- Enable certain unicode tests when maxunicode not > 0xffff
\n- yaml/pyyaml#359 -- Use full_load in yaml-highlight example
\n- yaml/pyyaml#244 -- Document that PyYAML is implemented with Cython
\n- yaml/pyyaml#329 -- Fix for Python 3.10
\n- yaml/pyyaml#310 -- Increase size of index, line, and column fields
\n- yaml/pyyaml#260 -- Remove some unused imports
\n- yaml/pyyaml#163 -- Create timezone-aware datetimes when parsed as such
\n- yaml/pyyaml#363 -- Add tests for timezone
\n5.2 (2019-12-02)
\n\n
... (truncated)
\n8cdff2c
6.0 releasea4fb55e
Update Python 3.10 versions for Windows builde45b964
Add Python 3.10 to tox.ini4808fba
6.0b1 released5aba40
Omnibus CI/artifact build updatea6d384c
Various setup fixes8f3f979
No longer using appveyorc274365
The yaml.load{,_all} functions require Loader= now2f87ac4
Add a basic test file for yaml.load and yaml.dump7bd92df
Makefile tweaksSourced from black's releases.
\n\n\n21.9b0
\nPackaging
\n\n
\n- Fix missing modules in self-contained binaries (#2466)
\n- Fix missing toml extra used during installation (#2475)
\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been hardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a trailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set comprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10 (#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that scan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overridingdefault_language_version
(#2430)
Sourced from black's changelog.
\n\n\n21.9b0
\nPackaging
\n\n
\n- Fix missing modules in self-contained binaries (#2466)
\n- Fix missing toml extra used during installation (#2475)
\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been\nhardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a\ntrailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set\ncomprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10\n(#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that\nscan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overriding\ndefault_language_version
(#2430)
Sourced from pluggy's changelog.
\n\n\npluggy 1.0.0 (2021-08-25)
\nDeprecations and Removals
\n\n
\n- \n
\n\n
[#116](https://github.com/pytest-dev/pluggy/issues/116) <https://github.com/pytest-dev/pluggy/issues/116>
_: Remove deprecatedimplprefix
support.\nDecorate hook implementations using an instance of HookimplMarker instead.\nThe deprecation was announced in release0.7.0
.- \n
\n\n
[#120](https://github.com/pytest-dev/pluggy/issues/120) <https://github.com/pytest-dev/pluggy/issues/120>
_: Remove the deprecatedproc
argument tocall_historic
.\nUseresult_callback
instead, which has the same behavior.\nThe deprecation was announced in release0.7.0
.- \n
\n\n
[#265](https://github.com/pytest-dev/pluggy/issues/265) <https://github.com/pytest-dev/pluggy/issues/265>
_: Remove the_Result.result
property. Use_Result.get_result()
instead.\nNote that unlikeresult
,get_result()
raises the exception if the hook raised.\nThe deprecation was announced in release0.6.0
.- \n
\n\n
[#267](https://github.com/pytest-dev/pluggy/issues/267) <https://github.com/pytest-dev/pluggy/issues/267>
_: Remove official support for Python 3.4.- \n
\n\n
[#272](https://github.com/pytest-dev/pluggy/issues/272) <https://github.com/pytest-dev/pluggy/issues/272>
_: Dropped support for Python 2.\nContinue to use pluggy 0.13.x for Python 2 support.- \n
\n\n
[#308](https://github.com/pytest-dev/pluggy/issues/308) <https://github.com/pytest-dev/pluggy/issues/308>
_: Remove official support for Python 3.5.- \n
\n\n
[#313](https://github.com/pytest-dev/pluggy/issues/313) <https://github.com/pytest-dev/pluggy/issues/313>
_: The internalpluggy.callers
,pluggy.manager
andpluggy.hooks
are now explicitly marked private by a_
prefix (e.g.pluggy._callers
).\nOnly API exported by the top-levelpluggy
module is considered public.- \n
\n\n
[#59](https://github.com/pytest-dev/pluggy/issues/59) <https://github.com/pytest-dev/pluggy/issues/59>
_: Remove legacy__multicall__
recursive hook calling system.\nThe deprecation was announced in release0.5.0
.Features
\n\n
\n\n- \n
\n\n
[#282](https://github.com/pytest-dev/pluggy/issues/282) <https://github.com/pytest-dev/pluggy/issues/282>
_: When registering a hookimpl which is declared ashookwrapper=True
but whose\nfunction is not a generator function, aPluggyValidationError
exception is\nnow raised.Previously this problem would cause an error only later, when calling the hook.
\nIn the unlikely case that you have a hookwrapper that returns a generator
\n
... (truncated)
\n4259fdd
Fix CHANGELOG title manually906abca
Preparing release 1.0.056eb23c
Rename HOWTORELEASE to RELEASING to follow pytestfc6395c
Fix scripts/release.py to use main instead of mastere04816f
Merge pull request #324 from RonnyPfannschmidt/benchmarks1424ab0
add micro benchmarks for hook calling playing with a the number of callers, w...5e51864
Merge pull request #323 from RonnyPfannschmidt/switch-to-main05c3bbd
switch to main as primary branch6b344fb
Merge pull request #319 from RonnyPfannschmidt/pre-commit-update71f2d6b
introduce pyupgrade and update blackSourced from pytest-xdist's changelog.
\n\n\npytest-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\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
.This is very useful for test suites which are not CPU-bound.
\n- \n
\n\n
[#650](https://github.com/pytest-dev/pytest-xdist/issues/650) <https://github.com/pytest-dev/pytest-xdist/issues/650>
_: Added newpytest_handlecrashitem
hook to allow handling and rescheduling crashed items.Bug Fixes
\n\n
\n- \n
\n\n
[#421](https://github.com/pytest-dev/pytest-xdist/issues/421) <https://github.com/pytest-dev/pytest-xdist/issues/421>
_: Copy the parent process sys.path into local workers, to work around execnet's python -c adding the current directory to sys.path.- \n
\n\n
[#638](https://github.com/pytest-dev/pytest-xdist/issues/638) <https://github.com/pytest-dev/pytest-xdist/issues/638>
_: Fix issue caused by changing the branch name of the pytest repository.Trivial Changes
\n\n
\n- \n
\n\n
[#592](https://github.com/pytest-dev/pytest-xdist/issues/592) <https://github.com/pytest-dev/pytest-xdist/issues/592>
_: Replace master with controller where ever possible.- \n
\n\n
[#643](https://github.com/pytest-dev/pytest-xdist/issues/643) <https://github.com/pytest-dev/pytest-xdist/issues/643>
_: Use 'main' to refer to pytest default branch in tox env names.pytest-xdist 2.2.1 (2021-02-09)
\n\n
... (truncated)
\n4b487ed
Manually fix changelog titleecf4d3b
Release 2.4.087d8979
Merge pull request #704 from hugovk/add-3.10b4544c8
Merge pull request #706 from pytest-dev/pre-commit-ci-update-config66dc390
[pre-commit.ci] pre-commit autoupdatee0ce1b7
Add news file to add support for Python 3.10ed47f0e
Add support for Python 3.101c8178a
Merge pull request #703 from pytest-dev/pre-commit-ci-update-config9807064
[pre-commit.ci] pre-commit autoupdate766e67c
Use setproctitle if available to show state (#696)Sourced from black's releases.
\n\n\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been hardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a trailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set comprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10 (#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that scan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overridingdefault_language_version
(#2430)
Sourced from black's changelog.
\n\n\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been\nhardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a\ntrailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set\ncomprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10\n(#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that\nscan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overriding\ndefault_language_version
(#2430)
Sourced from black's releases.
\n\n\n21.7b0
\nBlack
\n\n
\n- Configuration files using TOML features higher than spec v0.5.0 are now supported\n(#2301)
\n- Add primer support and test for code piped into black via STDIN (#2315)
\n- Fix internal error when
\nFORCE_OPTIONAL_PARENTHESES
feature is enabled (#2332)- Accept empty stdin (#2346)
\n- Provide a more useful error when parsing fails during AST safety checks (#2304)
\nDocker
\n\n
\n- Add new
\nlatest_release
tag automation to follow latest black release on docker\nimages (#2374)Integrations
\n\n
\n- The vim plugin now searches upwards from the directory containing the current buffer\ninstead of the current working directory for pyproject.toml. (#1871)
\n- The vim plugin now reads the correct string normalization option in pyproject.toml\n(#1869)
\n- The vim plugin no longer crashes Black when there's boolean values in pyproject.toml\n(#1869)
\n
Sourced from black's changelog.
\n\n\n21.7b0
\nBlack
\n\n
\n- Configuration files using TOML features higher than spec v0.5.0 are now supported\n(#2301)
\n- Add primer support and test for code piped into black via STDIN (#2315)
\n- Fix internal error when
\nFORCE_OPTIONAL_PARENTHESES
feature is enabled (#2332)- Accept empty stdin (#2346)
\n- Provide a more useful error when parsing fails during AST safety checks (#2304)
\nDocker
\n\n
\n- Add new
\nlatest_release
tag automation to follow latest black release on docker\nimages (#2374)Integrations
\n\n
\n- The vim plugin now searches upwards from the directory containing the current buffer\ninstead of the current working directory for pyproject.toml. (#1871)
\n- The vim plugin now reads the correct string normalization option in pyproject.toml\n(#1869)
\n- The vim plugin no longer crashes Black when there's boolean values in pyproject.toml\n(#1869)
\n
8fc5bf9
Bump version to 0.9.0913e21d
Bump types-cryptography from 3.3.3 to 3.3.5 (#342)c66709d
Bump types-pyopenssl from 20.0.4 to 20.0.5 (#343)5131f79
Add type annotations (#341)a411dad
Bump charset-normalizer from 2.0.3 to 2.0.4 (#340)be5ec8a
Bump sphinx from 4.1.1 to 4.1.2d3b8865
Bump charset-normalizer from 2.0.2 to 2.0.34503bef
Merge pull request #334 from python-trio/dependabot/pip/charset-normalizer-2.0.2ce8099d
Merge pull request #335 from python-trio/dependabot/pip/sphinx-4.1.18b6d3c6
Merge pull request #336 from python-trio/dependabot/pip/idna-3.2