Giter Club home page Giter Club logo

Comments (3)

oravi avatar oravi commented on May 30, 2024

Hi @joellabes!

Thanks so much for reviewing and merging the PR.
I do actually have one question, the reason why we used a strict version is because of the following scenario -

  • Your dbt core version is 0.20.x
  • let's say that our required dbt_utils range is as follows - [">=0.7.0", "<0.9.0"]
  • Now you run dbt deps
  • You get dbt_utils v0.8.0 (because it's the newest version?)

The problem we had is that dbt_utils v0.8.0 is not compatible with dbt core version 0.20.x.
What would you suggest doing in that case? is there a way to limit the version range based on the dbt-core version?

Thanks a lot for your help!

from dbt-data-reliability.

joellabes avatar joellabes commented on May 30, 2024

You're right; I thought that it took require-dbt-version into account when resolving dependencies, but it doesn't 😬

In that case, if it's important to you to provide support to versions prior to 1.0, you might want to release two versions - 0.1.0 can stay as-is, and a separate 0.1.1 release which has require-dbt-version: [">=1.0.0", "<2.0.0"] and relies on dbt-utils [">=0.8.0", "<0.9.0"].

Users on versions prior to 1.0.0 of dbt-core will still run into problems if they have a pinned dependency on 0.7.5 or below, but that's less likely.

from dbt-data-reliability.

oravi avatar oravi commented on May 30, 2024

Thanks @joellabes! I've just released a new version as you suggested 👍
Closing this issue for now (feel free to comment if any changes are still needed).
Thanks again for all the help and quick replies, really appreciate it!

from dbt-data-reliability.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.