calogica/dbt-date

0.4.1 release issue - could not find matching version

julian-ganguli opened this issue · 3 comments

I'm trying to upgrade dbt-date after upgrading dbt to 0.21.0.

Running dbt deps returns the following error:

Encountered an error:
Could not find a matching version for package calogica/dbt_date
  Requested range: =0.4.1, =0.4.1
  Available versions: ['0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.3.0', '0.3.1', '0.4.0']

packages.yml:

  - package: calogica/dbt_date
    version: 0.4.1

Github shows 0.4.1 as the latest release but dbt hub still shows 0.4.0

I was able to get this working by changing the packages.yml (below) and running dbt deps afterwards.

packages:
  - git: 'https://github.com/calogica/dbt-date.git'
    revision: 0.4.1

Hi @julian-ganguli ! Yes, unfortunately dbt hub is a little slow to show the latest versions. I'll check with the dbt labs folks on that.
FYI, if you use the

 - package: calogica/dbt_date

syntax, you're always using dbt hub, which usually is the preferred way. You can also get around the version check by adding --no-version-check to your dbt run.

Thanks!

Closed via #47