Skip to content

Commit e45ddf1

Browse files
committed
chore: drop unused dev dependencies, unpin ty, refresh the lockfile
Remove four development dependencies that nothing in the repo uses: - tox: no tox.ini, no setup.cfg, no [tool.tox] section - bumpversion: no config either; CONTRIBUTING documents bumping __version__.py by hand and the release workflow verifies it - pytest-csv: no --csv usage in pytest.ini, the Makefile or CI - pytz: no imports anywhere pytz stays installed as a transitive dependency of dbt-adapters and dbt-common, so nothing changes at runtime. Removing the direct declaration only drops a claim this repo does not use. Unpin ty. The exact `ty==0.0.64` constraint duplicated a version uv.lock already carries, and every caller reaches ty through `uv run --frozen`, so the lock is what they resolve either way. Relocking takes it to 0.0.75. Then refresh the rest with `uv lock --upgrade`: 52 packages moved, 2 added and 7 removed. Bump the ruff-pre-commit rev from v0.15.20 to v0.16.5 so the hooks run the same ruff the lock resolves. Both now report 0.16.5. Development dependencies only. The adapter's runtime requirements in [project.dependencies] are untouched.
1 parent 521ea20 commit e45ddf1

3 files changed

Lines changed: 1059 additions & 1002 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
- '-d {extends: default, rules: {line-length: disable, document-start: disable}}'
3535
- '-s'
3636
- repo: 'https://github.com/astral-sh/ruff-pre-commit'
37-
rev: v0.15.20
37+
rev: v0.16.5
3838
hooks:
3939
- id: ruff-check
4040
args:

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,17 @@ dev = [
6262
"adbc-driver-manager>=1.0.0",
6363
"pyarrow>=14.0.0",
6464
"build",
65-
"bumpversion",
6665
"flaky",
6766
"freezegun>=1.5.0,<2.0",
6867
"ipdb",
6968
"pre-commit",
7069
"pytest",
7170
"pytest-cov",
72-
"pytest-csv",
7371
"pytest-dotenv",
7472
"pytest-xdist",
75-
"pytz",
7673
"ruff",
77-
"tox>=3.13",
7874
"twine",
79-
# Pinned exactly: this is the single source of the ty version, read by the
80-
# pre-commit hook, `make ty` and the Type check workflow alike.
81-
"ty==0.0.64",
75+
"ty",
8276
]
8377

8478
[project.urls]

0 commit comments

Comments
 (0)