guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit ff5fecc23ec7f0ea606844187115d27a48b31eeb
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Sep 20 19:00:55 2025 +0200
gnu: python-discogs-client: Fix tests.
* gnu/packages/music.scm (python-discogs-client)
[source]: Switch to git-fetch.
[arguemnts]<#:test-backend>: Set it.
[native-inputs]: Remove python-wheel.
[propagated-inputs, description]: Improve style.
Change-Id: I8077c8505945b8407b132a74673b2cd1972e2385
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/music.scm | 37 ++++++++++++++++++-------------------
1 file changed, 18 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 72818c3921..a1a72e5767 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5056,28 +5056,27 @@ provide a very simple interface for editing and playing
MIDI loops.")
(package
(name "python-discogs-client")
(version "2.8")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "python3_discogs_client" version))
- (sha256
- (base32
- "0fxk8q8z5v5l961d9z2ywq49i2fz50h074p81zv6w6j9zzs7fb0g"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/joalla/discogs_client")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ga48ds2q4as8srmvhq3ri1w7p7pmrr4yswcp9nf5c1rwdy02qys"))))
(build-system pyproject-build-system)
- (native-inputs
- (list python-setuptools
- python-wheel))
- (propagated-inputs
- (list python-dateutil
- python-oauthlib
- python-requests))
+ (arguments (list #:test-backend #~'unittest))
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-dateutil python-oauthlib python-requests))
(home-page "https://github.com/joalla/discogs_client")
(synopsis "Python client for the Discogs API")
- (description "This is the continuation of the official Discogs API
-client for Python. It enables you to query the Discogs database for
-information on artists, releases, labels, users, Marketplace listings,
-and more. It also supports OAuth 1.0a authorization, which allows you to
-change user data such as profile information, collections and wantlists,
-inventory, and orders.")
+ (description
+ "This is the continuation of the official Discogs API client for Python.
+It enables you to query the Discogs database for information on artists,
+releases, labels, users, Marketplace listings,and more. It also supports
+OAuth 1.0a authorization, which allows you to change user data such as profile
+information, collections and wantlists,inventory, and orders.")
(license license:bsd-2)))
(define-public libsmf