Closed hazadus closed 3 weeks ago
@hazadus , what errors do you get from pytest?
Generally this boilerplate is a little bit behind new versions of pytest, pydantic, etc.
Pytest made - probably unintentionally - a breaking changes in version 0.23.
First of all using custom event_loop has been deprecated. The second thing is that engine fixture scoped to class would give you an error. Moving from class to function (which is default for engine) would resolve this issue. But I remember that several issues raised in pytest part of this boilerplate - hence my question at the beginning.
Hi @hazadus pushed some changes that should fix this, the requirements were not pinned (my fault)
Hi @hazadus pushed some changes that should fix this, the requirements were not pinned (my fault)
Thanks! Already figured out how to solve my problems, but these changes will be helpful to other users!
Hello!
Thanks for great article, and the template looks VERY good. Unfortunately, I can't run it with current versions of dependencies. I tried and fixed some errors, but something seems very off with
pytest-asyncio
... Can you suggest how to migrate the code to current version ofpytest-asyncio
?