Skip to content

fix(ingestion): update ADBC and Teradata dependencies - #36223

Merged
ulixius9 merged 3 commits into
mainfrom
cve-2-0
Oct 26, 2026
Merged

ulixius9 merged 3 commits into
mainfrom
cve-2-0

Conversation

@IceS2

@IceS2 IceS2 commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Updates IOMETE's ADBC dependencies by Python version: ADBC Flight SQL and Driver Manager 1.13.0+ on Python 3.11+, and the upstream-compatible 1.12.0 on Python 3.10.\n\nUpdates Teradata to require teradatasql 20.0.0.72+ and aligns teradatasqlalchemy with the existing Airflow 3.3.2 constraint at 20.0.0.9.

RetriggerView in GreptileConfidence Score: 5/5

The changes since the previous review appear safe to merge.

Summary

Updates IOMETE and Teradata dependencies.

  • IOMETE installs choose ADBC versions by Python version.
  • Teradata installs use updated SQL driver packages.

Reviews (3) · Last reviewed commit: "docs(ingestion): document ADBC Python su..." · Reviewed by Greptile

@IceS2
IceS2 requested a review from a team as a code owner October 26, 2026 09:21
@IceS2
IceS2 requested review from stout-yeoman and a balanced review from Copilot October 26, 2026 09:21
@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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@github-actions github-actions Bot added Ingestion safe to test Add this label to run secure Github workflows on PRs labels Oct 26, 2026
Copilot AI balanced review requested due to automatic review settings October 26, 2026 09:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

Comment thread ingestion/setup.py Resolved
Copilot AI balanced review requested due to automatic review settings October 26, 2026 10:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@gitar-bot

gitar-bot Bot commented Oct 26, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 1 closed / 1 findings

🟡 Medium risk · Updating ADBC and Teradata driver dependencies changes connector runtime compatibility and could disrupt ingestion for affected Python versions or database deployments.

Updates IOMETE ADBC Flight SQL and Driver Manager to 1.13.0+ and Teradata to teradatasql 20.0.0.72+ with a matching teradatasqlalchemy pin. Python 3.10 ADBC 1.12.0 support is now documented alongside the carve-out, addressing the previously unrecorded carve-out finding. No open issues remain.

✅ 1 closed
✅ Quality: Python 3.10 ADBC 1.12.0 carve-out is recorded nowhere

📄 ingestion/setup.py:375-378 📄 ingestion/airflow-constraints-3.3.2.txt:67-70
This commit adds a new rule: IOMETE installs on Python < 3.11 stay pinned to adbc-driver-flightsql==1.12.0 / adbc-driver-manager==1.12.0, and only 3.11+ gets the 1.13.0 floor. Nothing in docs/decisions/ records it, and neither file has a comment explaining it. The PR description still says "Updates IOMETE to require ADBC Flight SQL and Driver Manager 1.13.0+", which is now wrong for 3.10 (requires-python = ">=3.10"). The reason only shows up in the commit title "preserve Python 3.10 ADBC support", and squash-merge drops that. This branch is a CVE-remediation branch, so the split also means 3.10 users knowingly keep the older driver. A later bump could easily undo it, or someone could "fix" it by raising the floor for every Python version.

The record should say something like: "IOMETE requires ADBC Flight SQL/Driver Manager >=1.13.0 on Python >=3.11; on Python 3.10, where 1.13.0 is not installable, it stays pinned to 1.12.0 and accepts what 1.12.0 lacks, until Python 3.10 support is dropped." Add that as a record in docs/decisions/, put a one-line comment by the markers in setup.py (as setup.py:53 does for a similar Python-floor case), and correct the description.

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

@sonarqubecloud

Copy link
Copy Markdown

@ulixius9
ulixius9 added this pull request to the merge queue Oct 26, 2026
Merged via the queue into main with commit 19e9c1f Oct 26, 2026
82 of 85 checks passed
@ulixius9
ulixius9 deleted the cve-2-0 branch October 26, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ingestion safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants