-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Bug] Failing to install with pip because of recent change to setuptools #10495
Comments
workaround mentioned in this thread |
I think this problem will be solved if #10119 is released |
I have the same issue. environment
|
Same issue here:
|
I'm confused though, it has been merged since may, while the latest release is a week old |
Perhaps something in poetry changed that invokes a different path during builds?
Could we allow installation of logbook 1.6, it could have a fix already available: |
Adding these before installation of dbt-core solved it for me
|
They haven't removed the dependency, though, @toadjaune. It's still there in 1.8.4. |
there's a dependabot pull request from a year ago: |
fyi: the "faulty" setuptools release was yanked and everything should work as expected again. pypa/setuptools#4519 (comment) |
As @D3nn3 said, setuptools has yanked their release and To clarify some confusion in the comments, the logbook dependency in dbt-core will be removed when we release version 1.9. |
The |
Is this a new bug in dbt-core?
Current Behavior
pip install
dbt-core
(ordbt-databricks
) will run into an import problem when it tries to installlogbook
.ModuleNotFoundError: No module named 'setuptools.command.test'
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
After some investigation:
logbook==1.5
as a requirementsetuptools.command.test
but fails as it doesn't existNote: the latest logbook version (1.7) installs successfully so it looks like it's been fixed on their end.
Expected Behavior
python3 -m pip install dbt-core
should install successfully.Steps To Reproduce
python3 -m venv venv
. venv/bin/activate
python3 -m pip install dbt-core
Relevant log output
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
databricks (trying to install
dbt-databricks
) but the same bug appears when installingdbt-core
The text was updated successfully, but these errors were encountered: