summaryrefslogtreecommitdiff
path: root/gnu/packages/django.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-08-28 14:53:42 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-08-29 01:05:29 -0400
commit0bc5448cf14c2f61eb591d47a5422fda638f08fc (patch)
treec09a0ac531c811d9dd81c29bb05d6a39511d6f32 /gnu/packages/django.scm
parent352f72ac02400551eb8a06a5ac964444cf33ba78 (diff)
gnu: python-pytest-django: Update to 4.4.0.
* gnu/packages/django.scm (python-pytest-django): Update to 4.4.0. [tests?]: Disable test suite. [native-inputs]: Replace python-pytest-xdist by python-pytest-xdist-next. [home-page]: Update home page.
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r--gnu/packages/django.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 790c17ec24..dd48e0553a 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -318,16 +318,19 @@ size and quality.")
(define-public python-pytest-django
(package
(name "python-pytest-django")
- (version "3.10.0")
+ (version "4.4.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "pytest-django" version))
(sha256
(base32
- "19nvqsb7b9kz3ikpb50m8ppf7mfhzrapdxsqd5hhd1pdfz8dprjd"))))
+ "0mglnz0w6k7dgw1jn6giv56pmdjd6a3zwwkhxb2kyzmzk0viw5xm"))))
(build-system python-build-system)
(arguments
- `(#:phases
+ ;; The test suite is disabled because there are many test failures (see:
+ ;; https://github.com/pytest-dev/pytest-django/issues/943).
+ `(#:tests? #f
+ #:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
@@ -352,12 +355,11 @@ size and quality.")
(native-inputs
`(("python-django" ,python-django)
("python-setuptools-scm" ,python-setuptools-scm)
-
;; For tests.
- ("python-pytest-xdist" ,python-pytest-xdist)))
+ ("python-pytest-xdist" ,python-pytest-xdist-next)))
(propagated-inputs
`(("python-pytest" ,python-pytest-6)))
- (home-page "https://pytest-django.readthedocs.org/")
+ (home-page "https://pytest-django.readthedocs.io/")
(synopsis "Django plugin for py.test")
(description "Pytest-django is a plugin for py.test that provides a set of
useful tools for testing Django applications and projects.")