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

backend: @pytest.yield_fixture is deprecated. #3351

Closed
xsuchy opened this issue Jul 31, 2024 · 0 comments · Fixed by #3364
Closed

backend: @pytest.yield_fixture is deprecated. #3351

xsuchy opened this issue Jul 31, 2024 · 0 comments · Fixed by #3364
Assignees

Comments

@xsuchy
Copy link
Member

xsuchy commented Jul 31, 2024

When building copr-backend on my F40 I see:

tests/test_frontend.py:14
  /builddir/build/BUILD/copr-backend-git-39.f91d7fc/tests/test_frontend.py:14: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
  Use @pytest.fixture instead; they are the same.
    @pytest.yield_fixture

We should fix this before it is removed.

@github-project-automation github-project-automation bot moved this to Needs triage in CPT Kanban Jul 31, 2024
@FrostyX FrostyX moved this from Needs triage to In 3 months in CPT Kanban Aug 7, 2024
@FrostyX FrostyX self-assigned this Aug 10, 2024
FrostyX added a commit to FrostyX/copr that referenced this issue Aug 10, 2024
…eld_fixture

Fix fedora-copr#3351

The deprecation warning even says "Use @pytest.fixture instead; they
are the same".
FrostyX added a commit to FrostyX/copr that referenced this issue Aug 19, 2024
…eld_fixture

Fix fedora-copr#3351

The deprecation warning even says "Use @pytest.fixture instead; they
are the same".
FrostyX added a commit to FrostyX/copr that referenced this issue Aug 23, 2024
…eld_fixture

Fix fedora-copr#3351

The deprecation warning even says "Use @pytest.fixture instead; they
are the same".
FrostyX added a commit to FrostyX/copr that referenced this issue Aug 23, 2024
…eld_fixture

Fix fedora-copr#3351

The deprecation warning even says "Use @pytest.fixture instead; they
are the same".
FrostyX added a commit to FrostyX/copr that referenced this issue Aug 23, 2024
…eld_fixture

Fix fedora-copr#3351

The deprecation warning even says "Use @pytest.fixture instead; they
are the same".
FrostyX added a commit to FrostyX/copr that referenced this issue Aug 23, 2024
…eld_fixture

Fix fedora-copr#3351

The deprecation warning even says "Use @pytest.fixture instead; they
are the same".
xsuchy pushed a commit that referenced this issue Aug 26, 2024
…eld_fixture

Fix #3351

The deprecation warning even says "Use @pytest.fixture instead; they
are the same".
@praiskup praiskup moved this from In Progress to Done in CPT Kanban Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants