File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4747from go_inspector .plugin import collect_and_parse_symbols
4848from packagedcode .npm import NpmPackageJsonHandler
4949from rust_inspector .binary import collect_and_parse_rust_symbols
50- from source_inspector .symbols_tree_sitter import get_tree
50+ from source_inspector .symbols_tree_sitter import get_tree_and_language_info
5151from summarycode .classify import LEGAL_STARTS_ENDS
5252
5353from aboutcode .pipeline import LoopProgress
@@ -2173,7 +2173,7 @@ def map_python_pyx_to_binaries(project, logger=None):
21732173 for resource in from_resources :
21742174 # open Cython source file, create AST, parse it for function definitions
21752175 # and save them in a list
2176- tree , _ = get_tree (resource .location )
2176+ tree , _ = get_tree_and_language_info (resource .location )
21772177 function_definitions = [
21782178 node
21792179 for node in tree .root_node .children
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ install_requires =
8686 rust-inspector ==0.1.0
8787 binary-inspector ==0.1.2
8888 python-inspector ==0.14.0
89- source-inspector ==0.6.1 ; sys_platform != "darwin" and platform_machine != "arm64"
89+ source-inspector @ git+https://github.com/aboutcode-org/source-inspector@990e93b9c6bcb28e105e50af6507a0a2f0515213
9090 aboutcode-toolkit ==11.1.1
9191 # Utilities
9292 XlsxWriter ==3.2.5
You can’t perform that action at this time.
0 commit comments