From b65d572bc23d04bd90823e4d3a6a5770ea85a4f7 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 26 Dec 2019 21:37:37 -0600 Subject: user/py3-python-dateutil: fix testing on newer PyTest versions --- user/py3-python-dateutil/APKBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/user/py3-python-dateutil/APKBUILD b/user/py3-python-dateutil/APKBUILD index 56e7075e8..833c61ed2 100644 --- a/user/py3-python-dateutil/APKBUILD +++ b/user/py3-python-dateutil/APKBUILD @@ -18,17 +18,17 @@ source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/ builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$builddir" python3 setup.py build } check() { - cd "$builddir" - pytest + # Required with PyTest >=4.8, see: + # https://bugzilla.redhat.com/show_bug.cgi?id=1734775 + # https://github.com/pytest-dev/pytest/issues/5678 + pytest -W ignore::pytest.PytestUnknownMarkWarning } package() { - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } -- cgit v1.2.3-70-g09d2