From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5276E138350 for ; Fri, 24 Apr 2020 14:39:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64AC4E0BF0; Fri, 24 Apr 2020 14:39:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4155AE0BF0 for ; Fri, 24 Apr 2020 14:39:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C249234F14D for ; Fri, 24 Apr 2020 14:39:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 430D81E3 for ; Fri, 24 Apr 2020 14:39:14 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1587739150.206c053e8226dd326120d25e6ce8392c16cf570d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/twisted/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/twisted/twisted-19.10.0.ebuild X-VCS-Directories: dev-python/twisted/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 206c053e8226dd326120d25e6ce8392c16cf570d X-VCS-Branch: master Date: Fri, 24 Apr 2020 14:39:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2843af10-4a9f-4a73-8381-146ee899e412 X-Archives-Hash: 658b019cd6591fddab89051ddef889df commit: 206c053e8226dd326120d25e6ce8392c16cf570d Author: Michał Górny gentoo org> AuthorDate: Fri Apr 24 14:25:18 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Apr 24 14:39:10 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=206c053e dev-python/twisted: Skip tests failing on py2.7 Signed-off-by: Michał Górny gentoo.org> dev-python/twisted/twisted-19.10.0.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dev-python/twisted/twisted-19.10.0.ebuild b/dev-python/twisted/twisted-19.10.0.ebuild index 540e74f97ed..1112e8b1d49 100644 --- a/dev-python/twisted/twisted-19.10.0.ebuild +++ b/dev-python/twisted/twisted-19.10.0.ebuild @@ -82,6 +82,10 @@ DEPEND=" S=${WORKDIR}/${TWISTED_P} python_prepare_all() { + # upstream test for making releases; not very useful and requires + # sphinx (including on py2) + rm src/twisted/python/test/test_release.py || die + # puts system in EMFILE state, then the exception handler may fail # trying to open more files due to some gi magic sed -e '/SKIP_EMFILE/s:None:"Fails on non-pristine systems":' \ @@ -107,6 +111,12 @@ python_prepare_all() { sed -e 's:test_getTimezoneOffsetWithoutDaylightSavingTime:_&:' \ -i src/twisted/test/test_log.py || die + # TODO: failures specific to Python 2 + sed -e 's:testLookupProcNetTcp:_&:' \ + -i src/twisted/test/test_ident.py || die + sed -e 's:test_loggingFactoryOpensLogfileAutomatically:_&:' \ + -i src/twisted/test/test_policies.py || die + distutils-r1_python_prepare_all }