New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.20.0rc1 can't pip install on WSL without GCC #3433
Comments
Thanks for opening @joshpeng, and for your patience in getting the installation working! You're right that And from the
I'm inclined toward your recommendation here, in the hopes that installing GCC / a C compiler is not too heavy of a lift:
If it proves to be a significant source of complexity, we could move (cc @kwigley @nathaniel-may: I'd be curious to hear your thoughts) |
I'm having an issue installing 0.20.0rc1 on windows - also related to tree-sitter where [pipenv.exceptions.InstallError]: Collecting tree-sitter==0.19.0
[pipenv.exceptions.InstallError]: Using cached tree_sitter-0.19.0.tar.gz (112 kB)
[pipenv.exceptions.InstallError]: ERROR: Disabling PEP 517 processing is invalid: project specifies a build backend of setuptools.build_meta in pyproject.toml
ERROR: Couldn't install package: tree-sitter the root cause for this had been that i've not installed Visual Studio 2019 Build Tools on my local machine so building tree_sitter failed. In that case pipenv tries to install a second time with --no-pep-517. i now managed to install the build tools (2+ gb) so this comes on a heavy premium and additional steps as long as no pip wheel is provided for tree_sitter. |
@joshpeng @aa-matthias thanks for calling this out. There is no way to provide wheels distribution for the 3rd party Along with a note in docs that this method requires a C compiler, installing an extra dependency via pip install dbt[tree-sitter] |
We ended up resolving this by rewriting the "experimental parser" (code leveraging We're going to cut 0.20.0rc2 tomorrow, and it should be installable without needing a C compiler. In the meantime, I'm going to close this issue as having been resolved by #3497 |
Describe the bug
When using Windows Subsystem for Linux, the latest 0.20.0rc1 release can't install into a new Python environment due to the
tree-sitter
package which seems to require GCC. This was not a requirement for 0.19.1 or 0.20.0b1.Steps To Reproduce
It errors out with
Expected behavior
Would have expected this to work without GCC like in 0.19.1 and 0.20.0b1. Installing GCC via
sudo apt install gcc
makes it work again though. Perhaps just adding this tidbit of info in an upgrade guide would suffice.The text was updated successfully, but these errors were encountered: