[arch-commits] Commit in python-authlib/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Oct 18 15:21:29 UTC 2020


    Date: Sunday, October 18, 2020 @ 15:21:29
  Author: yan12125
Revision: 726103

upgpkg: python-authlib 0.15.2-1; update for compatibility with the latest httpx; add workaround for an upstream issue [1] in check()

[1] https://github.com/lepture/authlib/issues/284

Modified:
  python-authlib/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-18 15:20:31 UTC (rev 726102)
+++ PKGBUILD	2020-10-18 15:21:29 UTC (rev 726103)
@@ -2,9 +2,9 @@
 
 _pkgname=authlib
 pkgname=python-authlib
-pkgver=0.14.3
-_commit=ffdc4378a2b0c8e6627170396384d1bfcfb7ed40
-pkgrel=2
+pkgver=0.15.2
+_commit=1969b567733f6426e5a8e20c5edf3371e9d23e5c
+pkgrel=1
 pkgdesc="The ultimate Python library in building OAuth and OpenID Connect servers"
 arch=('any')
 url="https://github.com/lepture/${_pkgname}"
@@ -39,7 +39,11 @@
 check() {
     cd "${srcdir}"/${_pkgname}
 
-    python -m pytest
+    # Some tests fail is run with Django with Flask tests
+    # https://github.com/lepture/authlib/issues/284
+    python -m pytest --ignore tests/django --ignore tests/flask
+    python -m pytest tests/django
+    python -m pytest tests/flask
 }
 
 package() {



More information about the arch-commits mailing list