Skip to content

Update package import#2114

Open
will-warner wants to merge 1 commit intoelementary-data:masterfrom
will-warner:ww/feature/update-package
Open

Update package import#2114
will-warner wants to merge 1 commit intoelementary-data:masterfrom
will-warner:ww/feature/update-package

Conversation

@will-warner
Copy link
Contributor

@will-warner will-warner commented Feb 13, 2026

Updating elementary dbt package import to ref dbt's package hub rather than git.

Elementary currently fails to run in environments that dont have Git installed, I believe because of this.

Summary by CodeRabbit

  • Chores
    • Updated Elementary package to version 0.22.1
    • Improved dependency management configuration by transitioning to standard package specifications for enhanced stability

@github-actions
Copy link
Contributor

👋 @will-warner
Thank you for raising your pull request.
Please make sure to add tests and document all user-facing changes.
You can do this by editing the docs files in this pull request.

@coderabbitai
Copy link

coderabbitai bot commented Feb 13, 2026

📝 Walkthrough

Walkthrough

The dbt project's package dependencies were updated to use standard named package specifications instead of git-based references, replacing the git-based elementary-data/dbt-data-reliability dependency with elementary-data/elementary version 0.22.1, with corresponding lock file updates.

Changes

Cohort / File(s) Summary
dbt Package Dependency Configuration
elementary/monitor/dbt_project/packages.yml, elementary/monitor/dbt_project/package-lock.yml
Transitioned from git-based dependency references to named package specifications. Replaced git-based elementary-data/dbt-data-reliability with named elementary-data/elementary version 0.22.1. Updated package hashes and lock file entries to reflect the new package structure.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Dependencies dance in measured time,
Git to packages—a structured climb,
Elementary 0.22.1 takes the stage,
Locked and ready, a new page! ✨

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update package import' directly relates to the main change: replacing git-based package dependencies with named package entries from dbt's package hub, addressing the core issue of Git availability.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into master

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
elementary/monitor/dbt_project/packages.yml (1)

12-13: ⚠️ Potential issue | 🟡 Minor

Stale version in the commented-out template.

The commented fallback on Line 13 still references 0.22.0 while the active dependency is 0.22.1. Consider bumping it to keep the template in sync.

Proposed fix
   # - package: elementary-data/elementary
-  #   version: 0.22.0
+  #   version: 0.22.1
🤖 Fix all issues with AI agents
In `@elementary/monitor/dbt_project/packages.yml`:
- Around line 4-5: The packages.yml lists package: elementary-data/elementary
with version 0.22.1 which doesn't exist on the dbt hub; update that version to
the published one (0.20.1) or confirm and change it to the intended published
tag before running dbt deps; specifically edit the packages.yml entry for
package: elementary-data/elementary and set version: 0.20.1 (or the correct
published version) so dbt deps will succeed.

Comment on lines +4 to +5
- package: elementary-data/elementary
version: 0.22.1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

elementary-data/elementary dbt package hub

💡 Result:

Elementary dbt package on dbt Package Hub (a.k.a. “dbt Hub”)

  • Package hub page (latest):

    https://hub.getdbt.com/elementary-data/elementary/latest/
    

    (CDN mirror: https://hub.cdn.getdbt.com/elementary-data/elementary/latest)
    The hub page shows the current latest version (0.20.1) and installation snippet, and points to the GitHub repo elementary-data/dbt-data-reliability. [1]

  • Install (from the hub page):

    packages:
      - package: elementary-data/elementary
        version: 0.20.1

    ثم:

    dbt deps

    [1]

  • Docs / “dbt package” overview (what it does, models, schema config, hooks): [2]

  • Elementary “dbt Test Hub” (searchable catalog of tests supported in Elementary): [3]

Sources: [1] [2] [3]


Version 0.22.1 is not available on the dbt package hub.

The dbt package hub shows the latest available version of elementary-data/elementary as 0.20.1, not 0.22.1 as specified in the code. This will cause dbt deps to fail. Either update to version 0.20.1 or verify the intended version is published on the hub before merging.

🤖 Prompt for AI Agents
In `@elementary/monitor/dbt_project/packages.yml` around lines 4 - 5, The
packages.yml lists package: elementary-data/elementary with version 0.22.1 which
doesn't exist on the dbt hub; update that version to the published one (0.20.1)
or confirm and change it to the intended published tag before running dbt deps;
specifically edit the packages.yml entry for package: elementary-data/elementary
and set version: 0.20.1 (or the correct published version) so dbt deps will
succeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant