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 51430138334 for ; Wed, 24 Oct 2018 09:20:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 185E1E095A; Wed, 24 Oct 2018 09:20:39 +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 E1F2AE095A for ; Wed, 24 Oct 2018 09:20:37 +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 B1CCF335C7D for ; Wed, 24 Oct 2018 09:20:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A45B63F1 for ; Wed, 24 Oct 2018 09:20:33 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1540372815.6c76f6521560c1b8f14eb034b2f4e3ab9611ff6b.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/geventhttpclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild X-VCS-Directories: dev-python/geventhttpclient/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 6c76f6521560c1b8f14eb034b2f4e3ab9611ff6b X-VCS-Branch: master Date: Wed, 24 Oct 2018 09:20:33 +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-Archives-Salt: 8a4d8fb2-163c-4319-becb-7dea00b78b31 X-Archives-Hash: 80679a1b4d829a86662e6b9b0f4632b0 commit: 6c76f6521560c1b8f14eb034b2f4e3ab9611ff6b Author: Louis Sautier gentoo org> AuthorDate: Wed Oct 24 09:13:14 2018 +0000 Commit: Louis Sautier gentoo org> CommitDate: Wed Oct 24 09:20:15 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c76f652 dev-python/geventhttpclient: fix ImportError while collecting tests Closes: https://bugs.gentoo.org/667758 Signed-off-by: Louis Sautier gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild index bbedb9e89a2..a16291b3b01 100644 --- a/dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild +++ b/dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -36,7 +36,9 @@ python_prepare_all() { python_test() { # Ignore tests which require network access - py.test src/geventhttpclient/tests --ignore \ + # Append to sys.path to avoid ImportError + # https://bugs.gentoo.org/667758 + pytest --import-mode=append -vv src/geventhttpclient/tests --ignore \ src/geventhttpclient/tests/test_client.py || \ die "Tests failed with ${EPYTHON}" }