Package Details: python-dbt-extractor-git r333.0829913-1

Git Clone URL: https://aur.archlinux.org/python-dbt-extractor-git.git (read-only, click to copy)
Package Base: python-dbt-extractor-git
Description: A tool to analyze and extract information from Jinja used in dbt projects.
Upstream URL: https://github.com/dbt-labs/dbt-extractor
Licenses: Apache
Submitter: benallard
Maintainer: benallard
Last Packager: benallard
Votes: 0
Popularity: 0.000000
First Submitted: 2023-03-30 17:40 (UTC)
Last Updated: 2023-05-05 15:54 (UTC)

Latest Comments

micwoj92 commented on 2026-01-24 14:14 (UTC)

@benallard this is -git package. New one should be uploaded for stable release downloads.

This patch seems to not be enough, then it still fails:

   Compiling dbt-extractor v0.6.0 (/build/python-dbt-extractor-git/src/dbt-extractor)
error[E0308]: mismatched types
   --> src/extractor.rs:695:23
    |
695 |         .set_language(tree_sitter_jinja2::language())
    |          ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Language`, found `Language`
    |          |
    |          arguments to this method are incorrect
    |
note: method defined here
   --> /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:666:12
    |
666 |     pub fn set_language(&mut self, language: &Language) -> Result<(), LanguageError> {
    |            ^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0308`.
error: could not compile `dbt-extractor` (lib) due to 1 previous error

benallard commented on 2026-01-24 14:05 (UTC)

I'm not able to build it properly either.

We should switch away from the git version, as there are targz available in pythonhosted.

But that will not solve it. The issue is that this software requires a pretty old version of tree-sitter (0.20.8), and that the tree-sitter project did change the ABI around version 0.22. Making the currently available one (0.25.x) not suitable for this software.

There is a renovabot Merge-Request for it: https://github.com/dbt-labs/dbt-extractor/pull/127

AlphaJack commented on 2024-08-20 00:22 (UTC)

Hi, I get a compilation error:

   Compiling dbt-extractor v0.5.1 (/tmp/makepkg/python-dbt-extractor-git/src/dbt-extractor)
error: linking with `cc` failed: exit status: 1
  |
  = note: ...
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `dbt-extractor` (bin "dbt-extractor") due to 1 previous error
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-dbt-extractor-git-exit status 4