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

Tests crash on a newly created project #385

Closed
seapagan opened this issue May 4, 2024 · 0 comments · Fixed by #395
Closed

Tests crash on a newly created project #385

seapagan opened this issue May 4, 2024 · 0 comments · Fixed by #395
Assignees
Labels
bug Something isn't working

Comments

@seapagan
Copy link
Owner

seapagan commented May 4, 2024

Describe the bug
When pytest is run it crashes due to the lack of the greenlet package. This is used for concurrency in the coverage module.

To Reproduce

  1. Create a new project
  2. run pytest
  3. pytest crashes with the exception below:

coverage.exceptions.ConfigError: Couldn't trace with concurrency=greenlet, the module isn't installed.

Expected behaviour

Tests should work!

The fix is to either remove greenlet from the coverage config, or install it as a dev dependency by default. Probably go for the latter

@seapagan seapagan added the bug Something isn't working label May 4, 2024
@seapagan seapagan self-assigned this May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant