Conversation
…qlfluff uv audit flagged 40 known CVEs in transitive deps (click, msgpack, protobuf, pygments, pytest, requests, sqlfluff, sqlparse, urllib3). The fixed versions either require Python >=3.10 or are blocked by dbt-core 1.7's own pins (e.g. protobuf<5). Raising the Python floor and upgrading dbt-core/dbt-duckdb off 1.7 and sqlfluff off 2.x unblocks all of them. - requires-python: >=3.8 -> >=3.10 - dbt-core: >=1.7.9,<1.8.0 -> >=1.12.0,<1.13.0 - dbt-duckdb: >=1.7.3,<1.8.0 -> >=1.11.0,<1.12.0 - sqlfluff: >=2.3.5,<3 -> >=4.2.0,<5 Verified with `uv audit` (0 findings, was 40) and `dbt build` (28/28 pass). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
uv auditflagged 40 known CVEs, all in transitive deps: click, msgpack, protobuf, pygments, pytest, requests, sqlfluff, sqlparse, urllib3.dbt-core1.7's ownprotobuf<5pin. Raising the Python floor and upgradingdbt-core/dbt-duckdboff 1.7 andsqlfluffoff 2.x unblocks all of them.requires-python>=3.8→>=3.10,dbt-core>=1.7.9,<1.8.0→>=1.12.0,<1.13.0,dbt-duckdb>=1.7.3,<1.8.0→>=1.11.0,<1.12.0,sqlfluff>=2.3.5,<3→>=4.2.0,<5.pytestdisappeared from the lockfile — old sqlfluff 2.3.5 pulled it in unconditionally; 4.x moved it behind an optionaltestutilsextra. No impact: this repo has no pytest test suite (tests/only has__init__.py).Test plan
uv audit— 0 findings (was 40)dbt debug— OKdbt build— 28/28 pass (3 seeds, 6 models, 19 data tests)🤖 Generated with Claude Code