Skip to content

Commit

Permalink
Pinned trio to < 0.22 on AnyIO 3.x
Browse files Browse the repository at this point in the history
The new MultiError is incompatible with AnyIO's ExceptionGroup class.
  • Loading branch information
agronholm committed Oct 19, 2022
1 parent 7cc3cf8 commit 787cb0c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/versionhistory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ Version history

This library adheres to `Semantic Versioning 2.0 <http://semver.org/>`_.

**3.6.2**

- Pinned Trio to < 0.22 to avoid incompatibility with AnyIO's ``ExceptionGroup`` class
causing ``AttributeError: 'NonBaseMultiError' object has no attribute '_exceptions'``
(AnyIO 4 is unaffected)

**3.6.1**

- Fixed exception handler in the asyncio test runner not properly handling a context
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ test =
trustme
uvloop < 0.15; python_version < '3.7' and (platform_python_implementation == 'CPython' and platform_system != 'Windows')
uvloop >= 0.15; python_version >= '3.7' and (platform_python_implementation == 'CPython' and platform_system != 'Windows')
trio = trio >= 0.16
trio = trio >= 0.16, < 0.22
doc =
packaging
sphinx_rtd_theme
Expand Down

0 comments on commit 787cb0c

Please sign in to comment.