diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2025-09-23 20:10:38 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:37:00 +0100 |
| commit | aa7383fdc06bf29be52da6785b8f307facb705e5 (patch) | |
| tree | 95c91396ed00d3f918c6b4afee95c504a32fa493 /gnu/packages/python-xyz.scm | |
| parent | 5a652329995d646a3376d8e8d4c75f0009cff0e8 (diff) | |
gnu: python-dbus-fast: Update to 2.44.3.
* gnu/packages/python-xyz.scm (python-dbus-fast): Update to 2.44.3.
[source]: Switch to git-fetch; PyPI does not have tests.
[arguments] <test-flags>: Disable tests needing python_codspeed or access dbus.
[native-inputs]: Remove python-wheel; add python-pytest, python-pytest-cov,
python-pytest-asyncio, and python-covdefaults.
Change-Id: I36b16866bd3a7a17b4468db411d60e702d526d69
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d378a3bd28..aee2b4483c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -39270,16 +39270,34 @@ Currently, Linux is the only platform supported by this library.") (define-public python-dbus-fast (package (name "python-dbus-fast") - (version "2.30.2") + (version "2.44.3") (source (origin - (method url-fetch) - (uri (pypi-uri "dbus_fast" version)) + (method git-fetch) ;No tests in PyPI package. + (uri (git-reference + (url "https://github.com/Bluetooth-Devices/dbus-fast") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1cx71lbw716smpr4vsc9d421v45s36hcqj2z95nl3wm2yhan6ac7")))) + (base32 "12f1f25ny7fd59s55gw3vr6ymdqgd51zzpbc1nkqfbmb166d1536")))) (build-system pyproject-build-system) - (native-inputs (list python-cython python-poetry-core python-setuptools - python-wheel)) + (arguments + (list + #:test-flags + '(list + ;; These tests need pytest_codspeed. + "--ignore-glob=tests/benchmarks/test_*marshall.py" + ;; These tests all fail with: + ;; dbus_fast.errors.InvalidAddressError: DBUS_SESSION_BUS_ADDRESS not + ;; set and could not get DISPLAY environment variable to get bus address + "-m" "not asyncio"))) + (native-inputs (list python-cython + python-poetry-core + python-setuptools + python-pytest + python-pytest-cov + python-pytest-asyncio + python-covdefaults)) (home-page "https://github.com/bluetooth-devices/dbus-fast") (synopsis "Faster version of dbus-next") (description "This package provides a faster version of dbus-next.") |
