Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest-lazy-fixture is incompatible with recent versions of pytest #88

Open
TrisCC opened this issue Apr 3, 2024 · 0 comments
Open

Comments

@TrisCC
Copy link
Collaborator

TrisCC commented Apr 3, 2024

As described in #85 , because pytest-lazy-fixture is deprecated, the more recent versions of pytest are not compatible with it. This causes a part of the test suite to crash and result into errors. In #85 the pytest version is set to 7.3.2, but this is not a long term solution because we will be stuck with that version indefinitely. This issue describes the issue directly. As far as I can tell there are 3 different solutions to update pytest while keeping the same functionalities.

  1. Use a local patched fork of pytest-lazy-fixture (definitely not the most elegant solution)
  2. Create our own implementation of pytest-lazy-fixture (There is one described in the comments of this issue)
  3. Find a way to get rid of pytest-lazy-fixture by rewriting the tests

For now pytest 7.3.2 will do, but it is not a long-term solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant