Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911158 - dev-db/mycli-1.26.1 fails test - E ModuleNotFoundError: No module named sqlglot
Summary: dev-db/mycli-1.26.1 fails test - E ModuleNotFoundError: No module named sqlglot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-07-24 17:52 UTC by Toralf Förster
Modified: 2023-07-28 15:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.95 KB, text/plain)
2023-07-24 17:52 UTC, Toralf Förster
Details
dev-db:mycli-1.26.1:20230724-162810.log (dev-db:mycli-1.26.1:20230724-162810.log,17.05 KB, text/plain)
2023-07-24 17:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,55.94 KB, text/plain)
2023-07-24 17:52 UTC, Toralf Förster
Details
environment (environment,151.53 KB, text/plain)
2023-07-24 17:52 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-07-24 17:52 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,11.86 KB, application/x-xz)
2023-07-24 17:52 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,34.30 KB, application/x-xz)
2023-07-24 17:52 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-07-24 17:52:15 UTC
test/conftest.py:2: in <module>
    from .utils import (HOST, USER, PASSWORD, PORT, CHARSET, create_db,
test/utils.py:10: in <module>
    from mycli.main import special
mycli/main.py:27: in <module>
    import sqlglot
E   ModuleNotFoundError: No module named 'sqlglot'
 * ERROR: dev-db/mycli-1.26.1::gentoo failed (test phase):
 *   pytest failed with python3.11

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_test-20230723-154051

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
2)	Eclipse Temurin JRE 17.0.7_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-jre-bin-17 

php cli (if any):
go version go1.20.6 linux/amd64

  HEAD of ::gentoo
commit 8d4efd3b491d52f9db4786fa622e908d6b37dd15
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jul 24 15:16:53 2023 +0000

    2023-07-24 15:16:53 UTC

emerge -qpvO dev-db/mycli
[ebuild  N    ] dev-db/mycli-1.26.1  USE="test -ssh" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-07-24 17:52:17 UTC
Created attachment 866112 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-07-24 17:52:17 UTC
Created attachment 866113 [details]
dev-db:mycli-1.26.1:20230724-162810.log
Comment 3 Toralf Förster gentoo-dev 2023-07-24 17:52:18 UTC
Created attachment 866114 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-07-24 17:52:20 UTC
Created attachment 866115 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-07-24 17:52:21 UTC
Created attachment 866116 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-07-24 17:52:21 UTC
Created attachment 866117 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-07-24 17:52:23 UTC
Created attachment 866118 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-07-28 15:58:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d0df65350b69232639af5d8b812fe7fa3cac87

commit b5d0df65350b69232639af5d8b812fe7fa3cac87
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-07-27 12:35:39 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-07-28 15:58:30 +0000

    dev-db/mycli: add missing dependency sqlglot
    
    * Fix tests and update other deps as well.
    
    Closes: https://bugs.gentoo.org/911158
    Closes: https://bugs.gentoo.org/909833
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-db/mycli/mycli-1.26.1-r1.ebuild | 43 +++++++++++++++++++++----------------
 1 file changed, 25 insertions(+), 18 deletions(-)