Skip to content

fix: bump tree-sitter-c-sharp to 0.23.5 to fix source build on OpenBSD#5353

Open
Sarthak816 wants to merge 1 commit into
Aider-AI:mainfrom
Sarthak816:fix/5307-tree-sitter-c-sharp-build
Open

fix: bump tree-sitter-c-sharp to 0.23.5 to fix source build on OpenBSD#5353
Sarthak816 wants to merge 1 commit into
Aider-AI:mainfrom
Sarthak816:fix/5307-tree-sitter-c-sharp-build

Conversation

@Sarthak816

Copy link
Copy Markdown

Fixes #5307 - tree-sitter-c-sharp source build failure on OpenBSD
On OpenBSD and other platforms without pre-built wheels, tree-sitter-c-sharp builds from source. Versions 0.23.1 through 0.23.4 do not bundle the tree_sitter/parser.h header in their source distribution, causing the C compiler to fail with: fatal error: tree_sitter/parser.h: No such file or directory.
Change: Bump tree-sitter-c-sharp from 0.23.1 to 0.23.5, which includes the necessary headers for source builds.
Files modified:

  • requirements.txt: 0.23.1 -> 0.23.5
  • requirements/common-constraints.txt: 0.23.1 -> 0.23.5
  • requirements/tree-sitter.in: added tree-sitter-c-sharp>=0.23.5 constraint with explanatory comment
Fixes Aider-AI#5307 - on OpenBSD and other platforms without pre-built wheels, tree-sitter-c-sharp builds from source. Versions 0.23.1-0.23.4 do not bundle the tree_sitter/parser.h header, causing the C compiler to fail with 'fatal error: tree_sitter/parser.h not found'.

Updated tree-sitter-c-sharp to 0.23.5 which includes the necessary headers for source builds.

Changes:
- requirements.txt: 0.23.1 -> 0.23.5
- requirements/common-constraints.txt: 0.23.1 -> 0.23.5
- requirements/tree-sitter.in: added tree-sitter-c-sharp>=0.23.5 constraint with explanatory comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant