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

tasks: Explicitly install python3-pytest-cov #632

Merged
merged 1 commit into from
Dec 8, 2024
Merged

Conversation

martinpitt
Copy link
Member

@martinpitt martinpitt commented Dec 8, 2024

Our tests need it, but it doesn't get installed as transient recommends any more.


The 12-07 tasks container refresh lost this package, so that at least bots tests now fail:

❱❱ pytest -vv
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --cov-config=pyproject.toml
  inifile: /var/home/martin/upstream/bots/pyproject.toml
  rootdir: /var/home/martin/upstream/bots

Which can also be seen in this failure of cockpit-project/bots#7196 which ran against 2024-12-07.

I triggered a build against this branch to unblock both PRs.

Our tests need it, but it doesn't get installed as transient recommends
any more.
@martinpitt
Copy link
Member Author

The test_mock_pr failure here is fixed by cockpit-project/bots#7196

@martinpitt martinpitt removed the blocked label Dec 8, 2024
@martinpitt martinpitt merged commit 29cd96e into main Dec 8, 2024
5 of 6 checks passed
@martinpitt martinpitt deleted the pytest-cov branch December 8, 2024 18:01
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.

2 participants