Skip to content

Commit 2c6bf6b

Browse files
Update most test/lint dependencies (#15967)
* Update most test/lint dependencies * Update metadata.py --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent a8373a6 commit 2c6bf6b

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
args: [--fix=lf]
1212
- id: check-case-conflict
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: v0.15.9 # must match requirements-tests.txt
14+
rev: v0.15.20 # must match requirements-tests.txt
1515
hooks:
1616
- id: ruff
1717
name: Run ruff on stubs, tests and scripts
@@ -27,7 +27,7 @@ repos:
2727
- "--unsafe-fixes"
2828
files: '.*test_cases/.+\.py$'
2929
- repo: https://github.com/psf/black-pre-commit-mirror
30-
rev: 26.5.0
30+
rev: 26.5.1
3131
hooks:
3232
- id: black
3333
- repo: https://github.com/pycqa/flake8

lib/ts_utils/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def update_metadata(distribution: str, **new_values: object) -> dict[str, object
374374
new_key = key.replace("_", "-")
375375
data[new_key] = data.pop(key)
376376
with path.open("w", encoding="UTF-8") as f:
377-
tomlkit.dump(data, f) # pyright: ignore[reportUnknownMemberType] # tomlkit.dump has partially unknown Mapping type
377+
tomlkit.dump(data, f)
378378
return data
379379

380380

requirements-tests.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ pyright==1.1.411
66
# Libraries used by our various scripts.
77
aiohttp==3.14.1
88
grpcio-tools>=1.76.0; python_version < "3.15" # For grpc_tools.protoc
9-
mypy-protobuf==5.0.0; python_version < "3.15"
10-
packaging==26.0
9+
mypy-protobuf==5.1.0; python_version < "3.15"
10+
packaging==26.2
1111
pathspec>=1.1.1
1212
pre-commit
1313
# Required by create_baseline_stubs.py.
1414
# stubdefaulter depends on libcst, which does not yet install cleanly on Python 3.15.
15-
ruff==0.15.8
15+
ruff==0.15.20
1616
stubdefaulter==0.1.0; python_version < "3.15"
1717
termcolor>=2.3
1818
tomli==2.4.1; python_version < "3.11"
19-
tomlkit==0.14.0
19+
tomlkit==0.15.0
2020
typing_extensions>=4.16.0rc2
21-
uv==0.11.15
21+
uv==0.11.26
2222

2323
# Utilities for typeshed infrastructure scripts.
2424
ts_utils @ file:lib

0 commit comments

Comments
 (0)