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):
275275 fd = gpio .lib .gpiod_line_event_get_fd (self ._line )
276276 if fd < 0 :
277277 raise OSError ("line is closed" )
278- await trio .hazmat .wait_readable (fd )
278+ await trio .lowlevel .wait_readable (fd )
279279 self ._is_open ()
280280 r = gpio .lib .gpiod_line_event_read_fd (fd , ev )
281281 if r != 0 :
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ Using AsyncGPIO generally consists of three steps:
88Accessing the chip, referring to a GPIO line within that chip.
99and actually using the line for input, output, or monitoring.
1010
11+ AsyncGPIO currently only works with anyio's Trio backend.
12+
1113Accessing a GPIO chip
1214---------------------
1315
Original file line number Diff line number Diff line change 1414 packages = find_packages (),
1515 setup_requires = ["setuptools_scm" ],
1616 install_requires = [
17- "trio" ,
17+ "trio >= 0.15 " ,
1818 "cffi" ,
1919 "async-generator" ,
2020 ],
You can’t perform that action at this time.
0 commit comments