Package Details: python-daemon 3.1.2-2

Git Clone URL: https://aur.archlinux.org/python-daemon.git (read-only, click to copy)
Package Base: python-daemon
Description: Library to implement a well-behaved Unix daemon process
Upstream URL: https://pagure.io/python-daemon/
Licenses: Apache
Submitter: jelly
Maintainer: gilcu3
Last Packager: gilcu3
Votes: 1
Popularity: 0.26
First Submitted: 2023-11-25 16:08 (UTC)
Last Updated: 2024-12-18 14:56 (UTC)

Latest Comments

gilcu3 commented on 2024-12-18 14:58 (UTC)

@carsme I was not aware of python packages requiring the package to be installed for testing. The fix you proposed is already pushed, thank you for the fix.

carsme commented on 2024-12-18 11:53 (UTC)

I don't think this is an upstream issue. As the tests require the package to be installed you can install it in a tmpdir to run the suite. See this for refrence: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=minijinja#n43

gilcu3 commented on 2024-12-18 10:06 (UTC)

@carsme Thanks for the report. As far I can see this seems to be a problem in packaging upstream. As a workaround, you can run the tests after the package is installed (they all pass), or disable the failing tests. Feel free to open a bug about this upstream to get it fixed.

carsme commented on 2024-12-13 12:29 (UTC) (edited on 2024-12-13 12:29 (UTC) by carsme)

Tests are failing:

======================================================================
ERROR: test.test_daemon (unittest.loader._FailedTest.test.test_daemon)
----------------------------------------------------------------------
ImportError: Failed to import test module: test.test_daemon
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in _get_module_from_name
    __import__(name)
  File "/tmp/makepkg/python-daemon/src/python_daemon-3.1.2/test/test_daemon.py", line 26, in <module>
    import daemon
ModuleNotFoundError: No module named 'daemon'