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

dbt --version reports no plugins #2410

Closed
5 tasks
beckjake opened this issue May 6, 2020 · 0 comments · Fixed by #2418
Closed
5 tasks

dbt --version reports no plugins #2410

beckjake opened this issue May 6, 2020 · 0 comments · Fixed by #2418
Labels
bug Something isn't working

Comments

@beckjake
Copy link
Contributor

beckjake commented May 6, 2020

Describe the bug

When dbt --version is run from a package installed via pip, no plugins are reported.

Steps To Reproduce

pip install dbt-core==0.17.0b1 dbt-snowflake==0.17.0b1
dbt --version

Expected behavior

I expect to see plugin versions!

System information

Which database are you using dbt with?

  • postgres
  • redshift
  • bigquery
  • snowflake
  • other (specify: ____________)

The output of dbt --version:

$ dbt --version
installed version: 0.17.0-b1
   latest version: 0.16.1

Your version of dbt is ahead of the latest release!

Plugins:

The operating system you're using:
macos

The output of python --version:
Python 3.8.2

Additional context

I think the issue here is that when pip installs multiple PEP420 packages they all end up in a single folder, unlike when you install locally in editable mode. So we need to teach --version to look at all the plugins in all the folders.

@beckjake beckjake added bug Something isn't working triage labels May 6, 2020
@drewbanin drewbanin removed the triage label May 6, 2020
@drewbanin drewbanin modified the milestone: Octavius Catto May 6, 2020
beckjake added a commit that referenced this issue May 8, 2020
…search

fix version-loading logic to respect multiple plugins at the same path (#2410)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants