guix_mirror_bot pushed a commit to branch master
in repository guix.
commit d5ae99f88457fc7a8290acabb68d58f1761eac9c
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 26 19:09:02 2025 +0100
gnu: python-requests-file: Update to 3.0.1.
* gnu/packages/python-xyz.scm (python-requests-file): Update to 3.0.1.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Drop them.
[native-inputs]: Add python-pytest, python-setuptools.
[propagated-inputs]: Remove python-six.
[home-page]: Update it.
Change-Id: Iaeae065b9ab7fbb54a442d9890f98673a78cb3ef
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 26 +++++++++++---------------
1 file changed, 11 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5cdcbfb071..77feb19fb2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27676,24 +27676,20 @@ and corruption checks.")
(define-public python-requests-file
(package
(name "python-requests-file")
- (version "1.5.1")
+ (version "3.0.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "requests-file" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://codeberg.org/dashea/requests-file")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "13kx4k83i9zcv20h0fnmawwwdzhcmw1z97mqib1h379qsc445mq7"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "tests/test_requests_file.py")))))))
- (propagated-inputs
- (list python-requests python-six))
- (home-page "https://github.com/dashea/requests-file")
+ (base32 "0wvz2fkx01libz731a9pfx0l5p44cd33ba8gs7kw5dksfzfwvark"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
+ (propagated-inputs (list python-requests))
+ (home-page "https://codeberg.org/dashea/requests-file")
(synopsis "File transport adapter for Requests")
(description
"Requests-File is a transport adapter for use with the Requests Python