Skip to content

Commit 598528d

Browse files
committed
Merge remote-tracking branch 'origin/main' into dcreager/protocol-self
* origin/main: (27 commits) [ty] Add hint about resolved Python version when a user attempts to import a member added on a newer version (#21615) Use release commit for actions/checkout (#21610) [ty] Add failing mdtest for known `Protocol` panic (#21594) [`parser`] Fix panic when parsing IPython escape command expressions (#21480) Fix cargo shear in CI (#21609) Update actions/checkout digest to c2d88d3 (#21601) Update dependency ruff to v0.14.6 (#21603) Update astral-sh/setup-uv action to v7.1.4 (#21602) Update Rust crate clap to v4.5.53 (#21604) Update taiki-e/install-action action to v2.62.56 (#21608) Update Rust crate hashbrown to v0.16.1 (#21605) Update Rust crate indexmap to v2.12.1 (#21606) Update Rust crate syn to v2.0.111 (#21607) [ty] Check method definitions on subclasses for Liskov violations (#21436) [ty] Fix panic for unclosed string literal in type annotation position (#21592) [ty] Fix rendering of unused suppression diagnostic (#21580) [ty] Improve lsp handling of hover/goto on imports (#21572) [ty] Improve diagnostics when a submodule is not available as an attribute on a module-literal type (#21561) [ty] Improve concise diagnostics for invalid exceptions when a user catches a tuple of objects (#21578) [ty] upgrade salsa (#21575) ...
2 parents 08145db + a57e291 commit 598528d

File tree

83 files changed

+3638
-901
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+3638
-901
lines changed

.github/workflows/ci.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -261,15 +261,15 @@ jobs:
261261
- name: "Install mold"
262262
uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
263263
- name: "Install cargo nextest"
264-
uses: taiki-e/install-action@537c30d2b45cc3aa3fb35e2bbcfb61ef93fd6f02 # v2.62.52
264+
uses: taiki-e/install-action@f79fe7514db78f0a7bdba3cb6dd9c1baa7d046d9 # v2.62.56
265265
with:
266266
tool: cargo-nextest
267267
- name: "Install cargo insta"
268-
uses: taiki-e/install-action@537c30d2b45cc3aa3fb35e2bbcfb61ef93fd6f02 # v2.62.52
268+
uses: taiki-e/install-action@f79fe7514db78f0a7bdba3cb6dd9c1baa7d046d9 # v2.62.56
269269
with:
270270
tool: cargo-insta
271271
- name: "Install uv"
272-
uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
272+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
273273
with:
274274
enable-cache: "true"
275275
- name: ty mdtests (GitHub annotations)
@@ -319,11 +319,11 @@ jobs:
319319
- name: "Install mold"
320320
uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
321321
- name: "Install cargo nextest"
322-
uses: taiki-e/install-action@537c30d2b45cc3aa3fb35e2bbcfb61ef93fd6f02 # v2.62.52
322+
uses: taiki-e/install-action@f79fe7514db78f0a7bdba3cb6dd9c1baa7d046d9 # v2.62.56
323323
with:
324324
tool: cargo-nextest
325325
- name: "Install uv"
326-
uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
326+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
327327
with:
328328
enable-cache: "true"
329329
- name: "Run tests"
@@ -352,11 +352,11 @@ jobs:
352352
- name: "Install Rust toolchain"
353353
run: rustup show
354354
- name: "Install cargo nextest"
355-
uses: taiki-e/install-action@537c30d2b45cc3aa3fb35e2bbcfb61ef93fd6f02 # v2.62.52
355+
uses: taiki-e/install-action@f79fe7514db78f0a7bdba3cb6dd9c1baa7d046d9 # v2.62.56
356356
with:
357357
tool: cargo-nextest
358358
- name: "Install uv"
359-
uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
359+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
360360
with:
361361
enable-cache: "true"
362362
- name: "Run tests"
@@ -462,7 +462,7 @@ jobs:
462462
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
463463
with:
464464
persist-credentials: false
465-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
465+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
466466
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
467467
with:
468468
shared-key: ruff-linux-debug
@@ -497,7 +497,7 @@ jobs:
497497
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
498498
with:
499499
save-if: ${{ github.ref == 'refs/heads/main' }}
500-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
500+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
501501
- name: "Install Rust toolchain"
502502
run: rustup component add rustfmt
503503
# Run all code generation scripts, and verify that the current output is
@@ -532,7 +532,7 @@ jobs:
532532
ref: ${{ github.event.pull_request.base.ref }}
533533
persist-credentials: false
534534

535-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
535+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
536536
with:
537537
python-version: ${{ env.PYTHON_VERSION }}
538538
activate-environment: true
@@ -638,7 +638,7 @@ jobs:
638638
with:
639639
fetch-depth: 0
640640
persist-credentials: false
641-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
641+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
642642
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
643643
with:
644644
save-if: ${{ github.ref == 'refs/heads/main' }}
@@ -697,7 +697,7 @@ jobs:
697697
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
698698
with:
699699
persist-credentials: false
700-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
700+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
701701
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
702702
with:
703703
save-if: ${{ github.ref == 'refs/heads/main' }}
@@ -748,7 +748,7 @@ jobs:
748748
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
749749
with:
750750
persist-credentials: false
751-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
751+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
752752
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
753753
with:
754754
save-if: ${{ github.ref == 'refs/heads/main' }}
@@ -792,7 +792,7 @@ jobs:
792792
- name: "Install Rust toolchain"
793793
run: rustup show
794794
- name: Install uv
795-
uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
795+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
796796
with:
797797
python-version: 3.13
798798
activate-environment: true
@@ -947,13 +947,13 @@ jobs:
947947
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
948948
with:
949949
save-if: ${{ github.ref == 'refs/heads/main' }}
950-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
950+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
951951

952952
- name: "Install Rust toolchain"
953953
run: rustup show
954954

955955
- name: "Install codspeed"
956-
uses: taiki-e/install-action@537c30d2b45cc3aa3fb35e2bbcfb61ef93fd6f02 # v2.62.52
956+
uses: taiki-e/install-action@f79fe7514db78f0a7bdba3cb6dd9c1baa7d046d9 # v2.62.56
957957
with:
958958
tool: cargo-codspeed
959959

@@ -987,13 +987,13 @@ jobs:
987987
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
988988
with:
989989
save-if: ${{ github.ref == 'refs/heads/main' }}
990-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
990+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
991991

992992
- name: "Install Rust toolchain"
993993
run: rustup show
994994

995995
- name: "Install codspeed"
996-
uses: taiki-e/install-action@537c30d2b45cc3aa3fb35e2bbcfb61ef93fd6f02 # v2.62.52
996+
uses: taiki-e/install-action@f79fe7514db78f0a7bdba3cb6dd9c1baa7d046d9 # v2.62.56
997997
with:
998998
tool: cargo-codspeed
999999

@@ -1027,13 +1027,13 @@ jobs:
10271027
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
10281028
with:
10291029
save-if: ${{ github.ref == 'refs/heads/main' }}
1030-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
1030+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
10311031

10321032
- name: "Install Rust toolchain"
10331033
run: rustup show
10341034

10351035
- name: "Install codspeed"
1036-
uses: taiki-e/install-action@537c30d2b45cc3aa3fb35e2bbcfb61ef93fd6f02 # v2.62.52
1036+
uses: taiki-e/install-action@f79fe7514db78f0a7bdba3cb6dd9c1baa7d046d9 # v2.62.56
10371037
with:
10381038
tool: cargo-codspeed
10391039

.github/workflows/daily_fuzz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3535
with:
3636
persist-credentials: false
37-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
37+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
3838
- name: "Install Rust toolchain"
3939
run: rustup show
4040
- name: "Install mold"

.github/workflows/mypy_primer.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
persist-credentials: false
4444

4545
- name: Install the latest version of uv
46-
uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
46+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
4747

4848
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
4949
with:
@@ -81,7 +81,7 @@ jobs:
8181
persist-credentials: false
8282

8383
- name: Install the latest version of uv
84-
uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
84+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
8585

8686
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
8787
with:

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id-token: write
2323
steps:
2424
- name: "Install uv"
25-
uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
25+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
2626
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
2727
with:
2828
pattern: wheels-*

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
env:
6161
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6262
steps:
63-
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
63+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
6464
with:
6565
persist-credentials: false
6666
submodules: recursive
@@ -123,7 +123,7 @@ jobs:
123123
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
124124
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
125125
steps:
126-
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
126+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
127127
with:
128128
persist-credentials: false
129129
submodules: recursive
@@ -174,7 +174,7 @@ jobs:
174174
outputs:
175175
val: ${{ steps.host.outputs.manifest }}
176176
steps:
177-
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
177+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
178178
with:
179179
persist-credentials: false
180180
submodules: recursive
@@ -250,7 +250,7 @@ jobs:
250250
env:
251251
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
252252
steps:
253-
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
253+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
254254
with:
255255
persist-credentials: false
256256
submodules: recursive

.github/workflows/sync_typeshed.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
run: |
7878
git config --global user.name typeshedbot
7979
git config --global user.email '<>'
80-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
80+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
8181
- name: Sync typeshed stubs
8282
run: |
8383
rm -rf "ruff/${VENDORED_TYPESHED}"
@@ -131,7 +131,7 @@ jobs:
131131
with:
132132
persist-credentials: true
133133
ref: ${{ env.UPSTREAM_BRANCH}}
134-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
134+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
135135
- name: Setup git
136136
run: |
137137
git config --global user.name typeshedbot
@@ -170,7 +170,7 @@ jobs:
170170
with:
171171
persist-credentials: true
172172
ref: ${{ env.UPSTREAM_BRANCH}}
173-
- uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
173+
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
174174
- name: Setup git
175175
run: |
176176
git config --global user.name typeshedbot
@@ -207,12 +207,12 @@ jobs:
207207
uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
208208
- name: "Install cargo nextest"
209209
if: ${{ success() }}
210-
uses: taiki-e/install-action@537c30d2b45cc3aa3fb35e2bbcfb61ef93fd6f02 # v2.62.52
210+
uses: taiki-e/install-action@f79fe7514db78f0a7bdba3cb6dd9c1baa7d046d9 # v2.62.56
211211
with:
212212
tool: cargo-nextest
213213
- name: "Install cargo insta"
214214
if: ${{ success() }}
215-
uses: taiki-e/install-action@537c30d2b45cc3aa3fb35e2bbcfb61ef93fd6f02 # v2.62.52
215+
uses: taiki-e/install-action@f79fe7514db78f0a7bdba3cb6dd9c1baa7d046d9 # v2.62.56
216216
with:
217217
tool: cargo-insta
218218
- name: Update snapshots

.github/workflows/ty-ecosystem-analyzer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
persist-credentials: false
3434

3535
- name: Install the latest version of uv
36-
uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
36+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
3737
with:
3838
enable-cache: true # zizmor: ignore[cache-poisoning] acceptable risk for CloudFlare pages artifact
3939

.github/workflows/ty-ecosystem-report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
persist-credentials: false
3030

3131
- name: Install the latest version of uv
32-
uses: astral-sh/setup-uv@5a7eac68fb9809dea845d802897dc5c723910fa3 # v7.1.3
32+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
3333
with:
3434
enable-cache: true # zizmor: ignore[cache-poisoning] acceptable risk for CloudFlare pages artifact
3535

0 commit comments

Comments
 (0)