Skip to content

Commit 787cb0c

Browse files
committed
Pinned trio to < 0.22 on AnyIO 3.x
The new MultiError is incompatible with AnyIO's ExceptionGroup class.
1 parent 7cc3cf8 commit 787cb0c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/versionhistory.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ Version history
33

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

6+
**3.6.2**
7+
8+
- Pinned Trio to < 0.22 to avoid incompatibility with AnyIO's ``ExceptionGroup`` class
9+
causing ``AttributeError: 'NonBaseMultiError' object has no attribute '_exceptions'``
10+
(AnyIO 4 is unaffected)
11+
612
**3.6.1**
713

814
- Fixed exception handler in the asyncio test runner not properly handling a context

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test =
5252
trustme
5353
uvloop < 0.15; python_version < '3.7' and (platform_python_implementation == 'CPython' and platform_system != 'Windows')
5454
uvloop >= 0.15; python_version >= '3.7' and (platform_python_implementation == 'CPython' and platform_system != 'Windows')
55-
trio = trio >= 0.16
55+
trio = trio >= 0.16, < 0.22
5656
doc =
5757
packaging
5858
sphinx_rtd_theme

0 commit comments

Comments
 (0)