Skip to content
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] Installation issues with logbook 1.5 and setuptools 72.0.0 #10497

Closed
2 tasks done
yonatan-cohen8186 opened this issue Jul 29, 2024 · 7 comments
Closed
2 tasks done
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@yonatan-cohen8186
Copy link

Is this a new bug in dbt-core?

  • I believe this is a new bug in dbt-core
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

Currently, installing the dbt packages, results a ModuleNotFoundError: No module named 'setuptools.command.test' error.
Any solution for that?

Expected Behavior

Installing dbt packages

Steps To Reproduce

  1. Re install the dbt packages
  2. Finish successfully

Relevant log output

No response

Environment

- OS:
- Python:
- dbt:

Which database adapter are you using with dbt?

No response

Additional Context

No response

@yonatan-cohen8186 yonatan-cohen8186 added bug Something isn't working triage labels Jul 29, 2024
@jaklan
Copy link

jaklan commented Jul 29, 2024

pypa/setuptools#4519

@bramsliepenMJ
Copy link

(Temporary) Fix that worked for me was:

pip install --upgrade pip-tools pip wheel
pip install setuptools==71.1.0
pip install -r requirements.txt

@AronsonDan
Copy link

Current solution for Docker and poetry users:

RUN echo "setuptools<72" > constraints.txt
ENV PIP_CONSTRAINT=constraints.txt

RUN poetry config virtualenvs.create false \
  && poetry run pip install logbook==1.5.3 \
  && poetry install --only main --no-root --no-interaction --no-ansi \
  && rm -rf ~/.cache/pypoetry/{cache,artifacts}

@ashleemtib
Copy link

(Temporary) Fix that worked for me was:

pip install --upgrade pip-tools pip wheel
pip install setuptools==71.1.0
pip install -r requirements.txt

@bramsliepenMJ this does not work for me. What version of dbt-core are you installing?
Thank you!

@andreineculau
Copy link

duplicate. main thread here #10495

@manugarri
Copy link

seems like the logbook 1.5.3 dependency to this repo is causing the setuptools buggy version to fail.

@dbeatty10
Copy link
Contributor

Summary

setuptools has yanked their release and dbt-core can be pip installed again.

Also

Closing as a duplicate of #10495

@dbeatty10 dbeatty10 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2024
@dbeatty10 dbeatty10 added duplicate This issue or pull request already exists and removed triage labels Jul 29, 2024
@dbeatty10 dbeatty10 changed the title installation issues [Bug] Installation issues with logbook 1.5 and setuptools 72.0.0 Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

8 participants