From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ILkIFGotgWb3XQAAqHPOHw:P1 (envelope-from ) for ; Sun, 30 Jun 2024 10:03:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ILkIFGotgWb3XQAAqHPOHw (envelope-from ) for ; Sun, 30 Jun 2024 12:03:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=NLp07hB3; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719741802; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=M08LQ2RPplzjGUSG6JodTmZiKv7r2qTwn0cnj/EfI9Y=; b=Wcercr7+kwt3FFmGbz5rRzRltaT43l6WgdT3ingkU8ZPfNvYGjb89ZLqa61sGTp+cjUJlz ToeYMllpgkFVnfUG2BW5eLAmiBmsN5wvqyffWtE4+pVVCiEhowRgPRFcnHLfQPWPUsU1r7 LoOsK3GebwFIhEfTlayqrXFDIrq/V3q9w08pCxfGMsHJik93PcJ+8zNasw0+xq5Kc2ka7k Mb5IhkvCYUGoC+J819Q/nZgJQgFSZ7vEli0mzXTgueb8UAk1oa2ZQIfGof2Z1ZmfnZSQIJ bmqq26f9g2MHdwXTIGv++sX++HZiK0nf1UjjOey6seRf4Ppc3YvdJY0IM9hRSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=NLp07hB3; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719741802; a=rsa-sha256; cv=none; b=WkOtDQm/ft+RIZhQfwENHaDjcc2AZN9ijiWi/YsQ5yP6QZsNOxgreW+KY8A8UXh/tztZ36 4l2Z8BH9rxXFAIbzNNqGicuqFOO2O5kf1ay16Hp6hWHQyIfy4/jmOkYmT5+xerZaUYCEiP nAr1U6lRcuA2jPwjDrPXSWswGY+fi/UB2DcvYvzSCeT+y4zFIDgQNaFxxpInILtwecX9q9 UEZhkBYQDHfJtYwlQgzYxPQGgnCoKtr1widYFiYRuwj33CYVBgwJ6bTqLFOtmurH9G1VHH YnszdiLvi5IEFmS2SOk6vPFavfmRjk4PlD5VFZPE2IFXKBf3Zfh7zl1aBAXDDQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 09FB05740A for ; Sun, 30 Jun 2024 12:03:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNrOW-0002rT-JG; Sun, 30 Jun 2024 06:02:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNrOS-0002qJ-Jr for guix-devel@gnu.org; Sun, 30 Jun 2024 06:02:49 -0400 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNrOQ-00041v-Bl; Sun, 30 Jun 2024 06:02:48 -0400 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-52cdd03d6aaso2345861e87.0; Sun, 30 Jun 2024 03:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719741763; x=1720346563; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=M08LQ2RPplzjGUSG6JodTmZiKv7r2qTwn0cnj/EfI9Y=; b=NLp07hB3o7sXeSoDHuaExodNpUqM09fXn7fvOoL7nTVZaokvJSRhfyYbzLe8cQeHXt +RQSQHrl4KBNKbUPX5ZJsF8b77G2Nn4ocGUAk4oJGh6+lt23hlyuPBtPpN0HZsGkuulR /M4IAZpYNVxfeUkTRjxtR6ZJvBPG/PKCRiEsbu2QFJMCTz3SGFKa6DelgecRgte/2VCx Yn92ZULfq0HFzsF/XSnYjIiyrfyxf8MkzrHZxbtrFVnB87gLxbklWMBx1FsZeHJKqN0c yfgVCOyyOy8uJAUs2IabVafHl2GxTWHPyvy15EZJvy5vWlzc8ayucd7GHH1afkVV8TY6 VJGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719741763; x=1720346563; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M08LQ2RPplzjGUSG6JodTmZiKv7r2qTwn0cnj/EfI9Y=; b=C8YPP+Ay6zPaEYqax6O2DEI7r4LSPOMNSwx4KyEVJIoCinCYfBTMPhS1XEZ5anc2Ye v6z82Pld8aLhDdk7PQ0bZ5eiGj6wWtBv9FdmgyB1SLO/FBJXBUMSuxWdB4IPWuVAE8P1 E+4Fqvhdky4gJxN7dz+U7jjqOe8hkNiA6TypUz7bG2AI+euSRBCOe5SnO+1Y4AqgnpVk waFdIr89eN4xWz+epPuhiC2jrDvnhUiX8F6rQpv+rLpYkj0mzDf0yIhEzjaH1G+jyvrH DDmu0R8N5PPQmnYG5W2ShNfZ/XEFvRDEgFq8m5GgX/xajpISE4lxE0P5wYfHV+5r4B/s Q/CA== X-Forwarded-Encrypted: i=1; AJvYcCUPo2L+SZRwkMjd+up0RSqGcunvbGEvLRgFRoP+fMR3MrNc+IJttH5MH5oIRDGHFsItlZoi++kIig28K/MtAg== X-Gm-Message-State: AOJu0Yzk9NSEpxfLj68dTIgMOKSKtGbN8A2izJYbX3YZZUB+uDl2G0Hv RLNMn6go/t0DiInz/V9S2nfKPddY6M8JSiwIwaw+5JDBu5NGuucy9/FJsofVIT7DNj9qpqtMHy7 ur41Z0UvM3F483WXwcONLW+et10A= X-Google-Smtp-Source: AGHT+IECK9zeosntEnbhnAG1sy8LoB90wqztzXJsXIT4NNF+UZePHacPgh/2nIc67y2h46S/v5N8DssEnvp50lnyBDU= X-Received: by 2002:a05:6512:3c9c:b0:52c:cb8d:6381 with SMTP id 2adb3069b0e04-52e8264bafcmr2556139e87.13.1719741763046; Sun, 30 Jun 2024 03:02:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sharlatan Hellseher Date: Sun, 30 Jun 2024 11:02:31 +0100 Message-ID: Subject: Re: python-duckdb stuck in its tests To: Andreas Enge Cc: guix-devel@gnu.org, lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, tanguy@bioneland.org, jgart@dismail.de Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=sharlatanus@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 09FB05740A X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.72 X-Spam-Score: -9.72 X-TUID: iTiuC7DvxEgo Hi Andreas, It looks like updating to 1.0.0 has not issue wit passing test on my local checkout after applying this patch --8<---------------cut here---------------start------------->8--- @@ -23334,20 +23334,24 @@ (define-public python-chevron (define-public python-duckdb (package (name "python-duckdb") - (version "0.8.1") + (version "1.0.0") (source (origin (method url-fetch) (uri (pypi-uri "duckdb" version)) (sha256 (base32 - "1sgfmii5xlkbx3hzyjxg80gl2ni1rxpabahl4gww9by2mgs3fkd5")))) + "0lyl6di1c7j31i2mk384j711kzyyf9rjd3nqx5mbgmf7gfvmk852")))) (build-system pyproject-build-system) (arguments (list #:test-flags '(list "--ignore=3Dtests/slow/test_h2oai_arrow.py" - ;; Don't install anything, thank you. - "-k" "not test_install_non_existent_extension") + "-k" (string-append + ;; Don't install anything, thank you. + "not test_install_non_existent_extension" + ;; assert not ["error: duckdb failed to find <..> + ;; site-packages/duckdb/__init__.py + " and not test_generated_stubs")) #:phases #~(modify-phases %standard-phases ;; Tests need this --8<---------------cut here---------------end--------------->8--- But Sanity check is not happy with: --8<---------------cut here---------------start------------->8--- starting phase `sanity-check' validating 'duckdb' /gnu/store/cvr5g1ivssavn3v5bhnbnpkm2zpwyj2s-python-duckdb-1.0.0/lib/python3= .10/site-packages ...checking requirements: OK ...trying to load module adbc_driver_duckdb: ERROR: Traceback (most recent call last): File "/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py", line 73, in importlib.import_module(name) File "/gnu/store/4ncpi13lpwj8fk3j7adgnr5mi90dz311-python-3.10.7/lib/pytho= n3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlock= ed File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_remo= ved File "/gnu/store/cvr5g1ivssavn3v5bhnbnpkm2zpwyj2s-python-duckdb-1.0.0/lib= /python3.10/site-packages/adbc_driver_duckdb/__init__.py", line 24, in import adbc_driver_manager ModuleNotFoundError: No module named 'adbc_driver_manager' ...trying to load module duckdb: OK ...trying to load module duckdb-stubs: OK error: in phase 'sanity-check': uncaught exception: %exception #<&invoke-error program: "python" arguments: ("/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py" "/gnu/store/cvr5g1ivssavn3v5bhnbnpkm2zpwyj2s-python-duckdb-1.0.0/lib/python= 3.10/site-packages") exit-status: 1 term-signal: #f stop-signal: #f> phase `sanity-check' failed after 0.2 seconds command "python" "/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py" "/gnu/store/cvr5g1ivssavn3v5bhnbnpkm2zpwyj2s-python-duckdb-1.0.0/lib/python= 3.10/site-packages" failed with status 1 builder for `/gnu/store/8i8z6fynmyg35x48dln3lgl1z1vqiygy-python-duckdb-1.0.= 0.drv' failed with exit code 1 build of /gnu/store/8i8z6fynmyg35x48dln3lgl1z1vqiygy-python-duckdb-1.0.0.dr= v failed View build log at '/var/log/guix/drvs/8i/8z6fynmyg35x48dln3lgl1z1vqiygy-python-duckdb-1.0.0.d= rv.gz'. --8<---------------cut here---------------end--------------->8--- Oleg On Sun, 30 Jun 2024 at 09:23, Andreas Enge wrote: > > Hello the Python team, > > python-duckdb sticks out on the build farm, since it apparently gets bloc= ked > in its tests after spending quite some CPU time for building, and finally > it times out after a day. It seems to happen consistently over several > evaluations. The last lines are: > tests/fast/test_multithread.py::TestDuckMultithread::test_transaction[pan= das0] PASSED [ 8%] > tests/fast/test_multithread.py::TestDuckMultithread::test_transaction[pan= das1] PASSED [ 8%] > tests/fast/test_multithread.py::TestDuckMultithread::test_df_append[panda= s0] PASSED [ 8%] > tests/fast/test_multithread.py::TestDuckMultithread::test_df_append[panda= s1] > > (see https://bordeaux.guix.gnu.org/build/56359106-e402-49d2-8c6b-2f35de90= b7da/log) > > Could you maybe have a look? > > Andreas > --=20 VCS: https://github.incerto.xyz/; https://git.sr.ht/~hellseher/ GPG: 9847 81DE 689C 21C2 6418 0867 76D7 27BF F62C D2B5 =E2=80=A6 =D0=BD=D0=B0=D1=88 =D1=80=D0=B0=D0=B7=D1=83=D0=BC - =D0=BF=D1=80= =D0=B5=D0=B2=D0=BE=D1=81=D1=85=D0=BE=D0=B4=D0=BD=D0=B0=D1=8F =D0=BE=D0=B1= =D1=8A=D1=8F=D1=81=D0=BD=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=B0=D1=8F = =D0=BC=D0=B0=D1=88=D0=B8=D0=BD=D0=B0 =D0=BA=D0=BE=D1=82=D0=BE=D1=80=D0=B0= =D1=8F =D1=81=D0=BF=D0=BE=D1=81=D0=BE=D0=B1=D0=BD=D0=B0 =D0=BD=D0=B0=D0=B9=D1=82=D0=B8 =D1=81=D0=BC=D1=8B=D1=81=D0=BB =D0=BF=D0=BE= =D1=87=D1=82=D0=B8 =D0=B2 =D1=87=D0=B5=D0=BC =D1=83=D0=B3=D0=BE=D0=B4=D0=BD= =D0=BE, =D0=B8=D1=81=D1=82=D0=BE=D0=BB=D0=BA=D0=BE=D0=B2=D0=B0=D1=82=D1=8C = =D0=BB=D1=8E=D0=B1=D0=BE=D0=B9 =D1=84=D0=B5=D0=BD=D0=BE=D0=BC=D0=B5=D0=BD, = =D0=BD=D0=BE =D1=81=D0=BE=D0=B2=D0=B5=D1=80=D1=88=D0=B5=D0=BD=D0=BD=D0=BE =D0=BD=D0=B5 = =D0=B2 =D1=81=D0=BE=D1=81=D1=82=D0=BE=D1=8F=D0=BD=D0=B8=D0=B8 =D0=BF=D1=80= =D0=B8=D0=BD=D1=8F=D1=82=D1=8C =D0=BC=D1=8B=D1=81=D0=BB=D1=8C =D0=BE =D0=BD= =D0=B5=D0=BF=D1=80=D0=B5=D0=B4=D1=81=D0=BA=D0=B0=D0=B7=D1=83=D0=B5=D0=BC=D0= =BE=D1=81=D1=82=D0=B8.