Closed primal100 closed 3 years ago
Can confirm.
Also this (from my CI):
> async with self.open('r', encoding=encoding, errors=errors) as file:
E AttributeError: __aenter__
Downgrading aiopath to 0.5.6 shows no such errors.
Same for me - 0.5.7 is broken, 0.5.6 works. Same error as @bronsen
Thanks for submitting bug reports, @primal100, @bronsen and @lopisan. Sorry for breaking aiopath
on you!
I've added new tests here so that this doesn't happen again.
Version 0.5.11 on PyPI will fix your issues. You can install it like so:
python3 -m pip install aiopath==0.5.11
Indeed aiopath 0.5.11 no longer raises the AttributeError during CI run.
Glad to hear it, @bronsen.
I'm going to close this issue, feel free to comment again if anyone is still affected by this issue.
Tested with python 3.8 and Python3.9. Works ok on aiopath 0.5.6