[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: gnu: python-prawcore: Update to 7.5.0.
From: |
guix-commits |
Subject: |
07/10: gnu: python-prawcore: Update to 7.5.0. |
Date: |
Mon, 22 Nov 2021 02:58:41 -0500 (EST) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit c8b535aa6962501e945acdf4acc7dcd9d73ce28b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Nov 22 07:38:00 2021 +0100
gnu: python-prawcore: Update to 7.5.0.
* gnu/packages/python-web.scm (python-prawcore): Update to 7.5.0.
[arguments]: Disable two broken tests.
---
gnu/packages/python-web.scm | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 54ac98c..5c9d570 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -125,13 +125,13 @@
(define-public python-praw
(package
(name "python-praw")
- (version "7.2.0")
+ (version "7.5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "praw" version))
(sha256
- (base32 "0ll1a0n8xs8gykizdsfrw63jp6bc39ab0pk3yzwcak96fyxh0ij3"))))
+ (base32 "1nqcwz8r8xp4rfpy2i11x2fjga8fmmf6zw94xjk1h1yxgn1gq6zr"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -139,16 +139,18 @@
(add-after 'unpack 'disable-failing-tests
(lambda _
(with-directory-excursion "tests"
- ;; Require networking.
+ ;; Integration tests depend on files that are not included.
(for-each delete-file-recursively
'("integration/models" "unit/models"))
- ;; https://github.com/praw-dev/praw/issues/1699
- ;; #issuecomment-795336704
+ ;; The configuration file does not seem to exist.
(delete-file "unit/test_config.py"))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke "pytest")))))))
+ (invoke "pytest" "-k"
+ ;; These tests depend on test files that don't exist.
+ (string-append "not
test_bad_request_without_json_text_plain_response"
+ " and not
test_bad_request_without_json_text_html_response"))))))))
(native-inputs
`(("python-betamax" ,python-betamax)
("python-betamax-matchers" ,python-betamax-matchers)
- branch core-updates-frozen updated (b033079 -> 17017eb), guix-commits, 2021/11/22
- 01/10: gnu: Add python-update-checker., guix-commits, 2021/11/22
- 02/10: gnu: python-praw: Add missing input., guix-commits, 2021/11/22
- 04/10: gnu: giara: Use GUIX_PYTHONPATH., guix-commits, 2021/11/22
- 06/10: gnu: python-prawcore: Update to 2.3.0., guix-commits, 2021/11/22
- 03/10: gnu: python-praw: Remove trailing #T., guix-commits, 2021/11/22
- 09/10: gnu: vtk-8: Pass -fcommon to compiler., guix-commits, 2021/11/22
- 05/10: gnu: giara: Use libsoup2 variant of webkitgtk., guix-commits, 2021/11/22
- 08/10: gnu: opencascade-occt: Use TBB 2020., guix-commits, 2021/11/22
- 10/10: gnu: freecad: Use GUIX_PYTHONPATH., guix-commits, 2021/11/22
- 07/10: gnu: python-prawcore: Update to 7.5.0.,
guix-commits <=