From b07d8cf0e93688a04d1f977ee209e9bd92861a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 2 May 2023 00:32:26 -0300 Subject: [PATCH] python3-tornado: update to 6.3.2. --- srcpkgs/python3-tornado/template | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-tornado/template b/srcpkgs/python3-tornado/template index 48c9e57b0bd..bd8a8803689 100644 --- a/srcpkgs/python3-tornado/template +++ b/srcpkgs/python3-tornado/template @@ -1,20 +1,32 @@ # Template file for 'python3-tornado' pkgname=python3-tornado -version=6.2 +version=6.3.2 revision=1 -build_style=python3-module -hostmakedepends="python3-setuptools" +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" makedepends="python3-devel" depends="python3 ca-certificates" +checkdepends="python3-curl python3-pycares python3-Twisted" short_desc="Python3 web framework and asynchronous networking library" maintainer="Orphaned " license="Apache-2.0" homepage="http://www.tornadoweb.org/" +changelog="https://www.tornadoweb.org/en/stable/releases.html" distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz" -checksum=9b630419bde84ec666bfd7ea0a4cb2a8a651c2d5cccdbdd1972a0c859dfc3c13 -make_check=no # tests failing, already with 6.1 +checksum=4b927c4f19b71e627b13f3db2324e4ae660527143f9e1f2e2fb404f3a187e2ba -pre_build() { - # use system ca-certificates - sed -i "/install_requires.append('certifi')/d" setup.py +do_check() { + # There is one instance of test_bind_source_ip (the one for + # curl_httpclient_test.CurlHTTPClientCommonTestCase) + # which for some reason is taking a little bit over 5s + # (but only on x86_64-musl and only on CI). + # + # The default test timeout is 5s so the test times out and fails. + # See: https://github.com/void-linux/void-packages/pull/44312#issuecomment-1582361791 + # + # Setting the timeout to 6 works around it. + local -x ASYNC_TEST_TIMEOUT=6 + + # pytest is not supported + python3 -m tornado.test }