From 1434b4e6c78cf47ae0611a079098ef392cc2ea92 Mon Sep 17 00:00:00 2001 From: Ian Eure Date: Sat, 20 Dec 2025 14:12:32 -0800 Subject: [PATCH] gnu: python-pypresence: Update to 4.6.1 and fix the build. * gnu/packages/messaging.scm (python-pypresence): Update to 4.6.1. (native-inputs): Add build/test inputs. (arguments): Declare the build backend. (arguments): Disable tests. Change-Id: I798ea40f4be2a1b15a7eed23673529b3a8a0cb41 --- gnu/packages/messaging.scm | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index c2c5890b53e..cad8fc0f412 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3368,14 +3368,26 @@ Discord.") (define-public python-pypresence (package (name "python-pypresence") - (version "4.2.1") - (source (origin - (method url-fetch) - (uri (pypi-uri "pypresence" version)) - (sha256 - (base32 - "0rp09lfxbc3syd1rhbai2516c3wyfxkzrsw8v4bd57qqr2cay7b9")))) - (build-system python-build-system) + (version "4.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pypresence" version)) + (sha256 + (base32 + "0krk217hq8m76m7n6kv60wkm9fmpm8am9kdk6yv85qdllcb9a685")))) + (build-system pyproject-build-system) + (arguments + (list + #:build-backend "setuptools.build_meta" + ;; Tests are broken, complaining "fixture 'client_id' not found." + #:tests? #f)) + (native-inputs + (list + python-setuptools + python-pytest + python-pytest-asyncio + python-wheel)) (home-page "https://github.com/qwertyquerty/pypresence") (synopsis "Discord RPC client") (description "This package provides @code{python-pypresence}, a Discord