Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump various test dependencies #494

Merged
merged 1 commit into from
Jun 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
Expand All @@ -47,7 +47,7 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
Expand All @@ -66,7 +66,7 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install pypa/build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/typeshed_primer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
repository: python/typeshed
path: typeshed
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
Expand All @@ -61,7 +61,7 @@ jobs:
echo ${{ github.event.pull_request.number }} | tee pr_number.txt
diff old_errors.txt new_errors.txt | tee errors_diff.txt
- name: Upload diff and PR number
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: typeshed_primer_errors
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/typeshed_primer_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download errors
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: await require('.github/scripts/typeshed_primer_download_errors.js')({github, context})
- run: unzip errors.zip
- name: Post comment
id: post-comment
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: return await require('.github/scripts/typeshed_primer_post_comment.js')({github, context})
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 # must match pyproject.toml
rev: v4.6.0 # must match pyproject.toml
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -9,7 +9,7 @@ repos:
- id: check-merge-conflict
- id: mixed-line-ending
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.3.0 # must match pyproject.toml
rev: 24.4.2 # must match pyproject.toml
hooks:
- id: black
language_version: python3.8
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ dependencies = [

[project.optional-dependencies]
dev = [
"black==24.3.0", # Must match .pre-commit-config.yaml
"flake8-bugbear==24.2.6",
"black==24.4.2", # Must match .pre-commit-config.yaml
"flake8-bugbear==24.4.26",
"flake8-noqa==1.4.0",
"isort==5.13.2", # Must match .pre-commit-config.yaml
"mypy==1.9.0",
"pre-commit-hooks==4.5.0", # Must match .pre-commit-config.yaml
"pytest==8.1.1",
"pytest-xdist==3.5.0",
"mypy==1.10.0",
"pre-commit-hooks==4.6.0", # Must match .pre-commit-config.yaml
"pytest==8.2.2",
"pytest-xdist==3.6.1",
"types-pyflakes<4",
]

Expand Down