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
0.2.2: missing files in pypi sdist tarball: unable to run tests #94
Comments
Hi, Thanks so much for packaging. Running tests are only supported in the provided docker container because they interact with a real dbus daemon. Lines 22 to 24 in 7d651b6
|
I can run the tests using Unfortunately in 0.2.3 the sdist tarball on pypi is still missing some files:
|
Just hit this. In my case, I'm packaging Sadly, local test execution doesn't appear to be supported. We're reluctantly disabling tests for Perhaps the requisite files could simply be bundled with release tarballs as @dvzrv suggests? It's usually best to just let the users sort it out. 🤷♂️ |
If you would like to make that change, you can go ahead. However, keep in mind that these are integration tests and may make assumptions about dbus configuration that may not be true on your system. You may use |
Affirmative. Would it also be feasible to gracefully Just my 🪙 🪙 as a friendly package maintainer, of course.
B-b-but... I'm packaging for Gentoo Linux. There is no specific "application" as such. The intended userbase is literally all users running Gentoo Linux. The intended use case is Again, the test suite itself should gracefully scale by selectively ignoring unit and integration tests that are inapplicable to the current execution environment. Thankfully, Annnnnyway. I've marked our Gentoo ebuild for |
On Arch Linux we have now started to discourage the use of PyPI hosted sdist tarballs (https://rfc.archlinux.page/0020-sources-for-python-packaging/). |
Hi! I'm currently bringing python-dbus-next to the official Arch Linux repositories.
As best practice we usually run tests against the packages (if there are any). Unfortunately this fails due to missing files, when using the sdist tarball on pypi:
The text was updated successfully, but these errors were encountered: