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

[CT-3377] [Regression] dbt deps fails on tarball dependencies #9062

Closed
2 tasks done
imre-kerr-sb1 opened this issue Nov 13, 2023 · 0 comments · Fixed by #9068
Closed
2 tasks done

[CT-3377] [Regression] dbt deps fails on tarball dependencies #9062

imre-kerr-sb1 opened this issue Nov 13, 2023 · 0 comments · Fixed by #9068
Assignees
Labels
backport 1.7.latest bug Something isn't working deps dbt's package manager Highest Severity critical bug that must be resolved immediately regression

Comments

@imre-kerr-sb1
Copy link

Is this a regression in a recent version of dbt-core?

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

Current Behavior

When dependencies.yml includes a tarball dependency, I get an error message from dbt deps:

11:18:06  Running with dbt=1.7.1
11:18:06  Updating lock file in file path: /workspace/dbt-deps-tarball-failure/asdf/package-lock.yml
11:18:06  Encountered an error:
Runtime Error
  The packages.yml file in this project is malformed. Please double check
  the contents of this file and fix any errors before retrying.
  
  You can find more information on the syntax for this file here:
  https://docs.getdbt.com/docs/package-management
  
  Validator Error:
  dbt_utils was not found in the package index. Packages on the index require a namespace, e.g dbt-labs/dbt_utils

Expected/Previous Behavior

Expected output:

11:27:03  Running with dbt=1.6.8
11:27:03  Installing dbt_utils
11:27:03  Installed from tarball (url: https://codeload.github.com/dbt-labs/dbt-utils/tar.gz/0.9.6)

The validator should

  • not check the index for tarball dependencies
  • not validate the namespace/package-name for tarball dependencies
  • mention the correct filename (this is a minor thing)

Steps To Reproduce

  1. In a new dbt project
  2. With the following dependencies.yml:
packages:
  - tarball: https://codeload.github.com/dbt-labs/dbt-utils/tar.gz/0.9.6
    name: 'dbt_utils'
  1. Run dbt deps
  2. See error message above

Relevant log output

No response

Environment

- OS: Ubuntu 22.04.3
- Python: 3.11.1
- dbt-core (latest working version): 1.6.8
- dbt-core (earliest regression version): 1.7.0
- dbt-core (latest version): 1.7.1

Which database adapter are you using with dbt?

No response

Additional Context

No response

@imre-kerr-sb1 imre-kerr-sb1 added bug Something isn't working regression triage labels Nov 13, 2023
@github-actions github-actions bot changed the title [Regression] dbt deps fails on tarball dependencies [CT-3377] [Regression] dbt deps fails on tarball dependencies Nov 13, 2023
@jtcohen6 jtcohen6 added the deps dbt's package manager label Nov 13, 2023
@graciegoheen graciegoheen added Highest Severity critical bug that must be resolved immediately and removed triage labels Nov 13, 2023
@QMalcolm QMalcolm self-assigned this Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.7.latest bug Something isn't working deps dbt's package manager Highest Severity critical bug that must be resolved immediately regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants