Skip to content

Commit 078bc84

Browse files
authored
Bump various test dependencies (#494)
1 parent 547433b commit 078bc84

6 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
fail-fast: false
3434
steps:
3535
- uses: actions/checkout@v4
36-
- uses: actions/setup-python@v4
36+
- uses: actions/setup-python@v5
3737
with:
3838
python-version: ${{ matrix.python-version }}
3939
allow-prereleases: true
@@ -47,7 +47,7 @@ jobs:
4747
timeout-minutes: 5
4848
steps:
4949
- uses: actions/checkout@v4
50-
- uses: actions/setup-python@v4
50+
- uses: actions/setup-python@v5
5151
with:
5252
python-version: "3.12"
5353
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
@@ -66,7 +66,7 @@ jobs:
6666
fail-fast: false
6767
steps:
6868
- uses: actions/checkout@v4
69-
- uses: actions/setup-python@v4
69+
- uses: actions/setup-python@v5
7070
with:
7171
python-version: ${{ matrix.python-version }}
7272
allow-prereleases: true

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
id-token: write
1818
steps:
1919
- uses: actions/checkout@v4
20-
- name: Set up Python 3.10
21-
uses: actions/setup-python@v4
20+
- name: Set up Python 3.12
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: "3.12"
2424
- name: Install pypa/build

.github/workflows/typeshed_primer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
repository: python/typeshed
3838
path: typeshed
3939
- name: Setup Python
40-
uses: actions/setup-python@v4
40+
uses: actions/setup-python@v5
4141
with:
4242
python-version: "3.12"
4343
- name: Install uv
@@ -61,7 +61,7 @@ jobs:
6161
echo ${{ github.event.pull_request.number }} | tee pr_number.txt
6262
diff old_errors.txt new_errors.txt | tee errors_diff.txt
6363
- name: Upload diff and PR number
64-
uses: actions/upload-artifact@v3
64+
uses: actions/upload-artifact@v4
6565
with:
6666
name: typeshed_primer_errors
6767
path: |

.github/workflows/typeshed_primer_comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Download errors
22-
uses: actions/github-script@v6
22+
uses: actions/github-script@v7
2323
with:
2424
script: await require('.github/scripts/typeshed_primer_download_errors.js')({github, context})
2525
- run: unzip errors.zip
2626
- name: Post comment
2727
id: post-comment
28-
uses: actions/github-script@v6
28+
uses: actions/github-script@v7
2929
with:
3030
github-token: ${{secrets.GITHUB_TOKEN}}
3131
script: return await require('.github/scripts/typeshed_primer_post_comment.js')({github, context})

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0 # must match pyproject.toml
3+
rev: v4.6.0 # must match pyproject.toml
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
@@ -9,7 +9,7 @@ repos:
99
- id: check-merge-conflict
1010
- id: mixed-line-ending
1111
- repo: https://github.com/psf/black-pre-commit-mirror
12-
rev: 24.3.0 # must match pyproject.toml
12+
rev: 24.4.2 # must match pyproject.toml
1313
hooks:
1414
- id: black
1515
language_version: python3.8

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ dependencies = [
6060

6161
[project.optional-dependencies]
6262
dev = [
63-
"black==24.3.0", # Must match .pre-commit-config.yaml
64-
"flake8-bugbear==24.2.6",
63+
"black==24.4.2", # Must match .pre-commit-config.yaml
64+
"flake8-bugbear==24.4.26",
6565
"flake8-noqa==1.4.0",
6666
"isort==5.13.2", # Must match .pre-commit-config.yaml
67-
"mypy==1.9.0",
68-
"pre-commit-hooks==4.5.0", # Must match .pre-commit-config.yaml
69-
"pytest==8.1.1",
70-
"pytest-xdist==3.5.0",
67+
"mypy==1.10.0",
68+
"pre-commit-hooks==4.6.0", # Must match .pre-commit-config.yaml
69+
"pytest==8.2.2",
70+
"pytest-xdist==3.6.1",
7171
"types-pyflakes<4",
7272
]
7373

0 commit comments

Comments
 (0)