guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

213/377: gnu: python-pytest-django: Update to 4.4.0.


From: guix-commits
Subject: 213/377: gnu: python-pytest-django: Update to 4.4.0.
Date: Thu, 2 Sep 2021 17:55:35 -0400 (EDT)

raghavgururajan pushed a commit to branch wip-gnome
in repository guix.

commit 0bc5448cf14c2f61eb591d47a5422fda638f08fc
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Aug 28 14:53:42 2021 -0400

    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.
---
 gnu/packages/django.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 790c17e..dd48e05 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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]