Skip to content

Commit 00dedc2

Browse files
authored
Merge branch 'main' into get_type_hints
2 parents 214dfef + 15d48b2 commit 00dedc2

File tree

5 files changed

+382
-91
lines changed

5 files changed

+382
-91
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ jobs:
5252
- "3.11"
5353
- "3.11.0"
5454
- "3.12"
55+
- "3.12.0"
5556
- "3.13"
57+
- "3.13.0"
5658
- "pypy3.8"
5759
- "pypy3.9"
5860
- "pypy3.10"

.github/workflows/third_party.yml

Lines changed: 18 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,20 @@ concurrency:
2626
cancel-in-progress: true
2727

2828
jobs:
29+
skip-schedule-on-fork:
30+
name: Check for schedule trigger on fork
31+
runs-on: ubuntu-latest
32+
# if 'schedule' was the trigger,
33+
# don't run it on contributors' forks
34+
if: >-
35+
github.repository == 'python/typing_extensions'
36+
|| github.event_name != 'schedule'
37+
steps:
38+
- run: true
39+
2940
pydantic:
3041
name: pydantic tests
31-
if: >-
32-
# if 'schedule' was the trigger,
33-
# don't run it on contributors' forks
34-
${{
35-
github.event_name != 'schedule'
36-
|| (
37-
github.repository == 'python/typing_extensions'
38-
&& github.event_name == 'schedule'
39-
)
40-
}}
42+
needs: skip-schedule-on-fork
4143
strategy:
4244
fail-fast: false
4345
matrix:
@@ -72,16 +74,7 @@ jobs:
7274

7375
typing_inspect:
7476
name: typing_inspect tests
75-
if: >-
76-
# if 'schedule' was the trigger,
77-
# don't run it on contributors' forks
78-
${{
79-
github.event_name != 'schedule'
80-
|| (
81-
github.repository == 'python/typing_extensions'
82-
&& github.event_name == 'schedule'
83-
)
84-
}}
77+
needs: skip-schedule-on-fork
8578
strategy:
8679
fail-fast: false
8780
matrix:
@@ -117,16 +110,7 @@ jobs:
117110
118111
pyanalyze:
119112
name: pyanalyze tests
120-
if: >-
121-
# if 'schedule' was the trigger,
122-
# don't run it on contributors' forks
123-
${{
124-
github.event_name != 'schedule'
125-
|| (
126-
github.repository == 'python/typing_extensions'
127-
&& github.event_name == 'schedule'
128-
)
129-
}}
113+
needs: skip-schedule-on-fork
130114
strategy:
131115
fail-fast: false
132116
matrix:
@@ -163,16 +147,7 @@ jobs:
163147
164148
typeguard:
165149
name: typeguard tests
166-
if: >-
167-
# if 'schedule' was the trigger,
168-
# don't run it on contributors' forks
169-
${{
170-
github.event_name != 'schedule'
171-
|| (
172-
github.repository == 'python/typing_extensions'
173-
&& github.event_name == 'schedule'
174-
)
175-
}}
150+
needs: skip-schedule-on-fork
176151
strategy:
177152
fail-fast: false
178153
matrix:
@@ -210,16 +185,7 @@ jobs:
210185
211186
typed-argument-parser:
212187
name: typed-argument-parser tests
213-
if: >-
214-
# if 'schedule' was the trigger,
215-
# don't run it on contributors' forks
216-
${{
217-
github.event_name != 'schedule'
218-
|| (
219-
github.repository == 'python/typing_extensions'
220-
&& github.event_name == 'schedule'
221-
)
222-
}}
188+
needs: skip-schedule-on-fork
223189
strategy:
224190
fail-fast: false
225191
matrix:
@@ -262,16 +228,7 @@ jobs:
262228
263229
mypy:
264230
name: stubtest & mypyc tests
265-
if: >-
266-
# if 'schedule' was the trigger,
267-
# don't run it on contributors' forks
268-
${{
269-
github.event_name != 'schedule'
270-
|| (
271-
github.repository == 'python/typing_extensions'
272-
&& github.event_name == 'schedule'
273-
)
274-
}}
231+
needs: skip-schedule-on-fork
275232
strategy:
276233
fail-fast: false
277234
matrix:
@@ -309,16 +266,7 @@ jobs:
309266
310267
cattrs:
311268
name: cattrs tests
312-
if: >-
313-
# if 'schedule' was the trigger,
314-
# don't run it on contributors' forks
315-
${{
316-
github.event_name != 'schedule'
317-
|| (
318-
github.repository == 'python/typing_extensions'
319-
&& github.event_name == 'schedule'
320-
)
321-
}}
269+
needs: skip-schedule-on-fork
322270
strategy:
323271
fail-fast: false
324272
matrix:

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ aliases that have a `Concatenate` special form as their argument.
3333
- Fix that lists and ... could not be used for parameter expressions for `TypeAliasType`
3434
instances before Python 3.11.
3535
Patch by [Daraan](https://github.com/Daraan).
36+
- Fix error on Python 3.10 when using `typing.Concatenate` and
37+
`typing_extensions.Concatenate` together. Patch by [Daraan](https://github.com/Daraan).
3638

3739
# Release 4.12.2 (June 7, 2024)
3840

0 commit comments

Comments
 (0)