Skip to content

Bump tree-sitter-python from 0.23.6 to 0.25.0#7

Merged
carlos-alm merged 1 commit intomainfrom
dependabot/npm_and_yarn/tree-sitter-python-0.25.0
Feb 21, 2026
Merged

Bump tree-sitter-python from 0.23.6 to 0.25.0#7
carlos-alm merged 1 commit intomainfrom
dependabot/npm_and_yarn/tree-sitter-python-0.25.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Feb 21, 2026

Bumps tree-sitter-python from 0.23.6 to 0.25.0.

Release notes

Sourced from tree-sitter-python's releases.

v0.25.0

NOTE: Download tree-sitter-python.tar.gz for the complete source code.

Commits
  • 293fdc0 0.25.0
  • 34a91a2 chore: generate
  • 8ad8a51 ci: update failing files
  • a0b84ed test: update tests
  • 1b1ca93 fix: give a higher lexical precedence to the * in except*
  • a4c106f feat: allow multiple exception expressions without parenthesis
  • 29e3bc2 refactor!: simplify exceptions
  • d8f9e69 feat: add PEP 750 template string support
  • 7ff26da feat: simplify try statement by accepting missing else/except/finally blocks
  • afdba00 build: update bindings
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tree-sitter-python](https://github.com/tree-sitter/tree-sitter-python) from 0.23.6 to 0.25.0.
- [Release notes](https://github.com/tree-sitter/tree-sitter-python/releases)
- [Commits](tree-sitter/tree-sitter-python@v0.23.6...v0.25.0)

---
updated-dependencies:
- dependency-name: tree-sitter-python
  dependency-version: 0.25.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 21, 2026
@carlos-alm carlos-alm merged commit 0951786 into main Feb 21, 2026
1 check passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/tree-sitter-python-0.25.0 branch February 21, 2026 11:23
carlos-alm added a commit that referenced this pull request Feb 22, 2026
…-python-0.25.0

Bump tree-sitter-python from 0.23.6 to 0.25.0
carlos-alm pushed a commit that referenced this pull request Feb 22, 2026
Analyze 21 code intelligence tools, rank codegraph #7/22, and
establish 8 core principles (zero-infrastructure, dual engine,
confidence scoring, incremental builds, embeddable-first,
single registry, security defaults, scope boundaries).
carlos-alm pushed a commit that referenced this pull request Feb 23, 2026
Replace glimpse with GitNexus in the README feature comparison table
and "How other tools compare" section. Add GitNexus as #7 (score 4.0)
in COMPETITIVE_ANALYSIS.md with scoring breakdown and "vs GitNexus"
analysis section. Renumber all subsequent entries.
carlos-alm pushed a commit that referenced this pull request Feb 24, 2026
Add readFileSafe helper that retries on transient OS errors
(EBUSY/EACCES/EPERM) from editors performing non-atomic saves.
Replace bare readFileSync calls in builder.js (3 sites) and
watcher.js (1 site).

Add symlink loop detection to collectFiles via realpathSync tracking
of visited directories, preventing infinite recursion from circular
symlinks.

Update architecture.md sections #7, #15, and summary table to
reflect these fixes.

Impact: 5 functions changed, 5 affected
@greptile-apps greptile-apps bot mentioned this pull request Mar 3, 2026
3 tasks
carlos-alm added a commit that referenced this pull request Mar 30, 2026
Add 6 high-demand languages to both the TypeScript (WASM) and Rust
(native) engines: C, C++, Kotlin, Swift, Scala, Bash.

Each language gets:
- TypeScript extractor (src/extractors/<lang>.ts)
- Rust extractor (crates/codegraph-core/src/extractors/<lang>.rs)
- LANGUAGE_REGISTRY entry + LanguageKind enum variant
- Complexity rules (LangRules + HalsteadRules)
- CFG rules (CfgRules)
- AST config (LangAstConfig)
- Parser tests (tests/parsers/<lang>.test.ts)

Key grammar quirks handled:
- Swift tree-sitter uses class_declaration for class/struct/enum
- Kotlin tree-sitter uses class_declaration for class/interface
- Scala import_declaration has alternating identifier/dot children

317/317 parser tests pass (272 existing + 45 new), zero regressions.
carlos-alm added a commit that referenced this pull request Mar 30, 2026
* refactor(native): extract generic walk_tree to eliminate walk_node_depth duplication

The walk_node/walk_node_depth pattern was duplicated identically across
all 9 language extractors (~190 lines of boilerplate). Each extractor
repeated the same depth check, match dispatch, and child traversal loop
— only the match arms differed.

Add a generic `walk_tree<F>` function to helpers.rs that handles depth
limiting and child recursion, accepting a closure for language-specific
node matching. Refactor all 9 extractors and 7 type map walkers to use
it. Zero-cost abstraction (monomorphized, no dyn dispatch).

* feat: add C, C++, Kotlin, Swift, Scala, Bash language support (#7.2)

Add 6 high-demand languages to both the TypeScript (WASM) and Rust
(native) engines: C, C++, Kotlin, Swift, Scala, Bash.

Each language gets:
- TypeScript extractor (src/extractors/<lang>.ts)
- Rust extractor (crates/codegraph-core/src/extractors/<lang>.rs)
- LANGUAGE_REGISTRY entry + LanguageKind enum variant
- Complexity rules (LangRules + HalsteadRules)
- CFG rules (CfgRules)
- AST config (LangAstConfig)
- Parser tests (tests/parsers/<lang>.test.ts)

Key grammar quirks handled:
- Swift tree-sitter uses class_declaration for class/struct/enum
- Kotlin tree-sitter uses class_declaration for class/interface
- Scala import_declaration has alternating identifier/dot children

317/317 parser tests pass (272 existing + 45 new), zero regressions.

* fix(native): remove local AST config shadowing in all new extractors (#708)

Remove private const *_AST_CONFIG in c.rs, cpp.rs, kotlin.rs, swift.rs,
scala.rs, bash.rs that shadowed the richer pub versions in helpers.rs.
The cpp.rs shadow silently dropped co_await_expression and string prefixes.

* fix(kotlin): align object_declaration kind to 'class' across engines (#708)

Both TS and Rust extractors now emit kind: 'class' for Kotlin object
declarations, matching Kotlin semantics (singletons are class-like).

* fix(swift): distinguish extends vs implements in inheritance (#708)

First inheritance_specifier is superclass (extends), subsequent ones are
protocol conformances (implements), matching the Rust extractor behavior.
Also remove unused isClass variable.

* fix(scala,swift): use correct kind for top-level val/var/property (#708)

Scala val_definition → 'constant', var_definition → 'variable'.
Swift property_declaration: let → 'constant', var → 'variable'.
Previously both emitted 'function' incorrectly.

* fix(complexity): support multiple logical_node_types for Kotlin || (#708)

Change LangRules.logical_node_type from &str to logical_node_types: &[&str]
so Kotlin can match both conjunction_expression (&&) and
disjunction_expression (||). Without this, OR branches were undercounted.

* fix: apply biome formatting and import sort fixes (#708)

* fix(native): use language() for tree-sitter-kotlin 0.3 API (#708)

tree-sitter-kotlin 0.3.x exports language() function, not LANGUAGE const.

* fix(ci): add .npmrc with legacy-peer-deps for tree-sitter conflicts (#708)

The new tree-sitter grammar packages have conflicting peer dependency
requirements (0.21 vs 0.25). legacy-peer-deps allows npm install to
succeed in CI.

* fix(native): bridge tree-sitter-kotlin 0.3 to tree-sitter 0.24 API (#708)

tree-sitter-kotlin 0.3.x uses the old language() -> Language API from
tree-sitter 0.20, incompatible with tree-sitter 0.24's LanguageFn.
Declare the extern C function directly and wrap with LanguageFn::from_raw.

* fix: resolve CI failures — SymbolKind types and Kotlin cross-platform linking (#708)

- Add 'variable' and 'namespace' to SymbolKind type union
- Use transmute instead of extern C redeclaration for tree-sitter-kotlin
  bridge to fix Windows linker failure (unresolved external symbol)
- Fix kotlin.rs test to use LanguageKind::Kotlin.tree_sitter_language()

* fix(ci): replace tree-sitter-kotlin with tree-sitter-kotlin-sg to fix duplicate symbol errors (#708)

tree-sitter-kotlin 0.3 depends on tree-sitter 0.20, which bundles its
own C runtime (ts_language_*, ts_lexer_*) that conflicts with
tree-sitter 0.24's copy at link time on Linux/Windows.

tree-sitter-kotlin-sg 0.4 uses tree-sitter-language (no bundled C
runtime), eliminating the duplicate symbols. Same upstream grammar
(fwcd/tree-sitter-kotlin) so all node types are identical.

Also adds namespace and variable to DEFAULT_NODE_COLORS in colors.ts
to satisfy the Record<AnyNodeKind, string> constraint after the
SymbolKind expansion.

* fix(parity): align Scala TS extractor kinds and inheritance with Rust engine (#708)

- trait_definition kind: 'trait' -> 'interface' (matches Rust)
- object_definition kind: 'module' -> 'class' (matches Rust)
- Inheritance: use found_extends flag to distinguish extends vs implements
- Skip function-local val/var in Scala and let/var in Swift extractors
- Update test expectations accordingly

* fix(ci): increase embedding regression test timeout to 240s (#708)

The beforeAll hook was timing out at 120s on macOS CI runners due to
slow model download. Doubled to 240s for headroom.

* fix(ci): fallback to full rebuild when cached codegraph DB is malformed (#708)

The impact workflow restores a cached .codegraph/ directory that can
become corrupted. Added fallback: if incremental build fails, delete
the cache and rebuild from scratch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant