Fix: setting COVERAGE_CORE=sysmon no longer errors on 3.11 and lower,
thanks Hugo van Kemenade <pull 1747_>_. It now issues a warning that
sys.monitoring is not available and falls back to the default core instead.
This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.
4.3.0
Added support for the Python 3.12 walk_up keyword argument in
anyio.Path.relative_to() (PR by Colin Taylor)
Fixed passing total_tokens to anyio.CapacityLimiter() as a keyword argument
not working on the trio backend
([#515](https://github.com/agronholm/anyio/issues/515) <https://github.com/agronholm/anyio/issues/515>_)
Fixed Process.aclose() not performing the minimum level of necessary cleanup when
cancelled. Previously:
Cancellation of Process.aclose() could leak an orphan process
Cancellation of run_process() could very briefly leak an orphan process.
Cancellation of Process.aclose() or run_process() on Trio could leave
standard streams unclosed
(PR by Ganden Schaffner)
Fixed Process.stdin.aclose(), Process.stdout.aclose(), and
Process.stderr.aclose() not including a checkpoint on asyncio (PR by Ganden
Schaffner)
Fixed documentation on how to provide your own typed attributes
4.2.0
Add support for byte-based paths in connect_unix, create_unix_listeners,
create_unix_datagram_socket, and create_connected_unix_datagram_socket. (PR by
Lura Skye)
Enabled the Event and CapacityLimiter classes to be instantiated outside an
event loop thread
Broadly improved/fixed the type annotations. Among other things, many functions and
methods that take variadic positional arguments now make use of PEP 646
TypeVarTuple to allow the positional arguments to be validated by static type
checkers. These changes affected numerous methods and functions, including:
* Limit the number of name constraint checks that will be performed in
:mod:`X.509 path validation <cryptography.x509.verification>` to protect
against denial of service attacks.
* Upgrade ``pyo3`` version, which fixes building on PowerPC.
Add support for PEP 728, supporting the closed keyword argument and the
special __extra_items__ key for TypedDict. Patch by Zixuan James Li.
Add support for PEP 742, adding typing_extensions.TypeIs. Patch
by Jelle Zijlstra.
Drop runtime error when a read-only TypedDict item overrides a mutable
one. Type checkers should still flag this as an error. Patch by Jelle
Zijlstra.
Speedup issubclass() checks against simple runtime-checkable protocols by
around 6% (backporting python/cpython#112717, by Alex
Waygood).
Fix a regression in the implementation of protocols where typing.Protocol
classes that were not marked as @runtime_checkable would be unnecessarily
introspected, potentially causing exceptions to be raised if the protocol had
problematic members. Patch by Alex Waygood, backporting
python/cpython#113401.
This feature release adds support for PEP 728 (TypedDict with extra
items) and PEP 742 (TypeIs).
There are no changes since 4.10.0rc1.
Release 4.10.0rc1 (February 17, 2024)
Add support for PEP 728, supporting the closed keyword argument and the
special __extra_items__ key for TypedDict. Patch by Zixuan James Li.
Add support for PEP 742, adding typing_extensions.TypeIs. Patch
by Jelle Zijlstra.
Drop runtime error when a read-only TypedDict item overrides a mutable
one. Type checkers should still flag this as an error. Patch by Jelle
Zijlstra.
Speedup issubclass() checks against simple runtime-checkable protocols by
around 6% (backporting python/cpython#112717, by Alex
Waygood).
Fix a regression in the implementation of protocols where typing.Protocol
classes that were not marked as @runtime_checkable would be unnecessarily
introspected, potentially causing exceptions to be raised if the protocol had
problematic members. Patch by Alex Waygood, backporting
python/cpython#113401.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python-packages group with 8 updates:
7.4.1
7.4.3
4.2.0
4.3.0
42.0.4
42.0.5
1.0.3
1.0.4
0.26.0
0.27.0
1.6.5
1.7.0
1.3.0
1.3.1
4.9.0
4.10.0
Updates
coverage
from 7.4.1 to 7.4.3Changelog
Sourced from coverage's changelog.
Commits
1af3624
docs: sample HTML for 7.4.3f06c5e4
docs: prep for 7.4.308fc997
fix: get atomic copies of iterables when flushing data. #17334e34571
build: put a time limit on the Python nightly testsa1d8d29
build: make targets should use underscores not dashesf7d40a0
build: tweak the release instructions0f19b82
build: bump version5d69334
test: if a test fails randomly, let it retry with@flaky
65d686c
docs: sample HTML for 7.4.2026dca7
docs: prep for 7.4.2Updates
anyio
from 4.2.0 to 4.3.0Release notes
Sourced from anyio's releases.
Changelog
Sourced from anyio's changelog.
... (truncated)
Commits
437a7e3
Bumped up the version1ce32e5
Updated the upload/download artifact actionsd39c837
[pre-commit.ci] pre-commit autoupdate (#690)ba48ea8
Added the network marker to some tests that need DNS (#687)5426f7b
Remove conditionals and workarounds for Python interpreter versions 3.7 and o...7565f31
[pre-commit.ci] pre-commit autoupdate (#684)137de70
Fixed documentation on providing custom typed attributes (#683)8b8806c
Fixed typo (#681)1e60219
Fixedrun_process()
andopen_process().__aexit__
leaking an orphan proces...3f14df8
[pre-commit.ci] pre-commit autoupdate (#676)Updates
cryptography
from 42.0.4 to 42.0.5Changelog
Sourced from cryptography's changelog.
Commits
33833f0
Release 42.0.5 (#10470)4be53bf
Added a budget for NC checks to protect against DoS (#10467) (#10468)8e9de30
Bump pyo3 from 0.20.2 to 0.20.3 in /src/rust (#10462) (#10465)Updates
httpcore
from 1.0.3 to 1.0.4Release notes
Sourced from httpcore's releases.
Changelog
Sourced from httpcore's changelog.
Commits
14bda52
Version 1.0.4 (#892)80d21ee
Addtarget
request extension (#888)accae7b
Fix support for connection Upgrade and CONNECT when some data in the stream h...c468024
Bump the python-packages group with 4 updates (#890)c02733d
Group dependencies on dependabot updates (#885)Updates
httpx
from 0.26.0 to 0.27.0Release notes
Sourced from httpx's releases.
Changelog
Sourced from httpx's changelog.
Commits
326b943
Version 0.27.0 (#3095)3faa4a8
Improve 'Custom transports' docs (#3081)c51af4b
Extensions docs (#3080)cabd1c0
Deprecateapp=...
in favor of explicitWSGITransport
/ASGITransport
. (#3...6f46152
Bump the python-packages group with 6 updates (#3077)37a2901
Mention NO_PROXY environment variable on Advanced Usage page (#3066)371b6e9
Use__future__.annotations
(#3068)4f6edf3
testparse_header_links
via public api (#3061)c7cd6aa
testobfuscate_sensitive_headers
via public api (#3063)15f9253
Drop outdated section (#3057)Updates
shtab
from 1.6.5 to 1.7.0Release notes
Sourced from shtab's releases.
Commits
3b3ed28
tests: bump pre-commit9ec76e7
CI: use external comment-bot1767b28
explicitly specify build-backend (#162)50bacc4
CI: bump actions (#160)c330327
[pre-commit.ci] pre-commit autoupdatee69727c
Merge pull request #159 from bjoernricks/zsh-eval-support6b3c4f3
[pre-commit.ci] auto fixes from pre-commit.com hooks75232a6
minor lint004f89b
Update tests for eval support with zshc2a6f38
zsh: allow to eval zsh completionUpdates
sniffio
from 1.3.0 to 1.3.1Commits
ae020e1
Release 1.3.18cdc281
Added project URLs4ca5c78
Fixed package discovery1f79ef5
Updated CI script to not require setup.py382635a
Migrated packaging metadata to pyproject.toml3f59db7
Added missingthread_local
item tosniffio.__all__
a6291da
Merge pull request #47 from python-trio/fix-readthedocs-configa88d42d
Upgraded the ReadTheDocs configuration to the latest formatef41e63
Merge pull request #42 from hugovk/add-3.12d44c25b
Test 3.12 on macOSUpdates
typing-extensions
from 4.9.0 to 4.10.0Release notes
Sourced from typing-extensions's releases.
Changelog
Sourced from typing-extensions's changelog.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show