Skip to content

Commit d270105

Browse files
committed
remove async-generator dependency
1 parent 119a3ce commit d270105

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

requirements-dev.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ alabaster==0.7.13
99
astroid==2.15.0
1010
# via pylint
1111
async-generator==1.10
12-
# via
13-
# trio
14-
# trio-websocket (setup.py)
12+
# via trio
1513
attrs==22.2.0
1614
# via
1715
# -r requirements-dev.in

requirements-min.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
# pip-compile --output-file=requirements-min.txt requirements-dev.in setup.py
66
#
77
async-generator==1.10
8-
# via
9-
# trio
10-
# trio-websocket (setup.py)
8+
# via trio
119
attrs==22.2.0
1210
# via
1311
# -r requirements-dev.in

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
keywords='websocket client server trio',
4141
packages=find_packages(exclude=['docs', 'examples', 'tests']),
4242
install_requires=[
43-
'async_generator>=1.10',
4443
'trio>=0.11',
4544
'wsproto>=0.14',
4645
],

trio_websocket/_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import sys
22
from collections import OrderedDict
3+
from contextlib import asynccontextmanager
34
from functools import partial
45
from ipaddress import ip_address
56
import itertools
@@ -10,7 +11,6 @@
1011
import urllib.parse
1112
from typing import List
1213

13-
from async_generator import asynccontextmanager
1414
import trio
1515
import trio.abc
1616
from wsproto import ConnectionType, WSConnection

0 commit comments

Comments
 (0)