File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ async def __anext__(self):
275
275
fd = gpio .lib .gpiod_line_event_get_fd (self ._line )
276
276
if fd < 0 :
277
277
raise OSError ("line is closed" )
278
- await trio .hazmat .wait_readable (fd )
278
+ await trio .lowlevel .wait_readable (fd )
279
279
self ._is_open ()
280
280
r = gpio .lib .gpiod_line_event_read_fd (fd , ev )
281
281
if r != 0 :
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ Using AsyncGPIO generally consists of three steps:
8
8
Accessing the chip, referring to a GPIO line within that chip.
9
9
and actually using the line for input, output, or monitoring.
10
10
11
+ AsyncGPIO currently only works with anyio's Trio backend.
12
+
11
13
Accessing a GPIO chip
12
14
---------------------
13
15
Original file line number Diff line number Diff line change 14
14
packages = find_packages (),
15
15
setup_requires = ["setuptools_scm" ],
16
16
install_requires = [
17
- "trio" ,
17
+ "trio >= 0.15 " ,
18
18
"cffi" ,
19
19
"async-generator" ,
20
20
],
You can’t perform that action at this time.
0 commit comments