fastapi-class
fastapi-class copied to clipboard
⬆ Bump the python-packages group across 1 directory with 13 updates
Bumps the python-packages group with 13 updates in the / directory:
Package | From | To |
---|---|---|
fastapi | 0.111.1 |
0.115.2 |
black | 24.4.2 |
24.10.0 |
mypy | 1.10.1 |
1.11.2 |
pre-commit | 3.7.1 |
4.0.1 |
pyupgrade | 3.16.0 |
3.18.0 |
ruff | 0.5.2 |
0.6.9 |
anyio | 4.4.0 |
4.6.2 |
idna | 3.7 |
3.10 |
pydantic | 2.8.2 |
2.9.2 |
pydantic-core | 2.20.1 |
2.24.1 |
starlette | 0.37.2 |
0.39.2 |
pytest | 8.2.2 |
8.3.3 |
pytest-asyncio | 0.23.7 |
0.24.0 |
Updates fastapi
from 0.111.1 to 0.115.2
Release notes
Sourced from fastapi's releases.
0.115.2
Upgrades
- ⬆️ Upgrade Starlette to
>=0.37.2,<0.41.0
. PR #12431 by@tiangolo
.0.115.1
Fixes
- 🐛 Fix openapi generation with responses kwarg. PR #10895 by
@flxdot
.- 🐛 Remove
Required
shadowing from fastapi using Pydantic v2. PR #12197 by@pachewise
.Refactors
- ♻️ Update type annotations for improved
python-multipart
. PR #12407 by@tiangolo
.Docs
- ✨ Add new tutorial for SQL databases with SQLModel. PR #12285 by
@tiangolo
.- 📝 Add External Link: How to profile a FastAPI asynchronous request. PR #12389 by
@brouberol
.- 🔧 Remove
base_path
formdx_include
Markdown extension in MkDocs. PR #12391 by@tiangolo
.- 📝 Update link to Swagger UI configuration docs. PR #12264 by
@makisukurisu
.- 📝 Adding links for Playwright and Vite in
docs/project-generation.md
. PR #12274 by@kayqueGovetri
.- 📝 Fix small typos in the documentation. PR #12213 by
@svlandeg
.Translations
- 🌐 Add Portuguese translation for
docs/pt/docs/tutorial/cookie-param-models.md
. PR #12298 by@ceb10n
.- 🌐 Add Portuguese translation for
docs/pt/docs/how-to/graphql.md
. PR #12215 by@AnandaCampelo
.- 🌐 Add Portuguese translation for
docs/pt/docs/advanced/security/oauth2-scopes.md
. PR #12263 by@ceb10n
.- 🌐 Add Portuguese translation for
docs/pt/docs/deployment/concepts.md
. PR #12219 by@marcelomarkus
.- 🌐 Add Portuguese translation for
docs/pt/docs/how-to/conditional-openapi.md
. PR #12221 by@marcelomarkus
.- 🌐 Add Portuguese translation for
docs/pt/docs/advanced/response-directly.md
. PR #12266 by@Joao-Pedro-P-Holanda
.- 🌐 Update Portuguese translation for
docs/pt/docs/tutorial/cookie-params.md
. PR #12297 by@ceb10n
.- 🌐 Fix Korean translation for
docs/ko/docs/tutorial/index.md
. PR #12278 by@kkotipy
.- 🌐 Update Portuguese translation for
docs/pt/docs/advanced/security/http-basic-auth.md
. PR #12275 by@andersonrocha0
.- 🌐 Add Portuguese translation for
docs/pt/docs/deployment/cloud.md
. PR #12217 by@marcelomarkus
.- ✏️ Fix typo in
docs/es/docs/python-types.md
. PR #12235 by@JavierSanchezCastro
.- 🌐 Add Dutch translation for
docs/nl/docs/environment-variables.md
. PR #12200 by@maxscheijen
.- 🌐 Add Portuguese translation for
docs/pt/docs/deployment/manually.md
. PR #12210 by@JoaoGustavoRogel
.- 🌐 Add Portuguese translation for
docs/pt/docs/deployment/server-workers.md
. PR #12220 by@marcelomarkus
.- 🌐 Add Portuguese translation for
docs/pt/docs/how-to/configure-swagger-ui.md
. PR #12222 by@marcelomarkus
.Internal
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #12396 by
@pre-commit-ci[bot]
.- 🔨 Add script to generate variants of files. PR #12405 by
@tiangolo
.- 🔧 Add speakeasy-api to
sponsors_badge.yml
. PR #12404 by@tiangolo
.- ➕ Add docs dependency: markdown-include-variants. PR #12399 by
@tiangolo
.- 📝 Fix extra mdx-base-path paths. PR #12397 by
@tiangolo
.- 👷 Tweak labeler to not override custom labels. PR #12398 by
@tiangolo
.
... (truncated)
Commits
07684ae
🔖 Release version 0.115.263c428f
📝 Update release notesb77f235
⬆️ Upgrade Starlette to>=0.37.2,<0.41.0
(#12431)113da5b
🔖 Release version 0.115.1f0be768
📝 Update release notese049fc4
🐛 Fix openapi generation with responses kwarg (#10895)b29cf16
📝 Update release notes8ae4603
🐛 RemoveRequired
shadowing from fastapi using Pydantic v2 (#12197)529155e
📝 Update release notes104dc0b
⬆ [pre-commit.ci] pre-commit autoupdate (#12396)- Additional commits viewable in compare view
Updates black
from 24.4.2 to 24.10.0
Release notes
Sourced from black's releases.
24.10.0
Highlights
- Black is now officially tested with Python 3.13 and provides Python 3.13 mypyc-compiled wheels. (#4436) (#4449)
- Black will issue an error when used with Python 3.12.5, due to an upstream memory safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please use Python 3.12.6 or Python 3.12.4 instead. (#4447)
- Black no longer supports running with Python 3.8 (#4452)
Stable style
- Fix crashes involving comments in parenthesised return types or
X | Y
style unions. (#4453)- Fix skipping Jupyter cells with unknown
%%
magic (#4462)Preview style
- Fix type annotation spacing between * and more complex type variable tuple (i.e.
def fn(*args: *tuple[*Ts, T]) -> None: pass
) (#4440)Caching
- Fix bug where the cache was shared between runs with and without
--unstable
(#4466)Packaging
- Upgrade version of mypyc used to 1.12 beta (#4450) (#4449)
blackd
now requires a newer version of aiohttp. (#4451)Output
- Added Python target version information on parse error (#4378)
- Add information about Black version to internal error messages (#4457)
24.8.0
Stable style
- Fix crash when
# fmt: off
is used before a closing parenthesis or bracket. (#4363)Packaging
- Packaging metadata updated: docs are explictly linked, the issue tracker is now also linked. This improves the PyPI listing for Black. (#4345)
Parser
- Fix regression where Black failed to parse a multiline f-string containing another multiline string (#4339)
... (truncated)
Changelog
Sourced from black's changelog.
24.10.0
Highlights
- Black is now officially tested with Python 3.13 and provides Python 3.13 mypyc-compiled wheels. (#4436) (#4449)
- Black will issue an error when used with Python 3.12.5, due to an upstream memory safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please use Python 3.12.6 or Python 3.12.4 instead. (#4447)
- Black no longer supports running with Python 3.8 (#4452)
Stable style
- Fix crashes involving comments in parenthesised return types or
X | Y
style unions. (#4453)- Fix skipping Jupyter cells with unknown
%%
magic (#4462)Preview style
- Fix type annotation spacing between * and more complex type variable tuple (i.e.
def fn(*args: *tuple[*Ts, T]) -> None: pass
) (#4440)Caching
- Fix bug where the cache was shared between runs with and without
--unstable
(#4466)Packaging
- Upgrade version of mypyc used to 1.12 beta (#4450) (#4449)
blackd
now requires a newer version of aiohttp. (#4451)Output
- Added Python target version information on parse error (#4378)
- Add information about Black version to internal error messages (#4457)
24.8.0
Stable style
- Fix crash when
# fmt: off
is used before a closing parenthesis or bracket. (#4363)Packaging
- Packaging metadata updated: docs are explictly linked, the issue tracker is now also linked. This improves the PyPI listing for Black. (#4345)
Parser
- Fix regression where Black failed to parse a multiline f-string containing another
... (truncated)
Commits
1b2427a
Prepare release 24.10.0 (#4471)a22b1eb
Add mypyc 3.13 wheel build (#4449)b7d0e72
Bump AndreMiras/coveralls-python-action from 65c1672f0b8a201702d86c81b79187df...f1a2f92
Include --unstable in cache key (#4466)8d9d18c
Fix skipping Jupyter cells with unknown %% magic (#4462)bbfdba3
Fix docs CI: use venv for uv to fix 'failed to create directory' (#4460)8fb2add
Use builtin generics (#4458)2a45cec
Fix crashes with comments in parentheses (#4453)b4d6d86
Drop Python 3.8 support (#4452)ac018c1
Require newer aiohttp for blackd (#4451)- Additional commits viewable in compare view
Updates mypy
from 1.10.1 to 1.11.2
Changelog
Sourced from mypy's changelog.
Mypy Release Notes
Next release
Mypy 1.12
We’ve just uploaded mypy 1.12 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
python3 -m pip install -U mypy
You can read the full documentation for this release on Read the Docs.
Support Python 3.12 Syntax for Generics (PEP 695)
Support for the new type parameter syntax introduced in Python 3.12 is now enabled by default, documented, and no longer experimental. It was available through a feature flag in mypy 1.11 as an experimental feature.
This example demonstrates the new syntax:
# Generic function def f[T](https://github.com/python/mypy/blob/master/x: T) -> T: ...
reveal_type(f(1)) # Revealed type is 'int'
Generic class
class C[T]: def init(self, x: T) -> None: self.x = x
c = C('a') reveal_type(c.x) # Revealed type is 'str'
Type alias
type A[T] = C[list[T]]
For more information, refer to the documentation.
These improvements are included:
- Document Python 3.12 type parameter syntax (Jukka Lehtosalo, PR 17816)
- Further documentation updates (Jukka Lehtosalo, PR 17826)
- Allow Self return types with contravariance (Jukka Lehtosalo, PR 17786)
- Enable new type parameter syntax by default (Jukka Lehtosalo, PR 17798)
- Generate error if new-style type alias used as base class (Jukka Lehtosalo, PR 17789)
- Inherit variance if base class has explicit variance (Jukka Lehtosalo, PR 17787)
... (truncated)
Commits
789f02c
Bump version to 1.11.2917cc75
An alternative fix for a union-like literal string (#17639)7d805b3
Unwrap TypedDict item types before storing (#17640)32675dd
Revert "Fix Literal strings containing pipe characters" (#17638)778542b
Revert "FixRawExpressionType.accept
crash with--cache-fine-grained
" (#1...14ab742
Bump version to 1.11.2+dev570b90a
Bump version to 1.11b3a102e
FixRawExpressionType.accept
crash with--cache-fine-grained
(#17588)aec04c7
Fix PEP 604 isinstance caching (#17563)cb44e4d
Fixtyping.TypeAliasType
being undefined on python < 3.12 (#17558)- Additional commits viewable in compare view
Updates pre-commit
from 3.7.1 to 4.0.1
Release notes
Sourced from pre-commit's releases.
pre-commit v4.0.1
Fixes
- Fix
pre-commit migrate-config
for unquoted deprecated stages names with purelibpyyaml
.
- #3324 PR by
@asottile
.- pre-commit-ci/issues#234 issue by
@lorenzwalthert
.pre-commit v4.0.0
Features
- Improve
pre-commit migrate-config
to handle more yaml formats.
- #3301 PR by
@asottile
.- Handle
stages
deprecation inpre-commit migrate-config
.
- #3302 PR by
@asottile
.- #2732 issue by
@asottile
.- Upgrade
ruby-build
.
- #3199 PR by
@ThisGuyCodes
.- Add "sensible regex" warnings to
repo: meta
.
- #3311 PR by
@asottile
.- Add warnings for deprecated
stages
(commit
->pre-commit
,push
->pre-push
,merge-commit
->pre-merge-commit
).
- #3312 PR by
@asottile
.- #3313 PR by
@asottile
.- #3315 PR by
@asottile
.- #2732 issue by
@asottile
.Migrating
language: python_venv
has been removed -- uselanguage: python
instead.
- #3320 PR by
@asottile
.- #2734 issue by
@asottile
.pre-commit v3.8.0
Features
- Implement health checks for
language: r
so environments are recreated if the system version of R changes.
- #3206 issue by
@lorenzwalthert
.- #3265 PR by
@lorenzwalthert
.
Changelog
Sourced from pre-commit's changelog.
4.0.1 - 2024-10-08
Fixes
- Fix
pre-commit migrate-config
for unquoted deprecated stages names with purelibpyyaml
.
- #3324 PR by
@asottile
.- pre-commit-ci/issues#234 issue by
@lorenzwalthert
.4.0.0 - 2024-10-05
Features
- Improve
pre-commit migrate-config
to handle more yaml formats.
- #3301 PR by
@asottile
.- Handle
stages
deprecation inpre-commit migrate-config
.
- #3302 PR by
@asottile
.- #2732 issue by
@asottile
.- Upgrade
ruby-build
.
- #3199 PR by
@ThisGuyCodes
.- Add "sensible regex" warnings to
repo: meta
.
- #3311 PR by
@asottile
.- Add warnings for deprecated
stages
(commit
->pre-commit
,push
->pre-push
,merge-commit
->pre-merge-commit
).
- #3312 PR by
@asottile
.- #3313 PR by
@asottile
.- #3315 PR by
@asottile
.- #2732 issue by
@asottile
.Migrating
language: python_venv
has been removed -- uselanguage: python
instead.
- #3320 PR by
@asottile
.- #2734 issue by
@asottile
.3.8.0 - 2024-07-28
Features
- Implement health checks for
language: r
so environments are recreated if the system version of R changes.
- #3206 issue by
@lorenzwalthert
.- #3265 PR by
@lorenzwalthert
.
Commits
cc4a522
v4.0.1772d7d4
Merge pull request #3324 from pre-commit/migrate-config-purelib222c62b
fix migrate-config for purelib yaml3d5548b
Merge pull request #3323 from pre-commit/pre-commit-ci-update-config4235a87
[pre-commit.ci] pre-commit autoupdatedbccd57
v4.0.0d07e529
Merge pull request #3320 from pre-commit/remove-python-venv801b956
remove deprecated python_venv aliasa2f7b80
Merge pull request #3315 from pre-commit/warn-deprecated-stage-names-on-initd317223
add warning for deprecates stages for remote repos on init- Additional commits viewable in compare view
Updates pyupgrade
from 3.16.0 to 3.18.0
Commits
28b9414
v3.18.067e2d2e
Merge pull request #972 from asottile/313226decb
regenerate symbols for --py313-plus99f0d7a
Merge pull request #969 from asottile/pre-commit-ci-update-config7cc1c33
[pre-commit.ci] pre-commit autoupdate0f1d07c
Merge pull request #964 from asottile/pre-commit-ci-update-config6b1de0b
[pre-commit.ci] pre-commit autoupdatee4eb968
Merge pull request #959 from asottile/pre-commit-ci-update-configd5bff73
[pre-commit.ci] pre-commit autoupdatea25bb53
v3.17.0- Additional commits viewable in compare view
Updates ruff
from 0.5.2 to 0.6.9
Release notes
Sourced from ruff's releases.
0.6.9
Release Notes
Preview features
- Fix codeblock dynamic line length calculation for indented docstring examples (#13523)
- [
refurb
] MarkFURB118
fix as unsafe (#13613)Rule changes
- [
pydocstyle
] Don't raiseD208
when last line is non-empty (#13372)- [
pylint
] Preserve trivia (i.e. comments) inPLR5501
autofix (#13573)Configuration
- [
pyflakes
] Addallow-unused-imports
setting forunused-import
rule (F401
) (#13601)Bug fixes
- Support ruff discovery in pip build environments (#13591)
- [
flake8-bugbear
] Avoid short circuitingB017
for multiple context managers (#13609)- [
pylint
] Do not offer an invalid fix forPLR1716
when the comparisons contain parenthesis (#13527)- [
pyupgrade
] FixUP043
to apply tocollections.abc.Generator
andcollections.abc.AsyncGenerator
(#13611)- [
refurb
] Fix handling of slices in tuples forFURB118
, e.g.,x[:, 1]
(#13518)Documentation
- Update GitHub Action link to
astral-sh/ruff-action
(#13551)Install ruff 0.6.9
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-installer.ps1 | iex"
Download ruff 0.6.9
File Platform Checksum ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
... (truncated)
Changelog
Sourced from ruff's changelog.
0.6.9
Preview features
- Fix codeblock dynamic line length calculation for indented docstring examples (#13523)
- [
refurb
] MarkFURB118
fix as unsafe (#13613)Rule changes
- [
pydocstyle
] Don't raiseD208
when last line is non-empty (#13372)- [
pylint
] Preserve trivia (i.e. comments) inPLR5501
autofix (#13573)Configuration
- [
pyflakes
] Addallow-unused-imports
setting forunused-import
rule (F401
) (#13601)Bug fixes
- Support ruff discovery in pip build environments (#13591)
- [
flake8-bugbear
] Avoid short circuitingB017
for multiple context managers (#13609)- [
pylint
] Do not offer an invalid fix forPLR1716
when the comparisons contain parenthesis (#13527)- [
pyupgrade
] FixUP043
to apply tocollections.abc.Generator
andcollections.abc.AsyncGenerator
(#13611)- [
refurb
] Fix handling of slices in tuples forFURB118
, e.g.,x[:, 1]
(#13518)Documentation
- Update GitHub Action link to
astral-sh/ruff-action
(#13551)0.6.8
Preview features
- Remove unnecessary parentheses around
match case
clauses (#13510)- Parenthesize overlong
if
guards inmatch..case
clauses (#13513)- Detect basic wildcard imports in
ruff analyze graph
(#13486)- [
pylint
] Implementboolean-chained-comparison
(R1716
) (#13435)Rule changes
- [
lake8-simplify
] DetectSIM910
when using variadic keyword arguments, i.e.,**kwargs
(#13503)- [
pyupgrade
] Avoid false negatives with non-reference shadowed bindings of loop variables (UP028
) (#13504)Bug fixes
- Detect tuples bound to variadic positional arguments i.e.
*args
(#13512)- Exit gracefully on broken pipe errors (#13485)
- Avoid panic when analyze graph hits broken pipe (#13484)
Performance
... (truncated)
Commits
975be9c
Bump version to 0.6.9 (#13624)99e4566
MarkFURB118
fix as unsafe (#13613)7ad07c2
Addallow-unused-imports
setting forunused-import
rule (F401
) (#13601)4aefe52
Support ruff discovery in pip build environments (#13591)cc1f766
Preserve trivia (i.e. comments) in PLR5501 (#13573)fdd0a22
Move to maintained mirror of prettier (#13592)3728d5b
[pyupgrade
] Fix UP043 to apply tocollections.abc.Generator
and `collecti...7e3894f
Avoid short circuitingB017
for multiple context managers (#13609)c3b40da
Use backticks for code in red-knot messages (#13599)ef45185
Allow users to provide custom diagnostic messages when unwrapping calls (#13597)- Additional commits viewable in compare view
Updates anyio
from 4.4.0 to 4.6.2
Release notes
Sourced from anyio's releases.
4.6.2
- Fixed regression caused by (#807) that prevented the use of parametrized async fixtures
4.6.1
This release contains all the changes from both v4.5.1 and v4.6.0, plus:
- Fixed TaskGroup and CancelScope producing cyclic references in tracebacks when raising exceptions (#806) (PR by
@graingert
)4.6.0
- Dropped support for Python 3.8 (as #698 cannot be resolved without cancel message support)
- Fixed 100% CPU use on asyncio while waiting for an exiting task group to finish while said task group is within a cancelled cancel scope (#695)
- Fixed cancel scopes on asyncio not propagating
CancelledError
on exit when the enclosing cancel scope has been effectively cancelled (#698)- Fixed asyncio task groups not yielding control to the event loop at exit if there were no child tasks to wait on
- Fixed inconsistent task uncancellation with asyncio cancel scopes belonging to a task group when said task group has child tasks running
4.5.2
- Fixed regression caused by (#807) that prevented the use of parametrized async fixtures.
4.5.1
As Python 3.8 support was dropped in v4.6.0, this interim release was created to bring a regression fix to Python 3.8, and adds a few other fixes also present in v4.6.1.
- Fixed acquring a lock twice in the same task on asyncio hanging instead of raising a
RuntimeError
(#798)- Fixed an async fixture's
self
being different than the test'sself
in class-based tests (#633) (PR by@agronholm
and@graingert
)- Fixed
TypeError
withTLSStream
on Windows when a certificate verification error occurs when using a truststore SSL certificate (#795)- Corrected documentation on
anyio.Path
regarding the limitations imposed by the current Python version on several of its methods, and made theis_junction
method unavailable on Python versions earlier than 3.12 (#794)4.5.0
- Improved the performance of
anyio.Lock
andanyio.Semaphore
on asyncio (even up to 50 %)- Added the
fast_acquire
parameter toanyio.Lock
andanyio.Semaphore
to further boost performance at the expense of safety (acquire()
will not yield control back if there is no contention)- Added support for the
from_uri()
,full_match()
,parser
methods/properties inanyio.Path
, newly added in Python 3.13 (#737)- Added support for more keyword arguments for
run_process()
andopen_process()
:startupinfo
,creationflags
,pass_fds
,user
,group
,extra_groups
andumask
(#742)- Improved the type annotations and support for
PathLike
inrun_process()
andopen_process()
to allow for path-like arguments, just likesubprocess.Popen
- Changed the
ResourceWarning
from an unclosed memory object stream to include its address for easier identification- Changed
start_blocking_portal()
to always use daemonic threads, to accommodate the "loitering event loop" use case- Bumped the minimum version of Trio to v0.26.1
- Fixed
__repr__()
ofMemoryObjectItemReceiver
, whenitem
is not defined (#767; PR by@Danipulok
)- Fixed
to_process.run_sync()
failing to initialize if__main__.__file__
pointed to a file in a nonexistent directory (#696)- Fixed
AssertionError: feed_data after feed_eof
on asyncio when a subprocess is closed early, before its output has been read (#490)- Fixed
TaskInfo.has_pending_cancellation()
on asyncio not respecting shielded scopes (#771; PR by@gschaffner
)- Fixed
SocketStream.receive()
returningbytearray
instead ofbytes
when using asyncio withProactorEventLoop
(Windows) (#776)- Fixed quitting the debugger in a pytest test session while in an active task group failing the test instead of exiting the test session (because the exit exception arrives in an exception group)
- Fixed support for Linux abstract namespaces in UNIX sockets that was broken in v4.2 (#781; PR by
@tapetersen
)- Fixed
KeyboardInterrupt
(ctrl+c) hanging the asyncio pytest runner
Changelog
Sourced from anyio's changelog.
Version history
This library adheres to
Semantic Versioning 2.0 <http://semver.org/>
_.4.6.2
- Fixed regression caused by (
[#807](https://github.com/agronholm/anyio/issues/807) <https://github.com/agronholm/anyio/pull/807>
_) that prevented the use of parametrized async fixtures4.6.1
This release contains all the changes from both v4.5.1 and v4.6.0, plus:
- Fixed TaskGroup and CancelScope producing cyclic references in tracebacks when raising exceptions (
[#806](https://github.com/agronholm/anyio/issues/806) <https://github.com/agronholm/anyio/pull/806>
_) (PR by@graingert
)4.6.0
This release is the successor to v4.5.0 with Python 3.8 support dropped, and does not contain the changes from v4.5.1.
- Dropped support for Python 3.8 (as
[#698](https://github.com/agronholm/anyio/issues/698) <https://github.com/agronholm/anyio/issues/698>
_ cannot be resolved without cancel message support)- Fixed 100% CPU use on asyncio while waiting for an exiting task group to finish while said task group is within a cancelled cancel scope (
[#695](https://github.com/agronholm/anyio/issues/695) <https://github.com/agronholm/anyio/issues/695>
_)- Fixed cancel scopes on asyncio not propagating
CancelledError
on exit when the enclosing cancel scope has been effectively cancelled ([#698](https://github.com/agronholm/anyio/issues/698) <https://github.com/agronholm/anyio/issues/698>
_)- Fixed asyncio task groups not yielding control to the event loop at exit if there were no child tasks to wait on
- Fixed inconsistent task uncancellation with asyncio cancel scopes belonging to a task group when said task group has child tasks running
4.5.1
As Python 3.8 support was dropped in v4.6.0, this interim release was created to bring a regression fix to Python 3.8, and adds a few other fixes also present in v4.6.1.
- Fixed acquring a lock twice in the same task on asyncio hanging instead of raising a
RuntimeError
([#798](https://github.com/agronholm/anyio/issues/798) <https://github.com/agronholm/anyio/issues/798>
_)- Fixed an async fixture's
self
being different than the test'sself
in class-based tests ([#633](https://github.com/agronholm/anyio/issues/633) <https://github.com/agronholm/anyio/issues/633>
_) (PR by@agronholm
and@graingert
)- Fixed
TypeError
withTLSStream
on Windows when a certificate verification error occurs when using atruststore <https://github.com/sethmlarson/truststore>
_ SSL certificate ([#795](https://github.com/agronholm/anyio/issues/795) <https://github.com/agronholm/anyio/issues/795>
_)
... (truncated)
Commits
5861355
Bumped up the versionf6ddfc8
Fixed a regression in the pytest plugin that broke parametrized async fixtures4ecc963
Bumped up the version5489fbd
Fixed tox configuration77b94df
Updated Path documentation and made is_junction() conditional (#800)bf130dc
Fixed TypeError when TLS handshake fails with truststore SSLContext (#801)4cb89a5
Migrated to native TOML configuration for Tox6bebf18
Made test_start_task_soon_cancel_immediately() less flakye8546bd
Rebind instance method fixtures to the same instance as the test (#807)57bcbc9
Updated macOS and Windows to test on Python 3.13 by default- Additional commits viewable in compare view
Updates idna
from 3.7 to 3.10
Release notes
Sourced from idna's releases.
v3.10
No release notes provided.
v3.9
No release notes provided.
v3.8
What's Changed
- Fix regression where IDNAError exception was not being produced for certain inputs.
- Add support for Python 3.13, drop support for Python 3.5 as it is no longer testable.
- Documentation improvements
- Updates to package testing using Github actions
Thanks to Hugo van Kemenade for contributions to this release.
Full Changelog: https://github.com/kjd/idna/compare/v3.7...v3.8
Changelog
Sourced from idna's changelog.
3.10 (2024-09-15) +++++++++++++++++
- Reverted to Unicode 15.1.0 data. Unicode 16 has some significant changes to UTS46 processing that will require more work to properly implement.
3.9 (2024-09-13) ++++++++++++++++
- Update to Unicode 16.0.0
- Deprecate setup.cfg in favour of pyproject.toml
- Use ruff for code formatting
Thanks to Waket Zheng for contributions to this release.
3.8 (2024-08-23) ++++++++++++++++
- Fix regression where IDNAError exception was not being produced for certain inputs.
- Add support for Python 3.13, drop support for Python 3.5 as it is no longer testable.
- Documentation improvements
- Updates to package testing using Github actions
Thanks to Hugo van Kemenade for contributions to this release.
Commits
729225d
Release v3.103eef168
Merge pull request #194 from kjd/revert-unicode-16ceca619
Revert Unicode 16.0.0 data updatesc43ac75
Merge pull request #191 from kjd/release-3.91b8800a
Release v3.9a1fd168
Merge pull request #190 from kjd/unicode-167732c61
Merge branch 'master' into unicode-164ed183d
Refactor membership test762216b
Format with ruff580ece9
Implement changes to UTS46 algorithm- Additional commits viewable in compare view
Updates pydantic
from 2.8.2 to 2.9.2
Release notes
Sourced from pydantic's releases.
v2.9.2 (2024-09-17)
What's Changed
Fixes
- Do not error when trying to evaluate annotations of private attributes by
@Viicos
in #10358- Adding notes on designing sound
Callable
discriminators by@sydney-runkle
in #10400- Fix serialization schema generation when using
PlainValidator
by@Viicos
in #10427- Fix
Union
serialization warnings by@sydney-runkle
in pydantic/pydantic-core#1449- Fix variance issue in
_IncEx
type alias, only allowTrue
by@Viicos
in #10414- Fix
ZoneInfo
validation with various invalid types by@sydney-runkle
in #10408Full Changelog: Description%20has%20been%20truncated
%0A" rel="nofollow" target="_blank" >