From 451e84373d4c99f26a855702a9e46cbd69da2813 Mon Sep 17 00:00:00 2001 From: Naoto Mizuno Date: Thu, 25 May 2023 13:02:13 +0900 Subject: [PATCH] Fix the CI with AllenNLP --- .github/workflows/tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 41519e0b..67e9abbc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,6 +62,11 @@ jobs: pip install --progress-bar off .[test] pip install --progress-bar off .[all] + # TODO(not522): Remove the version constraint when splitting this workflow. + # This constraint is necessary to use the old Pydantic. + # See https://github.com/pydantic/pydantic/issues/5821. + pip install "typing_extensions<4.6.0" + # Install optuna from specified repository, otherwise from optuna/optuna. $( test ${{ inputs.repository_name }} && test ${{ inputs.branch_name }} ) \ && pip install git+https://github.com/${{ inputs.repository_name }}@${{ inputs.branch_name }} \