gnu: python-pytest-django: Update to 4.11.1.

* gnu/packages/django.scm (python-pytest-django): Update to 4.11.1.
[source]: Update URI.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
[home-page]: Follow redirect.

Change-Id: I65286ea9c62a051f2207cdb73cb6b7c559089bc0
This commit is contained in:
Vinicius Monego 2025-07-14 22:51:57 -03:00
parent bf2e08a059
commit 83cd6d12e2
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -11,6 +11,7 @@
;;; Copyright © 2021 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com> ;;; Copyright © 2021 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
;;; Copyright © 2022 Pradana Aumars <paumars@courrier.dev> ;;; Copyright © 2022 Pradana Aumars <paumars@courrier.dev>
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2025 Vinicius Monego <monego@posteo.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -429,14 +430,14 @@ size and quality.")
(define-public python-pytest-django (define-public python-pytest-django
(package (package
(name "python-pytest-django") (name "python-pytest-django")
(version "4.5.2") (version "4.11.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pytest-django" version)) (uri (pypi-uri "pytest_django" version))
(sha256 (sha256
(base32 (base32
"1hp61jbnnhnjxzdrz9ni08lzrv8q7iiycnnxvcwnkhxpkdsny1yr")))) "14br4bzx07yxrx6xsyyhlpjgb0sz6lflbw90g87cn0z13qd18jd9"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
;; The test suite is disabled because there are many test failures (see: ;; The test suite is disabled because there are many test failures (see:
;; https://github.com/pytest-dev/pytest-django/issues/943). ;; https://github.com/pytest-dev/pytest-django/issues/943).
@ -459,10 +460,10 @@ size and quality.")
" and not test_urls_cache_is_cleared"))) " and not test_urls_cache_is_cleared")))
(format #t "test suite not run~%"))))))) (format #t "test suite not run~%")))))))
(native-inputs (native-inputs
(list python-setuptools-scm)) (list python-setuptools python-setuptools-scm python-wheel))
(propagated-inputs (propagated-inputs
(list python-pytest)) (list python-pytest))
(home-page "https://pytest-django.readthedocs.org/") (home-page "https://pytest-django.readthedocs.io/")
(synopsis "Django plugin for py.test") (synopsis "Django plugin for py.test")
(description "Pytest-django is a plugin for py.test that provides a set of (description "Pytest-django is a plugin for py.test that provides a set of
useful tools for testing Django applications and projects.") useful tools for testing Django applications and projects.")