Sourced from black's releases.
\n\n\n21.5b0
\nBlack
\n\n
\n- Set
\n--pyi
mode if--stdin-filename
ends in.pyi
(#2169)- Stop detecting target version as Python 3.9+ with pre-PEP-614 decorators that are\nbeing called but with no arguments (#2182)
\nBlack-Primer
\n\n
\n- Add
\n--no-diff
to black-primer to suppress formatting changes (#2187)
Sourced from black's changelog.
\n\n\n21.5b0
\nBlack
\n\n
\n- Set
\n--pyi
mode if--stdin-filename
ends in.pyi
(#2169)- Stop detecting target version as Python 3.9+ with pre-PEP-614 decorators that are\nbeing called but with no arguments (#2182)
\nBlack-Primer
\n\n
\n- Add
\n--no-diff
to black-primer to suppress formatting changes (#2187)
Sourced from black's releases.
\n\n\n21.5b1
\nBlack
\n\n
\n- Refactor
\nsrc/black/__init__.py
into many files (#2206)Documentation
\n\n
\n- Replaced all remaining references to the
\nmaster
branch with themain
branch. Some additional changes in the source code were also made. (#2210)- Sigificantly reorganized the documentation to make much more sense. Check them out by heading over to the stable docs on RTD. (#2174)
\n21.5b0
\nBlack
\n\n
\n- Set
\n--pyi
mode if--stdin-filename
ends in.pyi
(#2169)- Stop detecting target version as Python 3.9+ with pre-PEP-614 decorators that are\nbeing called but with no arguments (#2182)
\nBlack-Primer
\n\n
\n- Add
\n--no-diff
to black-primer to suppress formatting changes (#2187)
Sourced from black's changelog.
\n\n\n21.5b1
\nBlack
\n\n
\n- Refactor
\nsrc/black/__init__.py
into many files (#2206)Documentation
\n\n
\n- Replaced all remaining references to the\n
\nmaster
branch with the\nmain
branch. Some additional changes in\nthe source code were also made. (#2210)- Sigificantly reorganized the documentation to make much more sense. Check them out by\nheading over to the stable docs on RTD.\n(#2174)
\n21.5b0
\nBlack
\n\n
\n- Set
\n--pyi
mode if--stdin-filename
ends in.pyi
(#2169)- Stop detecting target version as Python 3.9+ with pre-PEP-614 decorators that are\nbeing called but with no arguments (#2182)
\nBlack-Primer
\n\n
\n- Add
\n--no-diff
to black-primer to suppress formatting changes (#2187)
Sourced from click's releases.
\n\n\n8.0.0
\nNew major versions of all the core Pallets libraries, including Click 8.0, have been released! :tada:
\n\n
\n- Read the announcement on our blog: https://palletsprojects.com/blog/flask-2-0-released/
\n- Read the full list of changes: https://click.palletsprojects.com/changes/#version-8-0-0
\n- Retweet the announcement on Twitter: https://twitter.com/PalletsTeam/status/1392266507296514048
\n- Follow our blog, Twitter, or GitHub to see future announcements.
\nThis represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.
\n
Sourced from click's changelog.
\n\n\nVersion 8.0.0
\nReleased 2021-05-11
\n\n
\n\n- Drop support for Python 2 and 3.5.
\n- Colorama is always installed on Windows in order to provide style\nand color support. :pr:
\n1784
- Adds a repr to Command, showing the command name for friendlier\ndebugging. :issue:
\n1267
, :pr:1295
- Add support for distinguishing the source of a command line\nparameter. :issue:
\n1264
, :pr:1329
- Add an optional parameter to
\nProgressBar.update
to set the\ncurrent_item
. :issue:1226
, :pr:1332
- \n
version_option
usesimportlib.metadata
(or the\nimportlib_metadata
backport) instead ofpkg_resources
.\n:issue:1582
- If validation fails for a prompt with
\nhide_input=True
, the value\nis not shown in the error message. :issue:1460
- An
\nIntRange
orFloatRange
option shows the accepted range in\nits help text. :issue:1525
, :pr:1303
- \n
IntRange
andFloatRange
bounds can be open (<
) instead\nof closed (<=
) by settingmin_open
andmax_open
. Error\nmessages have changed to reflect this. :issue:1100
- An option defined with duplicate flag names (
\n"--foo/--foo"
)\nraises aValueError
. :issue:1465
- \n
echo()
will not fail when using pytest'scapsys
fixture on\nWindows. :issue:1590
- Resolving commands returns the canonical command name instead of the\nmatched name. This makes behavior such as help text and\n
\nContext.invoked_subcommand
consistent when using patterns like\nAliasedGroup
. :issue:1422
- The
\nBOOL
type accepts the values "on" and "off". :issue:1629
- A
\nGroup
withinvoke_without_command=True
will always invoke\nits result callback. :issue:1178
- \n
nargs == -1
andnargs > 1
is parsed and validated for\nvalues from environment variables and defaults. :issue:729
- Detect the program name when executing a module or package with\n
\npython -m name
. :issue:1603
- Include required parent arguments in help synopsis of subcommands.\n:issue:
\n1475
- Help for boolean flags with
\nshow_default=True
shows the flag\nname instead ofTrue
orFalse
. :issue:1538
- Non-string objects passed to
\nstyle()
andsecho()
will be\nconverted to string. :pr:1146
- \n
edit(require_save=True)
will detect saves for editors that exit\nvery fast on filesystems with 1 second resolution. :pr:1050
- New class attributes make it easier to use custom core objects\nthroughout an entire application. :pr:
\n938
... (truncated)
\n9da1669
Merge pull request #1877 from pallets/release-8.0.0dfa6369
release version 8.0.0b862cb1
update requirementsf51584c
Merge pull request #1876 from pallets/pre-commit-ci-schedule804c71c
update pre-commit monthlyac655f8
Merge pull request #1872 from janLuke/fix/formatter_write_textdcd991d
HelpFormatter.write_text uses full width5215fc1
Merge pull request #1870 from AdrienPensart/allow_colors_in_metavare3e1691
repr is erasing ANSI escapes codes482e6e6
Merge pull request #1875 from pallets/pre-commit-ci-update-configSourced from jinja2's releases.
\n\n\n3.0.0
\nNew major versions of all the core Pallets libraries, including Jinja 3.0, have been released! :tada:
\n\n
\n- Read the announcement on our blog: https://palletsprojects.com/blog/flask-2-0-released/
\n- Read the full list of changes: https://jinja.palletsprojects.com/changes/#version-3-0-0
\n- Retweet the announcement on Twitter: https://twitter.com/PalletsTeam/status/1392266507296514048
\n- Follow our blog, Twitter, or GitHub to see future announcements.
\nThis represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.
\n
Sourced from jinja2's changelog.
\n\n\nVersion 3.0.0
\nReleased 2021-05-11
\n\n
\n\n- Drop support for Python 2.7 and 3.5.
\n- Bump MarkupSafe dependency to >=1.1.
\n- Bump Babel optional dependency to >=2.1.
\n- Remove code that was marked deprecated.
\n- Add type hinting. :pr:
\n1412
- Use :pep:
\n451
API to load templates with\n:class:~loaders.PackageLoader
. :issue:1168
- Fix a bug that caused imported macros to not have access to the\ncurrent template's globals. :issue:
\n688
- Add ability to ignore
\ntrim_blocks
using+%}
. :issue:1036
- Fix a bug that caused custom async-only filters to fail with\nconstant input. :issue:
\n1279
- Fix UndefinedError incorrectly being thrown on an undefined variable\ninstead of
\nUndefined
being returned on\nNativeEnvironment
on Python 3.10. :issue:1335
- Blocks can be marked as
\nrequired
. They must be overridden at\nsome point, but not necessarily by the direct child. :issue:1147
- Deprecate the
\nautoescape
andwith
extensions, they are\nbuilt-in to the compiler. :issue:1203
- The
\nurlize
filter recognizesmailto:
links and takes\nextra_schemes
(orenv.policies["urlize.extra_schemes"]
) to\nrecognize other schemes. It tries to balance parentheses within a\nURL instead of ignoring trailing characters. The parsing in general\nhas been updated to be more efficient and match more cases. URLs\nwithout a scheme are linked ashttps://
instead ofhttp://
.\n:issue:522, 827, 1172
, :pr:1195
- Filters that get attributes, such as
\nmap
andgroupby
, can\nuse a false or empty value as a default. :issue:1331
- Fix a bug that prevented variables set in blocks or loops from\nbeing accessed in custom context functions. :issue:
\n768
- Fix a bug that caused scoped blocks from accessing special loop\nvariables. :issue:
\n1088
- Update the template globals when calling\n
\nEnvironment.get_template(globals=...)
even if the template was\nalready loaded. :issue:295
- Do not raise an error for undefined filters in unexecuted\nif-statements and conditional expressions. :issue:
\n842
- Add
\nis filter
andis test
tests to test if a name is a\nregistered filter or test. This allows checking if a filter is\navailable in a template before using it. Test functions can be\ndecorated with@pass_environment
,@pass_eval_context
,\nor@pass_context
. :issue:842
, :pr:1248
- Support
\npgettext
andnpgettext
(message contexts) in i18n\nextension. :issue:441
- The
\n|indent
filter'swidth
argument can be a string to
... (truncated)
\n417f822
Merge pull request #1417 from pallets/release-3.0.0b15fd1c
release version 3.0.0eed1546
update requirements9627e73
Merge pull request #1416 from pallets/pre-commit-ci-schedule6630044
update pre-commit monthlye1bf3bc
Merge pull request #1415 from pallets/pre-commit-ci-update-config0798a66
[pre-commit.ci] pre-commit autoupdate53fea33
Merge pull request #1414 from pallets/typing-markerba1f27e
fix py.typed in manifest1a3342b
Merge pull request #1412 from pallets/typingSourced from itsdangerous's releases.
\n\n\n2.0.0
\nNew major versions of all the core Pallets libraries, including ItsDangerous 2.0, have been released! :tada:
\n\n
\n- Read the announcement on our blog: https://palletsprojects.com/blog/flask-2-0-released/
\n- Read the full list of changes: https://itsdangerous.palletsprojects.com/changes/#version-2-0-0
\n- Retweet the announcement on Twitter: https://twitter.com/PalletsTeam/status/1392266507296514048
\n- Follow our blog, Twitter, or GitHub to see future announcements.
\nThis represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.
\n
Sourced from itsdangerous's changelog.
\n\n\nVersion 2.0.0
\nReleased 2021-05-11
\n\n
\n- Drop support for Python 2 and 3.5.
\n- JWS support (
\nJSONWebSignatureSerializer
,\nTimedJSONWebSignatureSerializer
) is deprecated. Use a dedicated\nJWS/JWT library such as authlib instead. :issue:129
- Importing
\nitsdangerous.json
is deprecated. Import Python's\njson
module instead. :pr:152
- Simplejson is no longer used if it is installed. To use a different\nlibrary, pass it as
\nSerializer(serializer=...)
. :issue:146
- \n
datetime
values are timezone-aware withtimezone.utc
. Code\nusingTimestampSigner.unsign(return_timestamp=True)
or\nBadTimeSignature.date_signed
may need to change. :issue:150
- If a signature has an age less than 0, it will raise\n
\nSignatureExpired
rather than appearing valid. This can happen if\nthe timestamp offset is changed. :issue:126
- \n
BadTimeSignature.date_signed
is always adatetime
object\nrather than anint
in some cases. :issue:124
- Added support for key rotation. A list of keys can be passed as\n
\nsecret_key
, oldest to newest. The newest key is used for\nsigning, all keys are tried for unsigning. :pr:141
- Removed the default SHA-512 fallback signer from\n
\ndefault_fallback_signers
. :issue:155
- Add type information for static typing tools. :pr:
\n186
Version 1.1.0
\nReleased 2018-10-26
\n\n
\n- Change default signing algorithm back to SHA-1. :pr:
\n113
- Added a default SHA-512 fallback for users who used the yanked 1.0.0\nrelease which defaulted to SHA-512. :pr:
\n114
- Add support for fallback algorithms during deserialization to\nsupport changing the default in the future without breaking existing\nsignatures. :pr:
\n113
- Changed capitalization of packages back to lowercase as the change\nin capitalization broke some tooling. :pr:
\n113
Version 1.0.0
\nReleased 2018-10-18
\nYANKED
\n\n
... (truncated)
\nd101100
Merge pull request #235 from pallets/release-2.0.0ca0f59a
release version 2.0.0d1ed89f
update requirementsd1722ea
Merge pull request #234 from pallets/pre-commit-ci-scheduled1eb7aa
update pre-commit monthlyacbc456
Merge pull request #233 from pallets/pre-commit-ci-update-config04e485a
[pre-commit.ci] pre-commit autoupdatec0e6b48
Merge pull request #232 from pallets/pre-commit-ci-update-config6a9df83
[pre-commit.ci] pre-commit autoupdate477f42c
Merge pull request #231 from pallets/dependabot/pip/pre-commit-2.12.1Sourced from black's releases.
\n\n\n21.5b2
\nBlack
\n\n
\n- A space is no longer inserted into empty docstrings (#2249)
\n- Fix handling of .gitignore files containing non-ASCII characters on Windows (#2229)
\n- Respect
\n.gitignore
files in all levels, not onlyroot/.gitignore
file (apply\n.gitignore
rules likegit
does) (#2225)- Restored compatibility with Click 8.0 on Python 3.6 when LANG=C used (#2227)
\n- Add extra uvloop install + import support if in python env (#2258)
\n- Fix --experimental-string-processing crash when matching parens are not found (#2283)
\n- Make sure to split lines that start with a string operator (#2286)
\n- Fix regular expression that black uses to identify f-expressions (#2287)
\nBlackd
\n\n
\n- Add a lower bound for the
\naiohttp-cors
dependency. Only 0.4.0 or higher is\nsupported. (#2231)Packaging
\n\n
\n- Release self-contained x86_64 MacOS binaries as part of the GitHub release pipeline\n(#2198)
\n- Always build binaries with the latest available Python (#2260)
\nDocumentation
\n\n
\n- Add discussion of magic comments to FAQ page (#2272)
\n- \n
--experimental-string-processing
will be enabled by default in the future (#2273)- Fix typos discovered by codespell (#2228)
\n- Fix Vim plugin installation instructions. (#2235)
\n- Add new Frequently Asked Questions page (#2247)
\n- Fix encoding + symlink issues preventing proper build on Windows (#2262)
\n
Sourced from black's changelog.
\n\n\n21.5b2
\nBlack
\n\n
\n- A space is no longer inserted into empty docstrings (#2249)
\n- Fix handling of .gitignore files containing non-ASCII characters on Windows (#2229)
\n- Respect
\n.gitignore
files in all levels, not onlyroot/.gitignore
file (apply\n.gitignore
rules likegit
does) (#2225)- Restored compatibility with Click 8.0 on Python 3.6 when LANG=C used (#2227)
\n- Add extra uvloop install + import support if in python env (#2258)
\n- Fix --experimental-string-processing crash when matching parens are not found (#2283)
\n- Make sure to split lines that start with a string operator (#2286)
\n- Fix regular expression that black uses to identify f-expressions (#2287)
\nBlackd
\n\n
\n- Add a lower bound for the
\naiohttp-cors
dependency. Only 0.4.0 or higher is\nsupported. (#2231)Integrations
\n\n
\n- The official Black action now supports choosing what version to use, and supports the\nmajor 3 OSes. (#1940)
\nPackaging
\n\n
\n- Release self-contained x86_64 MacOS binaries as part of the GitHub release pipeline\n(#2198)
\n- Always build binaries with the latest available Python (#2260)
\nDocumentation
\n\n
\n- Add discussion of magic comments to FAQ page (#2272)
\n- \n
--experimental-string-processing
will be enabled by default in the future (#2273)- Fix typos discovered by codespell (#2228)
\n- Fix Vim plugin installation instructions. (#2235)
\n- Add new Frequently Asked Questions page (#2247)
\n- Fix encoding + symlink issues preventing proper build on Windows (#2262)
\n
f9e13e0
Release 0.8.04ae4435
Merge pull request #304 from python-trio/dependabot/add-v2-config-file8767902
Merge pull request #327 from graingert/test-on-py3106abfddd
Merge branch 'master' of github.com:python-trio/trustme into test-on-py31051d3bdf
Merge pull request #328 from tiran/correct_ku_eku034fb3a
retry codecov more53e121d
try codecov harderc1e7923
require codecov in cie3ac2d6
Update tests/test_trustme.py496dca6
close the wrapped sockets to prevent Unraisable ResourceWarningsSourced from black's releases.
\n\n\n21.6b0
\nBlack
\n\n
\n- Fix failure caused by
\nfmt: skip
and indentation (#2281)- Account for += assignment when deciding whether to split string (#2312)
\n- Correct max string length calculation when there are string operators (#2292)
\n- Fixed option usage when using the
\n--code
flag (#2259)- Do not call
\nuvloop.install()
when Black is used as a library (#2303)- Added
\n--required-version
option to require a specific version to be running (#2300)- Fix incorrect custom breakpoint indices when string group contains fake f-strings\n(#2311)
\n- Fix regression where
\nR
prefixes would be lowercased for docstrings (#2285)- Fix handling of named escapes (
\n\\N{...}
) when--experimental-string-processing
is\nused (#2319)
Sourced from black's changelog.
\n\n\n21.6b0
\nBlack
\n\n
\n- Fix failure caused by
\nfmt: skip
and indentation (#2281)- Account for += assignment when deciding whether to split string (#2312)
\n- Correct max string length calculation when there are string operators (#2292)
\n- Fixed option usage when using the
\n--code
flag (#2259)- Do not call
\nuvloop.install()
when Black is used as a library (#2303)- Added
\n--required-version
option to require a specific version to be running (#2300)- Fix incorrect custom breakpoint indices when string group contains fake f-strings\n(#2311)
\n- Fix regression where
\nR
prefixes would be lowercased for docstrings (#2285)- Fix handling of named escapes (
\n\\N{...}
) when--experimental-string-processing
is\nused (#2319)
Sourced from pytest-xdist's changelog.
\n\n\npytest-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)
\nBug Fixes
\n\n
\n- \n
[#623](https://github.com/pytest-dev/pytest-xdist/issues/623) <https://github.com/pytest-dev/pytest-xdist/issues/623>
_: Gracefully handle the pending deprecation of Node.fspath by using config.rootpath for topdir.pytest-xdist 2.2.0 (2020-12-14)
\nFeatures
\n\n
... (truncated)
\nfe57b39
fixup: add release title underline for 2.3.026e7d95
prepare release 2.3.0b02a6db
Merge pull request #667 from graingert/fix-sys-pathb072267
add newsfile881cc48
Merge pull request #672 from pytest-dev/pre-commit-ci-update-config958679e
[pre-commit.ci] pre-commit autoupdate7f07d50
Merge pull request #646 from kroeschl/numprocesses-logicalfb518de
Merge pull request #669 from pytest-dev/pre-commit-ci-update-config0b14d92
[pre-commit.ci] pre-commit autoupdate02f971d
swap docstringSourced from asgiref's changelog.
\n\n\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
\n- The sync conversion functions now correctly detect functools.partial and other\nwrappers around async functions on earlier Python releases.
\n3.3.2 (2021-04-05)
\n\n
\n\n- \n
\nSyncToAsync now takes an optional "executor" argument if you want to supply\nyour own executor rather than using the built-in one.
\n- \n
\nasync_to_sync and sync_to_async now check their arguments are functions of\nthe correct type.
\n- \n
\nRaising CancelledError inside a SyncToAsync function no longer stops a future\ncall from functioning.
\n- \n
\nThreadSensitive now provides context hooks/override options so it can be\nmade to be sensitive in a unit smaller than threads (e.g. per request)
\n
... (truncated)
\nSourced 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.2Sourced 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 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.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 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 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 tweaksf2fe98e
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 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
Sourced 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.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
Sourced 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)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.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 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 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)8e4800e
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 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 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'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 filesSourced from jinja2's releases.
\n\n\n3.1.0
\nThis is a feature release, which includes new features and removes previously deprecated features. The 3.1.x branch is now the supported bugfix branch, the 3.0.x branch has 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. We also encourage upgrading to MarkupSafe 2.1.1, the latest version at this time.
\n\n
\n- Changes: https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-0
\n- Milestone: https://github.com/pallets/jinja/milestone/8?closed=1
\n- MarkupSafe changes: https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-1
\n
Sourced from jinja2's changelog.
\n\n\nVersion 3.1.0
\nReleased 2022-03-24
\n\n
\n- \n
\nDrop support for Python 3.6. :pr:
\n1534
- \n
\nRemove previously deprecated code. :pr:
\n1544
\n
\n- \n
WithExtension
andAutoEscapeExtension
are built-in now.- \n
contextfilter
andcontextfunction
are replaced by\npass_context
.evalcontextfilter
and\nevalcontextfunction
are replaced bypass_eval_context
.\nenvironmentfilter
andenvironmentfunction
are replaced\nbypass_environment
.- \n
Markup
andescape
should be imported from MarkupSafe.- Compiled templates from very old Jinja versions may need to be\nrecompiled.
\n- Legacy resolve mode for
\nContext
subclasses is no longer\nsupported. Overrideresolve_or_missing
instead of\nresolve
.- \n
unicode_urlencode
is renamed tourl_quote
.- \n
\nAdd support for native types in macros. :issue:
\n1510
- \n
\nThe
\n{% trans %}
tag can usepgettext
andnpgettext
by\npassing a context string as the first token in the tag, like\n{% trans "title" %}
. :issue:1430
- \n
\nUpdate valid identifier characters from Python 3.6 to 3.7.\n:pr:
\n1571
- \n
\nFilters and tests decorated with
\n@async_variant
are pickleable.\n:pr:1612
- \n
\nAdd
\nitems
filter. :issue:1561
- \n
\nSubscriptions (
\n[0]
, etc.) can be used after filters, tests, and\ncalls when the environment is in async mode. :issue:1573
- \n
\nThe
\ngroupby
filter is case-insensitive by default, matching\nother comparison filters. Added thecase_sensitive
parameter to\ncontrol this. :issue:1463
- \n
\nWindows drive-relative path segments in template names will not\nresult in
\nFileSystemLoader
andPackageLoader
loading from\ndrive-relative paths. :pr:1621
Version 3.0.3
\nReleased 2021-11-09
\n\n
\n\n- Fix traceback rewriting internals for Python 3.10 and 3.11.\n:issue:
\n1535
- Fix how the native environment treats leading and trailing spaces\nwhen parsing values on Python 3.10. :pr:
\n1537
... (truncated)
\n84c0e2c
Merge pull request #1625 from pallets/release-3.1.07b0c47f
release version 3.1.0ede0f98
Merge pull request #1621 from pallets/template-safe-path040088a
use posixpath.join
when loading template namesa292075
Merge pull request #1620 from janfilips/patch-16e4df02
Fix formatting in tricks.rst3a050b1
Merge pull request #1617 from pallets/docs-prose4b63cd8
rewrite include statement sectiona98d482
clean up faq, move technical discussions9de99f8
clean up engine comparisonsSourced from black's releases.
\n\n\n22.3.0
\nPreview style
\n\n
\n- Code cell separators
\n#%%
are now standardised to# %%
(#2919)- Remove unnecessary parentheses from
\nexcept
statements (#2939)- Remove unnecessary parentheses from tuple unpacking in
\nfor
loops (#2945)- Avoid magic-trailing-comma in single-element subscripts (#2942)
\nConfiguration
\n\n
\n- Do not format
\n__pypackages__
directories by default (#2836)- Add support for specifying stable version with
\n--required-version
(#2832).- Avoid crashing when the user has no homedir (#2814)
\n- Avoid crashing when md5 is not available (#2905)
\n- Fix handling of directory junctions on Windows (#2904)
\nDocumentation
\n\n
\n- Update pylint config documentation (#2931)
\nIntegrations
\n\n
\n- Move test to disable plugin in Vim/Neovim, which speeds up loading (#2896)
\nOutput
\n\n
\n- In verbose, mode, log when Black is using user-level config (#2861)
\nPackaging
\n\n
\n- Fix Black to work with Click 8.1.0 (#2966)
\n- On Python 3.11 and newer, use the standard library's
\ntomllib
instead oftomli
\n(#2903)- \n
black-primer
, the deprecated internal devtool, has been removed and copied to a\nseparate repository (#2924)Parser
\n\n
\n- Black can now parse starred expressions in the target of
\nfor
andasync for
\nstatements, e.gfor item in *items_1, *items_2: pass
(#2879).
Sourced from black's changelog.
\n\n\n22.3.0
\nPreview style
\n\n
\n- Code cell separators
\n#%%
are now standardised to# %%
(#2919)- Remove unnecessary parentheses from
\nexcept
statements (#2939)- Remove unnecessary parentheses from tuple unpacking in
\nfor
loops (#2945)- Avoid magic-trailing-comma in single-element subscripts (#2942)
\nConfiguration
\n\n
\n- Do not format
\n__pypackages__
directories by default (#2836)- Add support for specifying stable version with
\n--required-version
(#2832).- Avoid crashing when the user has no homedir (#2814)
\n- Avoid crashing when md5 is not available (#2905)
\n- Fix handling of directory junctions on Windows (#2904)
\nDocumentation
\n\n
\n- Update pylint config documentation (#2931)
\nIntegrations
\n\n
\n- Move test to disable plugin in Vim/Neovim, which speeds up loading (#2896)
\nOutput
\n\n
\n- In verbose, mode, log when Black is using user-level config (#2861)
\nPackaging
\n\n
\n- Fix Black to work with Click 8.1.0 (#2966)
\n- On Python 3.11 and newer, use the standard library's
\ntomllib
instead oftomli
\n(#2903)- \n
black-primer
, the deprecated internal devtool, has been removed and copied to a\nseparate repository (#2924)Parser
\n\n
\n- Black can now parse starred expressions in the target of
\nfor
andasync for
\nstatements, e.gfor item in *items_1, *items_2: pass
(#2879).
ae2c075
Prepare release 22.3.0 (#2968)e9681a4
Fix _unicodefun patch code for Click 8.1.0 (#2966)ac7402c
Bump sphinx from 4.4.0 to 4.5.0 in /docs (GH-2959)f239d22
Enforce no formatting changes for PRs via CI (GH-2951)bd1e980
Remove unnecessary parentheses from except
clauses (#2939)14d84ba
Resolve new flake8-bugbear errors (B020) (GH-2950)14e5ce5
Remove unnecessary parentheses from tuple unpacking in for
loops (#2945)3800ebd
Avoid magic-trailing-comma in single-element subscripts (#2942)062b549
Github now supports .git-blame-ignore-revs (GH-2948)5379d4f
stub style: remove some possible future changes (#2940)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 callback