Skip to content

Commit 7bb3f3f

Browse files
authored
Fix third-party workflow (#269)
1 parent 8860c6a commit 7bb3f3f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/third_party.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ jobs:
4949
uses: actions/checkout@v3
5050
with:
5151
repository: pydantic/pydantic
52+
- name: Edit pydantic pyproject.toml
53+
# pydantic's python-requires means pdm won't let us add typing-extensions-latest
54+
# as a requirement unless we do this
55+
run: sed -i 's/^requires-python = .*/requires-python = ">=3.8"/' pyproject.toml
5256
- name: Checkout typing_extensions
5357
uses: actions/checkout@v3
5458
with:
@@ -316,6 +320,10 @@ jobs:
316320
uses: actions/checkout@v3
317321
with:
318322
repository: python-attrs/cattrs
323+
- name: Edit cattrs pyproject.toml
324+
# cattrs's python-requires means pdm won't let us add typing-extensions-latest
325+
# as a requirement unless we do this
326+
run: sed -i 's/^requires-python = .*/requires-python = ">=3.8"/' pyproject.toml
319327
- name: Checkout typing_extensions
320328
uses: actions/checkout@v3
321329
with:

0 commit comments

Comments
 (0)