Skip to content

Upper bound for pytest version, since >= 8.2 is not supported #294

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

Closed
wants to merge 1 commit into from

Conversation

chaporgin
Copy link

@chaporgin chaporgin commented Apr 24, 2025

According to the following PRs 1, 2 version 8.2 is not supported and that's what we encountered while trying to use fixtures with yield statement on pytest 8.3.5. Downgrading seemingly fixed the problem.

Footnotes

  1. https://github.com/pytest-dev/pytest-rerunfailures/issues/272#issuecomment-2348152479

  2. https://github.com/pytest-dev/pytest-rerunfailures/issues/274#issuecomment-2348149775

According to the following PRs [^1], [^2] version 8.2 is not supported and that's what we encountered while trying to use fixtures with yield statement on pytest 8.3.5. Downgrading seemingly fixed the problem.
@The-Compiler
Copy link
Member

#267 is fixed by #278, so this seems incorrect to me.

@webknjaz
Copy link
Member

Also, it's not a good idea to have upper bounds in libs. Besides, the depresolver would backtrack to the previous version a decide to install something potentially even more problematic.

@chaporgin
Copy link
Author

Made a comment into the linked issue, since it persists.

@chaporgin chaporgin closed this Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants