From nobody Tue Jun 21 20:14:59 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5D0B585AF53; Tue, 21 Jun 2022 20:15:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LSHn01yXZz4nxK; Tue, 21 Jun 2022 20:15:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655842500; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U02LAViLLmPI141GrzSIlSaCxlPnw8xiHJh4BdjUEBA=; b=vjzNuAXhbw6mVTTjEYbepjB7cn6IofPhs0QTIzj0OSYquFxip/JP3gsHYWc6H07ErTkNOt bt1ZI8ggLM3dROjaSAAJUWDu0dPcczcW6GRmxQyHFVsfcOZehSg/TAA3oLnKvz8aB4a/u1 s4QGReFpQC9A/Ezf6sp2i3eFuNDJST0S5trSVP6Gp3n9icAD5bfEEoFKMvchszauNqR9eb bars9apuiql9zk3vAPMXZZLua4MdVRkOUVtgebGmt+KI430slAme8dpij9UAhLGxCnXQHh /lAFH6XMxKBPZzEeZWx+nBcreFSVNYH+GgY+JXawosiZowfuUEF5fLS5V6Rpkg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0200A18811; Tue, 21 Jun 2022 20:15:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25LKExsK059697; Tue, 21 Jun 2022 20:14:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25LKEx9v059696; Tue, 21 Jun 2022 20:14:59 GMT (envelope-from git) Date: Tue, 21 Jun 2022 20:14:59 GMT Message-Id: <202206212014.25LKEx9v059696@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 05c67b75e6ff - main - databases/py-duckdb: Fix tests List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 05c67b75e6fff13a55d27f4043bba974d397d3d2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655842500; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U02LAViLLmPI141GrzSIlSaCxlPnw8xiHJh4BdjUEBA=; b=QkaGNLkQKu1sfPDHuXDOnE5Do3RomhLpgrqs7Dmrlk5VkmdUGjzFM4kerPKM1P/VeMhEd8 nub5SSSRcAgYYP3H5eQOCV1VYYu1X3Ah3S2/Iu25JnbbHECMDZzthMaMGdcxMkCfbdCoer wRm2urq5udYhqbhvLaSUWio6KEZjdCvk9f1PzphxD1IlZR7BRPKQbNpKb6Sa3LFXY1WgHP QL7C//ihM0XWsmeac+Rw4zlyKuL6f/DIrbNPCQoyv6V/oXETz3pUMeq16Ndf65tYZ3VAU9 hX6LAEYlq23rwwWsFGsKPPR2B8c2wPZNKYcf6Lc5/859lISxfGtEnwhoLnE87Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655842500; a=rsa-sha256; cv=none; b=eeGIPbUdc9Na6OZ7pgV7zilliDZahvQrUUvdQnjpOo/2XbL9kRwoF8Lk/nWl61wDYIxsLY Ev7smt2W0AVrxaDacLF3WD/WUFLHtsadnxu4B9SQPGgvcMtl5Fk5NLGbr6GZ01nFthmMdm dOp17wzF+Z3tSvac6QfJcxFy04+gDjY1PYxhAJhoGXIHmL1NOXH9q0zvu8plXDFlbkO7L0 /DUTEb4/NFeoe2gG8lkc6+HwZWjhsr55fZFZhAiloZKaBqLeULp2N1tMy9KSToJoWQgnvd uRbTqzHAYGrPCzcvEinZinJnkRt+IhIahTBE+ehe0VI3T7iuOPRUwPlq6uocsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=05c67b75e6fff13a55d27f4043bba974d397d3d2 commit 05c67b75e6fff13a55d27f4043bba974d397d3d2 Author: Yuri Victorovich AuthorDate: 2022-06-21 19:53:13 +0000 Commit: Yuri Victorovich CommitDate: 2022-06-21 20:14:56 +0000 databases/py-duckdb: Fix tests --- databases/py-duckdb/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/databases/py-duckdb/Makefile b/databases/py-duckdb/Makefile index 4ae90e07824d..a4075806eacf 100644 --- a/databases/py-duckdb/Makefile +++ b/databases/py-duckdb/Makefile @@ -14,11 +14,16 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@$ ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}google-cloud-storage>0:www/py-google-cloud-storage@${PY_FLAVOR} USES= python USE_PYTHON= distutils autoplist pytest # tests fail, see https://github.com/duckdb/duckdb/issues/3924 +TEST_WRKSRC= ${WRKDIR} # tests fail when run from the build directory due to a name collision with duckdb directory +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +# 2 tests are known to fail, see https://github.com/duckdb/duckdb/issues/3930 + post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/duckdb.cpython-${PYTHON_SUFFIX}.so