Package Details: python-dasbus 1.7-1

Git Clone URL: https://aur.archlinux.org/python-dasbus.git (read-only, click to copy)
Package Base: python-dasbus
Description: DBus library in Python 3
Upstream URL: https://github.com/rhinstaller/dasbus
Licenses: LGPL
Submitter: z3ntu
Maintainer: z3ntu
Last Packager: z3ntu
Votes: 3
Popularity: 0.000138
First Submitted: 2020-09-12 17:15 (UTC)
Last Updated: 2023-03-11 16:40 (UTC)

Latest Comments

Antiz commented on 2024-04-22 10:12 (UTC)

Hi,

For info I'm moving this package to [extra] (as a dependency of nwg-panel).
Thanks for maintaining it on the AUR throughout the years! :)

ggnoredo commented on 2022-10-07 19:01 (UTC)

Traceback (most recent call last):
  File "/home/username/.cache/yay/python-dasbus/src/dasbus-1.6/setup.py", line 23, in <module>
    setup(
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 177, in setup
    return run_commands(dist)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
    dist.run_commands()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.10/site-packages/setuptools/command/install.py", line 68, in run
    return orig.install.run(self)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/command/install.py", line 706, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.10/site-packages/setuptools/command/install_egg_info.py", line 35, in run
    self.run_command('egg_info')
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 307, in run
    self.find_sources()
  File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 314, in find_sources
    mm.run()
  File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 549, in run
    self.add_defaults()
  File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 586, in add_defaults
    sdist.add_defaults(self)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 250, in add_defaults
    self._add_defaults_python()
  File "/usr/lib/python3.10/site-packages/setuptools/command/sdist.py", line 111, in _add_defaults_python
    build_py = self.get_finalized_command('build_py')
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 303, in get_finalized_command
    cmd_obj = self.distribution.get_command_obj(command, create)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 859, in get_command_obj
    klass = self.get_command_class(command)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 952, in get_command_class
    eps = metadata.entry_points(group='distutils.commands', name=command)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 1009, in entry_points
    return SelectableGroups.load(eps).select(**params)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 459, in load
    ordered = sorted(eps, key=by_group)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 1006, in <genexpr>
    eps = itertools.chain.from_iterable(
  File "/usr/lib/python3.10/importlib/metadata/_itertools.py", line 16, in unique_everseen
    k = key(element)
AttributeError: 'PathDistribution' object has no attribute '_normalized_name'
==> ERROR: A failure occurred in package().
    Aborting...

z3ntu commented on 2021-04-17 20:14 (UTC)

Works for me with extra-x86_64-build:

======================= 169 passed, 1 warning in 37.60s ========================

swsnr commented on 2021-04-11 10:20 (UTC)

check() segfaults in a clean chroot:

==> Starting check()...
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
rootdir: /build/python-dasbus/src/dasbus-1.4
collected 169 items

tests/test_client.py .........                                           [  5%]
tests/test_connection.py ..............                                  [ 13%]
tests/test_container.py ........                                         [ 18%]
tests/test_dbus.py Fatal Python error: Aborted

Current thread 0x00007f2bf1fbc740 (most recent call first):
  File "/build/python-dasbus/src/dasbus-1.4/tests/test_dbus.py", line 142 in setUp
  File "/usr/lib/python3.9/unittest/case.py", line 547 in _callSetUp
  File "/usr/lib/python3.9/unittest/case.py", line 589 in run
  File "/usr/lib/python3.9/unittest/case.py", line 653 in __call__
  File "/usr/lib/python3.9/site-packages/_pytest/unittest.py", line 321 in runtest
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 162 in pytest_runtest_call
  File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 255 in <lambda>
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 311 in from_call
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 254 in call_runtest_hook
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 215 in call_and_report
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 126 in runtestprotocol
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 109 in pytest_runtest_protocol
  File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 348 in pytest_runtestloop
  File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 323 in _main
  File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 269 in wrap_session
  File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main
  File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 162 in main
  File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 185 in console_main
  File "/usr/bin/pytest", line 33 in <module>
/startdir/PKGBUILD: line 24:   836 Aborted                 (core dumped) pytest

Running make coverage (upstream's way of running tests apparently) passes though, so I guess it's perhaps related to pytest or a missing dependency in chroot?