Build: Bump pytest from 7.4.4 to 8.0.0
Alternative for #319
pytest-lazy-fixture is not compatible with pytest v8, and it looks like it will be never compatible as the project is not active anymore, there is a discussion to move/add lazy_fixture to pytest, but we don't know yet if this will happen or not.
This PR removes the package pytest-lazy-fixture and the usage of lazy_fixture, then uses the fixture request to load the fixture by its name.
CI is green 🎉
Please check https://github.com/TvoroG/pytest-lazy-fixture/issues/65 for the issue
cc: @Fokko
Circling back to this now the release is out. I do like the lazy-fixture, and it solved some real problems. Also, the request seems to fix the problem, but erases all typing and is more verbose. There seems to be quite a bit of activity on the thread, maybe we should give it a bit more time?
Yes, we can wait two weeks, and if there is no solution to this issue, we can discuss merging this PR or adopting a different solution.
@hussein-awala It looks like there is a fork that's compatible with pytest>=7.0.0: https://github.com/dev-petrov/pytest-lazy-fixtures