Search Criteria
Package Details: python2-xdg 0.28-5
Package Actions
Git Clone URL: | https://aur.archlinux.org/python2-pyxdg.git (read-only, click to copy) |
---|---|
Package Base: | python2-pyxdg |
Description: | [meta-pkg] Old, deprecated package name. Whatever depends on this should depend on python2-pyxdg instead. |
Upstream URL: | https://pypi.org/project/pyxdg/0.28/ |
Licenses: | LGPL |
Submitter: | MarsSeed |
Maintainer: | None |
Last Packager: | MarsSeed |
Votes: | 2 |
Popularity: | 0.009407 |
First Submitted: | 2022-06-18 01:23 (UTC) |
Last Updated: | 2022-07-08 20:06 (UTC) |
Latest Comments
MarsSeed commented on 2022-06-26 17:25 (UTC) (edited on 2022-07-06 19:16 (UTC) by MarsSeed)
I've updated the package to 0.28 and opted to disable testing altogether.
MarsSeed commented on 2022-06-26 17:22 (UTC) (edited on 2022-06-26 17:26 (UTC) by MarsSeed)
Thanks for reporting it.
Actually, many tests in this package are extremely shitty. They are in fact tailored for a full Ubuntu installation, and they query information from the whole system.
I suspect that is the problem in this MimeType 'msword' vs 'wps-office.doc' error.
Another test seeks to find the icon file of the system-installed Firefox, and if someone does not have that, it will fail.
Arch actually don't even test the Python 3 version of this library at all.
My preferred approach would be to blacklist (skip) known-unstable tests, like those that rely on system data, not testdata.
In general I am in favor of using testing for AUR builds, especially if (1) they are not extremely resource-intensive and (2) if they are self-contained and reproducible.
Also (3) I strongly prefer testing in case of legacy packages, because upstream support / testing might be missing, so user-side build verification might be the last remaining line of defense against incompatible dependencies or misconfigurtions etc.
As for this package, it violates point (2) above: its tests are not reproducible because the testcases are not self-contained.
dreieck commented on 2022-06-26 13:23 (UTC)
check()
fails for me withAssertionError: 'wps-office.doc' != 'msword'
:Regards!