Skip to content

ingestion: cap python-liquid below 3 - #37870

Merged
Khairajani merged 1 commit into
mainfrom
pin-python-liquid-main
Nov 16, 2026
Merged

Khairajani merged 1 commit into
mainfrom
pin-python-liquid-main

Conversation

@Khairajani

@Khairajani Khairajani commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

  • python-liquid 3.0.0 (2026-11-13) removed Template(source). Looker's _render_table_name swallows the TypeError and returns the raw template, so Liquid in sql_table_name is never rendered.
  • main is green only because uv.lock pins 2.3.5. A full relock would pull in 3.0.0. This caps it at ~=2.3. The relock changes only the specifiers, and the locked version stays at 2.3.5.
  • 2.0 has no uv.lock and is already failing 7 Looker unit tests. A backport follows.

Type of change:

  • Bug fix

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

Caps python-liquid at >=2.3,<3 for Looker and test installs.

  • Looker installs stay on the python-liquid 2.x line.

Reviews (1) · Last reviewed commit: "ingestion: cap python-liquid below 3" · Reviewed by Greptile

python-liquid 3.0.0 removed Template(source). Looker's _render_table_name
swallows the TypeError and returns the raw template, so Liquid in
sql_table_name is never rendered.
@Khairajani
Khairajani requested a review from a team as a code owner November 16, 2026 09:38
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Capping python-liquid at 2.x avoids the removed Template(source) API; allowing 3.x could leave Looker SQL table-name templates unrendered.

Caps python-liquid at ~=2.3 in the ingestion dependencies so a relock cannot pull in 3.0.0, which removed Template(source) and broke Liquid rendering in Looker's _render_table_name. The locked version stays at 2.3.5. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@Khairajani
Khairajani enabled auto-merge (squash) November 16, 2026 09:49
@Khairajani
Khairajani merged commit 623afdb into main Nov 16, 2026
51 of 54 checks passed
@Khairajani
Khairajani deleted the pin-python-liquid-main branch November 16, 2026 09:56
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.

2 participants