David Runge pushed to branch main at Arch Linux / Packaging / Packages / python-pycares
Commits: 8e70ec57 by David Runge at 2024-04-04T10:07:27+02:00 Deselect failing tests more specifially Deselect two more that are failing: * `tests/test_all.py::DNSTest::test_idna_encoding_query_a` * `tests/test_all.py::DNSTest::test_query_txt_chunked` Signed-off-by: David Runge <[email protected]> - - - - - f32ae231 by David Runge at 2024-04-04T10:09:15+02:00 upgpkg: 4.4.0-2: Rebuild against Python 3.12 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-pycares pkgdesc = Python interface for c-ares pkgver = 4.4.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/saghul/pycares arch = x86_64 license = MIT ===================================== PKGBUILD ===================================== @@ -3,7 +3,7 @@ pkgname=python-pycares _name=${pkgname#python-} pkgver=4.4.0 -pkgrel=1 +pkgrel=2 pkgdesc='Python interface for c-ares' arch=('x86_64') url=https://github.com/saghul/pycares @@ -27,10 +27,19 @@ build() { } check() { + local pytest_options=( + -vv + --deselect tests/test_all.py::DNSTest::test_idna_encoding_query_a + --deselect tests/test_all.py::DNSTest::test_query_txt_chunked + --deselect tests/test_all.py::DNSTest::test_gethostbyaddr + --deselect tests/test_all.py::DNSTest::test_gethostbyaddr6 + --deselect tests/test_all.py::DNSTest::test_getnameinfo + ) + cd "$_name" python -m venv --system-site-packages test-env test-env/bin/python -m installer dist/*.whl - test-env/bin/python -m pytest -v -k 'not test_gethostbyaddr and not test_gethostbyaddr6 and not test_getnameinfo' + test-env/bin/python -m pytest "${pytest_options[@]}" } package() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pycares/-/compare/51588ed31946224c8a3a168ea13d93bf49eef944...f32ae23129c6715396755feb1230394eff570a00 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pycares/-/compare/51588ed31946224c8a3a168ea13d93bf49eef944...f32ae23129c6715396755feb1230394eff570a00 You're receiving this email because of your account on gitlab.archlinux.org.
