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 D331713835C for ; Wed, 16 Jun 2021 18:57:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88CA0E0828; Wed, 16 Jun 2021 18:57:12 +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 2F672E077D for ; Wed, 16 Jun 2021 18:57:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CD1FC340E3A for ; Wed, 16 Jun 2021 18:57:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D52B77B8 for ; Wed, 16 Jun 2021 18:57:07 +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: <1623869820.da455f72ea2399dd5bebea2c3f3faec0173a0ff4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/uvicorn/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/uvicorn/uvicorn-0.14.0.ebuild X-VCS-Directories: dev-python/uvicorn/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: da455f72ea2399dd5bebea2c3f3faec0173a0ff4 X-VCS-Branch: master Date: Wed, 16 Jun 2021 18:57:07 +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: dd94d0bd-c706-4589-ac89-920e1ea92dbb X-Archives-Hash: d588a6179f3631c1fb1c7aae0108f7d0 commit: da455f72ea2399dd5bebea2c3f3faec0173a0ff4 Author: Michał Górny gentoo org> AuthorDate: Wed Jun 16 17:45:30 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jun 16 18:57:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da455f72 dev-python/uvicorn: Skip tests requiring python-dotenv in 0.14.0 Signed-off-by: Michał Górny gentoo.org> dev-python/uvicorn/uvicorn-0.14.0.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-python/uvicorn/uvicorn-0.14.0.ebuild b/dev-python/uvicorn/uvicorn-0.14.0.ebuild index f6347568597..3b12bff47fd 100644 --- a/dev-python/uvicorn/uvicorn-0.14.0.ebuild +++ b/dev-python/uvicorn/uvicorn-0.14.0.ebuild @@ -42,3 +42,12 @@ python_prepare_all() { -i tests/supervisors/test_reload.py distutils-r1_python_prepare_all } + +python_test() { + local deselect=( + # requires python-dotenv that's not keyworded everywhere yet + # see 0.14.0-r1 + tests/test_config.py::test_env_file + ) + epytest ${deselect[@]/#/--deselect } +}