Dependency issues with textual[syntax] - Unable to support syntax highlighting for users installing my program through Homebrew #5875
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
It looks like you are missing some resources like various How are you adding the resources? You could try running ❯ pipgrip --tree 'textual[syntax]'
textual[syntax] (1.0.0)
├── markdown-it-py[linkify,plugins]>=2.1.0 (3.0.0)
│ ├── linkify-it-py<3,>=1 (2.0.3)
│ │ └── uc-micro-py (1.0.3)
│ ├── mdit-py-plugins (0.4.2)
│ │ └── markdown-it-py<4.0.0,>=1.0.0 (3.0.0, cyclic)
│ └── mdurl~=0.1 (0.1.2)
├── platformdirs<5,>=3.6.0 (4.3.6)
├── rich>=13.3.3 (13.9.4)
│ ├── markdown-it-py>=2.2.0 (3.0.0)
│ │ └── mdurl~=0.1 (0.1.2)
│ └── pygments<3.0.0,>=2.13.0 (2.19.1)
├── tree-sitter-bash>=0.23.0 (0.23.3)
├── tree-sitter-css>=0.23.0 (0.23.2)
├── tree-sitter-go>=0.23.0 (0.23.4)
├── tree-sitter-html>=0.23.0 (0.23.2)
├── tree-sitter-java>=0.23.0 (0.23.5)
├── tree-sitter-javascript>=0.23.0 (0.23.1)
├── tree-sitter-json>=0.24.0 (0.24.8)
├── tree-sitter-markdown>=0.3.0 (0.3.2)
├── tree-sitter-python>=0.23.0 (0.23.6)
├── tree-sitter-regex>=0.24.0 (0.24.3)
├── tree-sitter-rust>=0.23.0 (0.23.2)
├── tree-sitter-sql>=0.3.0 (0.3.7)
├── tree-sitter-toml>=0.6.0 (0.7.0)
├── tree-sitter-xml>=0.7.0 (0.7.0)
├── tree-sitter-yaml>=0.6.0 (0.7.0)
├── tree-sitter>=0.23.0 (0.23.2)
└── typing-extensions<5.0.0,>=4.4.0 (4.12.2) |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the help, that seemed to pull my dependencies but I'm getting
this error now everytime I either install the program or built it from
source.
```bash
Last 15 lines from
/Users/cachebag/Library/Logs/Homebrew/ticked/62.python3.13:
1 error generated.
error: command '/opt/homebrew/Library/Homebrew/shims/mac/super/clang'
failed with exit code 1
error: subprocess-exited-with-error
× Building wheel for tree-sitter-bash (pyproject.toml) did not run
successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a
problem with pip.
full command: /opt/homebrew/Cellar/ticked/0.1.9/libexec/bin/python
/opt/homebrew/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py
build_wheel /private/tmp/tmpckg4tf56
cwd:
/private/tmp/ticked--tree-sitter-bash-20250116-83153-juv9ev/tree_sitter_bash-0.23.3
Building wheel for tree-sitter-bash (pyproject.toml): finished with
status 'error'
ERROR: Failed building wheel for tree-sitter-bash
Failed to build tree-sitter-bash
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml
based projects (tree-sitter-bash)
If reporting this issue please do so at (not Homebrew/brew or
Homebrew/homebrew-core):
https://github.com/cachebag/homebrew-ticked/issues
```
I'm assuming this is an issue with my system and not much to do with my
formulae?
Anyway, thanks for the help.
…On Thu, Jan 16, 2025 at 12:53 PM Michael Cho ***@***.***> wrote:
It looks like you are missing some resources like various tree-sitter-*
packages.
How are you adding the resources? You could try running brew
update-python-resources <formula> instead.
------------------------------
❯ pipgrip --tree 'textual[syntax]'textual[syntax] (1.0.0)├── markdown-it-py[linkify,plugins]>=2.1.0 (3.0.0)│ ├── linkify-it-py<3,>=1 (2.0.3)│ │ └── uc-micro-py (1.0.3)│ ├── mdit-py-plugins (0.4.2)│ │ └── markdown-it-py<4.0.0,>=1.0.0 (3.0.0, cyclic)│ └── mdurl~=0.1 (0.1.2)├── platformdirs<5,>=3.6.0 (4.3.6)├── rich>=13.3.3 (13.9.4)│ ├── markdown-it-py>=2.2.0 (3.0.0)│ │ └── mdurl~=0.1 (0.1.2)│ └── pygments<3.0.0,>=2.13.0 (2.19.1)├── tree-sitter-bash>=0.23.0 (0.23.3)├── tree-sitter-css>=0.23.0 (0.23.2)├── tree-sitter-go>=0.23.0 (0.23.4)├── tree-sitter-html>=0.23.0 (0.23.2)├── tree-sitter-java>=0.23.0 (0.23.5)├── tree-sitter-javascript>=0.23.0 (0.23.1)├── tree-sitter-json>=0.24.0 (0.24.8)├── tree-sitter-markdown>=0.3.0 (0.3.2)├── tree-sitter-python>=0.23.0 (0.23.6)├── tree-sitter-regex>=0.24.0 (0.24.3)├── tree-sitter-rust>=0.23.0 (0.23.2)├── tree-sitter-sql>=0.3.0 (0.3.7)├── tree-sitter-toml>=0.6.0 (0.7.0)├── tree-sitter-xml>=0.7.0 (0.7.0)├── tree-sitter-yaml>=0.6.0 (0.7.0)├── tree-sitter>=0.23.0 (0.23.2)└── typing-extensions<5.0.0,>=4.4.0 (4.12.2)
—
Reply to this email directly, view it on GitHub
<#5875 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2V22Q5IHEYMCWOUER7K2I32K7WYFAVCNFSM6AAAAABVIMCLNCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBVG44DAMA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
You will want to search through log at /Users/cachebag/Library/Logs/Homebrew/ticked/62.python3.13 to find what actual clang error is. The last few lines aren't enough.
It could be due to tree-sitter/tree-sitter-bash#281 which mentions files may be missing in PyPI sdist.