From 7bb3f3fca39d477b2bb04f64ff5ea2cc14383e51 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 7 Jul 2023 15:04:50 +0100 Subject: [PATCH] Fix third-party workflow (#269) --- .github/workflows/third_party.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml index bcb0234c..d07f82e3 100644 --- a/.github/workflows/third_party.yml +++ b/.github/workflows/third_party.yml @@ -49,6 +49,10 @@ jobs: uses: actions/checkout@v3 with: repository: pydantic/pydantic + - name: Edit pydantic pyproject.toml + # pydantic's python-requires means pdm won't let us add typing-extensions-latest + # as a requirement unless we do this + run: sed -i 's/^requires-python = .*/requires-python = ">=3.8"/' pyproject.toml - name: Checkout typing_extensions uses: actions/checkout@v3 with: @@ -316,6 +320,10 @@ jobs: uses: actions/checkout@v3 with: repository: python-attrs/cattrs + - name: Edit cattrs pyproject.toml + # cattrs's python-requires means pdm won't let us add typing-extensions-latest + # as a requirement unless we do this + run: sed -i 's/^requires-python = .*/requires-python = ">=3.8"/' pyproject.toml - name: Checkout typing_extensions uses: actions/checkout@v3 with: