#1144654 harlequin: No module named 'tree_sitter_sql'

#1144654#5
Date:
2026-08-17 17:19:03 UTC
From:
To:
Dear Maintainer,

harlequin fails to run with the following error:


Traceback (most recent call last):
  File "/usr/bin/harlequin", line 5, in <module>
    from harlequin.cli import harlequin
  File "/usr/lib/python3/dist-packages/harlequin/cli.py", line 11, in <module>
    from harlequin import Harlequin
  File "/usr/lib/python3/dist-packages/harlequin/__init__.py", line 63, in __getattr__
    value = getattr(import_module(module_name), name)
                    ~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.14/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/harlequin/app.py", line 37, in <module>
    from harlequin.actions import HARLEQUIN_ACTIONS
  File "/usr/lib/python3/dist-packages/harlequin/actions.py", line 9, in <module>
    from harlequin.components import (
    ...<7 lines>...
    )
  File "/usr/lib/python3/dist-packages/harlequin/components/__init__.py", line 1, in <module>
    from harlequin.components.code_editor import CodeEditor, EditorCollection
  File "/usr/lib/python3/dist-packages/harlequin/components/code_editor.py", line 19, in <module>
    from harlequin.statements import find_separators
  File "/usr/lib/python3/dist-packages/harlequin/statements.py", line 21, in <module>
    import tree_sitter_sql
ModuleNotFoundError: No module named 'tree_sitter_sql'


For reference, there is a Tree-sitter Team at
https://salsa.debian.org/tree-sitter-team/

whose members can been seen at
https://salsa.debian.org/groups/tree-sitter-team/-/group_members

#1144654#10
Date:
2026-08-20 06:09:27 UTC
From:
To:
retitle 1144654 needs new tree-sitter-sql depends
severity 1144654 serious
thanks

Hi Blair,

thanks - I missed this for some reason, but have packaged and uploaded
tree-sitter-sql to NEW.

Regards,
Daniel

#1144654#17
Date:
2026-08-20 06:09:27 UTC
From:
To:
retitle 1144654 needs new tree-sitter-sql depends
severity 1144654 serious
thanks

Hi Blair,

thanks - I missed this for some reason, but have packaged and uploaded
tree-sitter-sql to NEW.

Regards,
Daniel

#1144654#22
Date:
2026-08-22 19:02:20 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
tree-sitter-sql, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1144654@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@debian.org> (supplier of updated tree-sitter-sql package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 20 Aug 2026 07:44:14 +0200
Source: tree-sitter-sql
Binary: python3-tree-sitter-sql python3-tree-sitter-sql-dbgsym
Architecture: source amd64
Version: 0.3.11-1
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <daniel@debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description:
 python3-tree-sitter-sql - SQL grammar for tree-sitter (Python)
Closes: 1144654
Changes:
 tree-sitter-sql (0.3.11-1) sid; urgency=medium
 .
   * Initial upload to sid, needed for harlequin (Closes: #1144654).
Checksums-Sha1:
 de947c582a8bcc9b42d35d6e9de24795416a28a3 1460 tree-sitter-sql_0.3.11-1.dsc
 3bbdfbbf0d24d319d427d15bcc9218c542b9391d 435960 tree-sitter-sql_0.3.11.orig.tar.xz
 fc7fcb84a216409f0cf8df664aef1543d562bbf2 2060 tree-sitter-sql_0.3.11-1.debian.tar.xz
 72a1f059ea6ae5386fbdceed31c0d508ccd91e2a 50816 python3-tree-sitter-sql-dbgsym_0.3.11-1_amd64.deb
 92d19b8d8fc8dde76b146b7c467fe0b15357868f 217088 python3-tree-sitter-sql_0.3.11-1_amd64.deb
 c255f0dcf93c4fbda72e070cf3aa9ebbbbc2d6d7 6854 tree-sitter-sql_0.3.11-1_amd64.buildinfo
Checksums-Sha256:
 132e4b06ecb90b5629216835b7100713aabeb38892bf1cc213d28a4bc12bc57b 1460 tree-sitter-sql_0.3.11-1.dsc
 1f8c713826c66627f300959536c9bdbb89db1d173b3fbf1e7df07fd7d1e8fd6a 435960 tree-sitter-sql_0.3.11.orig.tar.xz
 0aa08ad0b2910951be35e726c00070955b8e43a83bb9fd7c472d4f134035e13d 2060 tree-sitter-sql_0.3.11-1.debian.tar.xz
 38b85423cc9ece592daef0a10ba07453d264ac573729e051f7f236a0a897a3c5 50816 python3-tree-sitter-sql-dbgsym_0.3.11-1_amd64.deb
 15469a756a831ba05a5aebfd457f97095f99b480e9e249037f2add5314bb6ed3 217088 python3-tree-sitter-sql_0.3.11-1_amd64.deb
 e82e6e97eb19965be279d6928615b236047f20bfb15de14aaab7546d9a99e330 6854 tree-sitter-sql_0.3.11-1_amd64.buildinfo
Files:
 19849203f0e5c7d6ad02ed3fba857f7b 1460 python optional tree-sitter-sql_0.3.11-1.dsc
 49e0ee40a931555c39fe68f06ad609d0 435960 python optional tree-sitter-sql_0.3.11.orig.tar.xz
 03f22d274083a098af9aa995dfb28c91 2060 python optional tree-sitter-sql_0.3.11-1.debian.tar.xz
 aa431451869db0dd34629a6904517027 50816 debug optional python3-tree-sitter-sql-dbgsym_0.3.11-1_amd64.deb
 1aae778e2c53bcd8c20c3145f1ac2b69 217088 python optional python3-tree-sitter-sql_0.3.11-1_amd64.deb
 fcc61d5256691e2ed3202d50b8ae06f0 6854 python optional tree-sitter-sql_0.3.11-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCaoaY/AAKCRD7tPDoCoAi
L7bqAPsEFRgkjQC4eV/dJ9EgHQxBSfOo8/ZXmFm3rpbcxWPtXgD+O8Z4YVQgz5zN
BuHUNZVfAqktw4RFH47qkqsU/WEbzwA=
=ucxU
-----END PGP SIGNATURE-----