From 8a3c363dd41f043a7a343cd96f25e52698832d0a Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 19 Jan 2026 22:28:08 +0100 Subject: [PATCH] gnu: python-dbusmock-minimal: Rename to python-dbusmock-for-tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gnome.scm (upower) * gnu/packages/gtk.scm (at-spi2-core) * gnu/packages/polkit.scm (polkit) [native-inputs]: Remove python-dbusmock-minimal; add python-dbusmock-for-tests. * gnu/packages/python-xyz.scm (python-dbusmock-minimal): Rename to python-dbusmock-for-tests. (python-dbusmock-minimal): New deprecated package. Change-Id: I640ede147bd1b85b671a76b2d9096fea063164b1 Reviewed-by: Nguyễn Gia Phong Reviewed-by: Liliana Marie Prikler Signed-off-by: Sharlatan Hellseher --- gnu/packages/gnome.scm | 2 +- gnu/packages/gtk.scm | 2 +- gnu/packages/polkit.scm | 2 +- gnu/packages/python-xyz.scm | 8 ++++++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 3367c966e5..dc779c12a7 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5883,7 +5883,7 @@ faster results and to avoid unnecessary server load.") python ;; For tests. python-dbus - python-dbusmock-minimal + python-dbusmock-for-tests python-packaging python-pygobject umockdev diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 662c9871a9..25abc0cfad 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -861,7 +861,7 @@ images.") gobject-introspection gsettings-desktop-schemas pkg-config - python-dbusmock-minimal + python-dbusmock-for-tests python-pytest python-wrapper)) (synopsis "Assistive Technology Service Provider Interface, core components") diff --git a/gnu/packages/polkit.scm b/gnu/packages/polkit.scm index bcbc08c707..6f45341cce 100644 --- a/gnu/packages/polkit.scm +++ b/gnu/packages/polkit.scm @@ -204,7 +204,7 @@ able to request elevated privileges.") perl pkg-config python - python-dbusmock-minimal)) + python-dbusmock-for-tests)) (home-page "https://www.freedesktop.org/wiki/Software/polkit/") (synopsis "Authorization API for privilege management") (description "Polkit is an application-level toolkit for defining and diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d44b52f4cc..914ac1eca8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28887,10 +28887,10 @@ impossible without root privileges) to set the state of the real services to what you expect in your tests.") (license license:lgpl3+))) -(define-public python-dbusmock-minimal +(define-public python-dbusmock-for-tests (package (inherit python-dbusmock) - (name "python-dbusmock-minimal") + (name "python-dbusmock-for-tests") (version "0.37.2") (source (origin @@ -28911,6 +28911,10 @@ what you expect in your tests.") (native-inputs (list python-setuptools which)) (properties '((hidden? . #t))))) +;; XXX: Deprecated on <2026-01-21>. +(define-deprecated/public-alias python-dbusmock-minimal + python-dbusmock-for-tests) + (define-public python-jsonplus (package (name "python-jsonplus")