mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: python-django-allauth: Update to 0.40.0.
* gnu/packages/django.scm (python-django-allauth): Update to 0.40.0. [arguments]: Remove 'skip-test-requiring-network-access phase. Adjust custom 'check phase.
This commit is contained in:
parent
04eba1d046
commit
5b1a9e0759
1 changed files with 4 additions and 17 deletions
|
@ -392,36 +392,23 @@ (define-public python2-django-filter
|
||||||
(define-public python-django-allauth
|
(define-public python-django-allauth
|
||||||
(package
|
(package
|
||||||
(name "python-django-allauth")
|
(name "python-django-allauth")
|
||||||
(version "0.39.1")
|
(version "0.40.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "django-allauth" version))
|
(uri (pypi-uri "django-allauth" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"17l0acpr3cihdndzccjhgv58f9z170v2qwx7w0b8w6235x646i24"))))
|
"12f5gjidcpb7a0d1f601k0c5dcdmb6fg9sfn7xn5j8zfsg29y63a"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; TODO: Tagging the tests requiring the web could be done upstream.
|
|
||||||
(add-before 'check 'skip-test-requiring-network-access
|
|
||||||
(lambda _
|
|
||||||
(substitute* "allauth/socialaccount/providers/openid/tests.py"
|
|
||||||
(("import override_settings") "import tag, override_settings")
|
|
||||||
(("def test_login")
|
|
||||||
"@tag('requires-web')
|
|
||||||
def test_login"))))
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
;; TODO: investigate why this test fails
|
|
||||||
(delete-file "allauth/socialaccount/providers/cern/tests.py")
|
|
||||||
(setenv "DJANGO_SETTINGS_MODULE" "test_settings")
|
(setenv "DJANGO_SETTINGS_MODULE" "test_settings")
|
||||||
(invoke "django-admin"
|
(invoke "django-admin" "test" "allauth.tests"
|
||||||
"test"
|
"--pythonpath=."))))))
|
||||||
"allauth"
|
|
||||||
"--verbosity=2"
|
|
||||||
"--exclude-tag=requires-web"))))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-openid" ,python-openid)
|
`(("python-openid" ,python-openid)
|
||||||
("python-requests" ,python-requests)
|
("python-requests" ,python-requests)
|
||||||
|
|
Loading…
Reference in a new issue