-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Test fails on OpenBSD at 2.2.0: fixture 'client' not found
#5526
Comments
How are you running the tests? |
I suspect this issue is coming up because pytest --rootpath /build/pobj/beets-2.2.0 |
It has correct rootpath already, without it, not test discovered.
Also, it had pick a lot of fixtures... |
I see what's going on - testing dependencies are missing (in this case it's How did you use to install testing dependencies before we introduced poetry? |
@snejus like this: https://github.com/openbsd/ports/blob/master/audio/beets/Makefile#L38-L47 Here no I'll try to add it and re-test but I have no idea when. |
Just checked the previous package - I can now see that plugin tests had not previously been included in the sdist. Only the tests in the root |
@snejus when it explains everything. Thanks! |
I will exclude the plugin tests - ultimately your concern is to make sure that base |
@snejus I think the current way better, special if it means to add one more dependency for tests which can be useful on other ports. So, no need to exclude anything, I guess. |
For now, I think, we will mirror the same configuration like we had before. If someone comes across wanting plugin tests to be included, then we can try to hack something there since it's slightly more complicated than just a single dependency. Some of the plugin tests depend on certain system packages being present, for example. |
make sense. |
…s from MANIFEST.in (#5536) Fixes #5526 Fixes #5531 Fixes #5539 ### Package contents See #5526 where a package maintainer fails running plugin tests. I found that before introduction of Poetry `beets` never bundled plugin tests, therefore I now excluded them. I also remembered that previously `MANIFEST.in` file was used to specify which files get included in the package, so I mirrored the same configuration. This includes zsh completion in `extra/_beet` which fixes #5531. I removed `MANIFEST.in` file since it has no use anymore. ### Release workflow The last release workflow run failed to pick up the commit with the version updates and tagged an outdated commit (#5539). I simplified the workflow to create the tag at the same time the version upgrade is committed.
You can use markers to let people select which tests they want to run, and/or raise skips for missing dependencies. |
Problem
Setup
The text was updated successfully, but these errors were encountered: