Skip to content

Commit

Permalink
Force trio version < 0.22
Browse files Browse the repository at this point in the history
This avoids a deprecation error when using anyio/trio:

```
trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (python-trio/trio#2211)
```

This "proper" fix depends on a new release of anyio
  • Loading branch information
paulo-raca committed Oct 4, 2022
1 parent e2216b1 commit f772665
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ test = [
"python-multipart >=0.0.5,<0.0.6",
"flask >=1.1.2,<3.0.0",
"anyio[trio] >=3.2.1,<4.0.0",
"trio < 0.22.0",
"python-jose[cryptography] >=3.3.0,<4.0.0",
"pyyaml >=5.3.1,<7.0.0",
"passlib[bcrypt] >=1.7.2,<2.0.0",
Expand Down

0 comments on commit f772665

Please sign in to comment.