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

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Nov 15 16:22:17 UTC 2019


    Date: Friday, November 15, 2019 @ 16:22:17
  Author: yan12125
Revision: 529259

python-autobahn: add a workaround for test failures

Ref: https://github.com/crossbario/autobahn-python/issues/1269

Modified:
  python-autobahn/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-15 16:08:03 UTC (rev 529258)
+++ PKGBUILD	2019-11-15 16:22:17 UTC (rev 529259)
@@ -44,7 +44,9 @@
   cd "$srcdir/autobahn-$pkgver"
   pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
   USE_TWISTED=1 PYTHONPATH=.:build/lib.linux-$CARCH-$pyver trial3 autobahn
-  USE_ASYNCIO=1 PYTHONPATH=.:build/lib.linux-$CARCH-$pyver pytest -v autobahn
+  # --ignore is a workaround for collection failures with pytest 5.2.3
+  # Reported at https://github.com/crossbario/autobahn-python/issues/1269
+  USE_ASYNCIO=1 PYTHONPATH=.:build/lib.linux-$CARCH-$pyver pytest -v --ignore=autobahn/twisted/__init__.py autobahn
 }
 
 package() {



More information about the arch-commits mailing list