From 51ac71abfd066145d2e12ddc4547d8210a3aa58f Mon Sep 17 00:00:00 2001 From: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:34:06 -0500 Subject: [PATCH] Attempt fix - release build failed, need to install `typing-extensions` from main until a version after v4.12.1 (#1313) --- .github/workflows/ci.yml | 6 ------ tests/requirements.txt | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5aacc579d..156ab6519 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,9 +90,6 @@ jobs: python-version: ${{ matrix.python-version }} - run: pip install -r tests/requirements.txt - # TODO: remove this after the the next release of typing-extensions (v4.12.3 or v.4.13.0) - - run: pip uninstall -y typing-extensions - - run: pip install -U git+https://github.com/python/typing_extensions@main - run: pip install -e . env: @@ -662,10 +659,8 @@ jobs: fi run: | set -x - # typing-extensions isn't automatically installed because of `--no-index --no-deps` python3 -m venv venv source venv/bin/activate - python3 -m pip install -U pip typing-extensions python3 -m pip install -r tests/requirements.txt python3 -m pip install pydantic-core --no-index --no-deps --find-links dist --force-reinstall python3 -m pytest --ignore=tests/test_docstrings.py @@ -696,7 +691,6 @@ jobs: merge-multiple: true path: dist - - run: pip install typing-extensions - run: pip install -r tests/requirements.txt - run: pip install pydantic-core --no-index --no-deps --find-links dist --force-reinstall - run: pytest --ignore=tests/test_docstrings.py diff --git a/tests/requirements.txt b/tests/requirements.txt index 7d8e2de3d..85bfca252 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -21,3 +21,5 @@ pytest-timeout==2.3.1 numpy==1.26.2; python_version >= "3.9" and python_version < "3.13" and implementation_name == "cpython" and platform_machine == 'x86_64' exceptiongroup==1.1; python_version < "3.11" tzdata==2024.1 +# TODO: remove manual override for typing_extensions once a version newer than 4.12.1 is released +git+https://github.com/python/typing_extensions@main