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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D1ED158649 for ; Wed, 10 May 2023 19:24:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F1CEE0AA6; Wed, 10 May 2023 19:24:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75E30E0AA6 for ; Wed, 10 May 2023 19:24:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6563833BE4E for ; Wed, 10 May 2023 19:24:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A93AC8E4 for ; Wed, 10 May 2023 19:24:17 +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: <1683746233.9b2b5a5e6d9d8ead906008c544f1178bff9d62c4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/hatchling/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/hatchling/hatchling-1.15.0.ebuild X-VCS-Directories: dev-python/hatchling/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9b2b5a5e6d9d8ead906008c544f1178bff9d62c4 X-VCS-Branch: master Date: Wed, 10 May 2023 19:24:17 +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: 7eefdc88-9a9a-448a-9355-0d6f0f763116 X-Archives-Hash: 7198ad514396e9921e47adbd15eb9380 commit: 9b2b5a5e6d9d8ead906008c544f1178bff9d62c4 Author: Michał Górny gentoo org> AuthorDate: Wed May 10 19:12:09 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 10 19:17:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b2b5a5e dev-python/hatchling: Workaround test failures w/ no cargo(1) Closes: https://bugs.gentoo.org/906081 Signed-off-by: Michał Górny gentoo.org> dev-python/hatchling/hatchling-1.15.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-python/hatchling/hatchling-1.15.0.ebuild b/dev-python/hatchling/hatchling-1.15.0.ebuild index d19c9d5239f8..a71cd5b7faf4 100644 --- a/dev-python/hatchling/hatchling-1.15.0.ebuild +++ b/dev-python/hatchling/hatchling-1.15.0.ebuild @@ -69,11 +69,16 @@ python_test() { tests/backend/dep/test_core.py::test_extra_unmet tests/backend/dep/test_core.py::test_unknown_extra tests/backend/dep/test_core.py::test_version_unmet + # broken if CARGO is set + tests/backend/builders/test_app.py::TestBuildBootstrap::test_no_cargo ) # top-level "tests" directory contains tests both for hatch # and hatchling cd "${WORKDIR}/${MY_P}" || die local -x PYTHONPATH="src:${PYTHONPATH}" + # tests mock cargo subprocess call but the backend raises if CARGO + # is not set and shutil.which() can't find it + local -x CARGO=cargo epytest tests/backend }