From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org, lars@6xq.net, marius@gnu.org,
me@bonfacemunyoki.com, tanguy@bioneland.org, jgart@dismail.de
Subject: Re: python-duckdb stuck in its tests
Date: Sun, 30 Jun 2024 11:02:31 +0100 [thread overview]
Message-ID: <CAO+9K5oT2FhQQubSYcxR4moUgn1Z9nPbdeNpfQdNyqLQCDheEA@mail.gmail.com> (raw)
In-Reply-To: <ZoEV5nR1zPVGlblC@jurong>
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=tests/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 <module>
importlib.import_module(name)
File "/gnu/store/4ncpi13lpwj8fk3j7adgnr5mi90dz311-python-3.10.7/lib/python3.10/importlib/__init__.py",
line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/gnu/store/cvr5g1ivssavn3v5bhnbnpkm2zpwyj2s-python-duckdb-1.0.0/lib/python3.10/site-packages/adbc_driver_duckdb/__init__.py",
line 24, in <module>
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/python3.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/python3.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.drv
failed
View build log at
'/var/log/guix/drvs/8i/8z6fynmyg35x48dln3lgl1z1vqiygy-python-duckdb-1.0.0.drv.gz'.
--8<---------------cut here---------------end--------------->8---
Oleg
On Sun, 30 Jun 2024 at 09:23, Andreas Enge <andreas@enge.fr> wrote:
>
> Hello the Python team,
>
> python-duckdb sticks out on the build farm, since it apparently gets blocked
> 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[pandas0] PASSED [ 8%]
> tests/fast/test_multithread.py::TestDuckMultithread::test_transaction[pandas1] PASSED [ 8%]
> tests/fast/test_multithread.py::TestDuckMultithread::test_df_append[pandas0] PASSED [ 8%]
> tests/fast/test_multithread.py::TestDuckMultithread::test_df_append[pandas1]
>
> (see https://bordeaux.guix.gnu.org/build/56359106-e402-49d2-8c6b-2f35de90b7da/log)
>
> Could you maybe have a look?
>
> Andreas
>
--
VCS: https://github.incerto.xyz/; https://git.sr.ht/~hellseher/
GPG: 9847 81DE 689C 21C2 6418 0867 76D7 27BF F62C D2B5
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
next prev parent reply other threads:[~2024-06-30 10:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-30 8:23 python-duckdb stuck in its tests Andreas Enge
2024-06-30 10:02 ` Sharlatan Hellseher [this message]
2024-07-08 22:41 ` Sharlatan Hellseher
2024-07-09 9:37 ` Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAO+9K5oT2FhQQubSYcxR4moUgn1Z9nPbdeNpfQdNyqLQCDheEA@mail.gmail.com \
--to=sharlatanus@gmail.com \
--cc=andreas@enge.fr \
--cc=guix-devel@gnu.org \
--cc=jgart@dismail.de \
--cc=lars@6xq.net \
--cc=marius@gnu.org \
--cc=me@bonfacemunyoki.com \
--cc=tanguy@bioneland.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).