Skip to content

Unable to install with uv tool install graphifyy #1104

Closed

Description

@majacque

Hello, I tried to install graphify using uv on Ubuntu 24.04.4 LTS.
I first ran curl -LsSf https://astral.sh/uv/install.sh | sh and then uv tool install graphifyy like it's said in the README.
But the package can't be install due to a problem with tree-sitter-dm dependence.
Here is the output:

  × Failed to build 'tree-sitter-dm==0.25.1'
  ├─▶ The build backend returned an error
  ╰─▶ Call to 'setuptools.build_meta.build_wheel' failed (exit status: 1)

      [stdout]
      running bdist_wheel
      running build
      creating build/lib.linux-x86_64-cpython-312/tree_sitter_dm/queries
      creating build/lib.linux-x86_64-cpython-312/tree_sitter_dm/queries/vscode
      copying queries/vscode/injections.scm -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm/queries/vscode
      copying queries/vscode/highlights.scm -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm/queries/vscode
      copying queries/vscode/tags.scm -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm/queries/vscode
      creating build/lib.linux-x86_64-cpython-312/tree_sitter_dm/queries/neovim
      copying queries/neovim/injections.scm -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm/queries/neovim
      copying queries/neovim/highlights.scm -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm/queries/neovim
      copying queries/neovim/tags.scm -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm/queries/neovim
      copying queries/highlights.scm -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm/queries
      copying queries/tags.scm -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm/queries
      running build_py
      copying bindings/python/tree_sitter_dm/__init__.py -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm
      running egg_info
      writing bindings/python/tree_sitter_dm.egg-info/PKG-INFO
      writing dependency_links to bindings/python/tree_sitter_dm.egg-info/dependency_links.txt
      writing requirements to bindings/python/tree_sitter_dm.egg-info/requires.txt
      writing top-level names to bindings/python/tree_sitter_dm.egg-info/top_level.txt
      reading manifest file 'bindings/python/tree_sitter_dm.egg-info/SOURCES.txt'
      adding license file 'LICENSE'
      writing manifest file 'bindings/python/tree_sitter_dm.egg-info/SOURCES.txt'
      copying bindings/python/tree_sitter_dm/__init__.pyi -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm
      copying bindings/python/tree_sitter_dm/binding.c -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm
      copying bindings/python/tree_sitter_dm/py.typed -> build/lib.linux-x86_64-cpython-312/tree_sitter_dm
      running build_ext
      building '_binding' extension
      creating build/temp.linux-x86_64-cpython-312/bindings/python/tree_sitter_dm
      creating build/temp.linux-x86_64-cpython-312/src
      x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -DPy_LIMITED_API=0x030A0000
      -Isrc -I/home/matthieu-jacquet/.cache/uv/builds-v0/.tmpLPPQuK/include -I/usr/include/python3.12 -c bindings/python/tree_sitter_dm/binding.c -o
      build/temp.linux-x86_64-cpython-312/bindings/python/tree_sitter_dm/binding.o -std=c11 -fvisibility=hidden

      [stderr]
      /home/matthieu-jacquet/.cache/uv/builds-v0/.tmpLPPQuK/lib/python3.12/site-packages/wheel/bdist_wheel.py:4: FutureWarning: The 'wheel' package is no longer the canonical location of
      the 'bdist_wheel' command, and will be removed in a future release. Please update to setuptools v70.1 or later which contains an integrated version of this command.
        warn(
      /home/matthieu-jacquet/.cache/uv/builds-v0/.tmpLPPQuK/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a
      TOML table is deprecated
      !!

              ********************************************************************************
              Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).

              By 2027-Feb-18, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************

      !!
        corresp(dist, value, root_dir)
      bindings/python/tree_sitter_dm/binding.c:1:10: fatal error: Python.h: Aucun fichier ou dossier de ce nom
          1 | #include <Python.h>
            |          ^~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1


hint: `tree-sitter-dm` (v0.25.1) was included because `graphifyy` (v0.8.27) depends on `tree-sitter-dm`
hint: Build failures usually indicate a problem with the package or the build environment

Activity

  1. added a commit that references this issue on Jun 1, 2026
    1d4e112
  2. added 2 commits that reference this issue on Aug 13, 2026
    3e17338
    d52741d
  3. LeDev21 commented on Nov 10, 2026

    @LeDev21

    Hello I have a similar problem when trying to install graphifyy via uv and pip.

    OS: Windows 11
    Python Version: 3.15.2
    graphifyy: 0.9.105
    uv: 0.13.7

    The install command fails in my venv (uv tool install graphifyy)

    Output:

    Resolved 31 packages in 592ms
    error: Failed to build 'tree-sitter==0.25.2'
      cause: The build backend returned an error
      cause: Call to 'setuptools.build_meta.build_wheel' failed (exit code: 1)
    
             [stdout]
             running bdist_wheel
             running build
             running build_py
             running build_ext
             building 'tree_sitter._binding' extension
    
             [stderr]
             C:\Users\u232184\AppData\Local\uv\cache\builds-v0\.tmpfoLeMz\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:61:
             SetuptoolsDeprecationWarning: License classifiers are deprecated.
             !!
    
                     ********************************************************************************
                     Please consider removing the following classifiers in favor of a SPDX license expression:
    
                     License :: OSI Approved :: MIT License
    
                     See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
                     ********************************************************************************
    
             !!
               dist._finalize_license_expression()
             C:\Users\u232184\AppData\Local\uv\cache\builds-v0\.tmpfoLeMz\Lib\site-packages\setuptools\dist.py:765:
             SetuptoolsDeprecationWarning: License classifiers are deprecated.
             !!
    
                     ********************************************************************************
                     Please consider removing the following classifiers in favor of a SPDX license expression:
    
                     License :: OSI Approved :: MIT License
    
                     See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
                     ********************************************************************************
    
             !!
               self._finalize_license_expression()
             error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools":
             https://visualstudio.microsoft.com/visual-cpp-build-tools/
    
    hint: 'tree-sitter' (v0.25.2) was included because 'graphifyy' (v0.9.105) depends on 'tree-sitter'
    
    hint: Build failures usually indicate a problem with the package or the build environment
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions