From e355354d15ec1972e2c4e82ca23a73773ae362fd Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 1 Aug 2025 12:11:24 +0100 Subject: [PATCH 1/7] Do less `cd`ing around in the third-party workflow --- .github/workflows/third_party.yml | 166 +++++++++++++++++------------- 1 file changed, 97 insertions(+), 69 deletions(-) diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml index b1a2ae42..495b94b9 100644 --- a/.github/workflows/third_party.yml +++ b/.github/workflows/third_party.yml @@ -61,14 +61,19 @@ jobs: with: path: typing-extensions-latest persist-credentials: false - - name: Add local version of typing_extensions as a dependency - run: cd pydantic; uv add --editable ../typing-extensions-latest - - name: Install pydantic test dependencies - run: cd pydantic; uv sync --group dev - - name: List installed dependencies - run: cd pydantic; uv pip list - - name: Run pydantic tests - run: cd pydantic; uv run pytest + - name: Run tests with typing_extensions main branch + working-directory: pydantic + run: | + set -x + + uv add --editable ../typing-extensions-latest + uv sync --group dev + + echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip list + echo "\n\n" + + uv run pytest typing_inspect: name: typing_inspect tests @@ -91,19 +96,20 @@ jobs: with: path: typing-extensions-latest persist-credentials: false - - name: Install typing_inspect test dependencies + - name: Run tests with typing_extensions main branch + working-directory: typing_inspect run: | set -x - cd typing_inspect uv venv .venv + uv pip install -r test-requirements.txt --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" - - name: Install typing_extensions latest - run: cd typing_inspect; uv pip install "typing-extensions @ ../typing-extensions-latest" - - name: List all installed dependencies - run: cd typing_inspect; uv pip freeze - - name: Run typing_inspect tests - run: | - cd typing_inspect; uv run --no-project pytest + uv pip install "typing-extensions @ ../typing-extensions-latest" + + echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip freeze + echo "\n\n" + + uv run --no-project pytest pycroscope: name: pycroscope tests @@ -126,19 +132,20 @@ jobs: with: path: typing-extensions-latest persist-credentials: false - - name: Install pycroscope test requirements + - name: Run tests with typing_extensions main branch + working-directory: pycroscope run: | set -x - cd pycroscope uv venv .venv + uv pip install 'pycroscope[tests] @ .' --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" - - name: Install typing_extensions latest - run: cd pycroscope; uv pip install "typing-extensions @ ../typing-extensions-latest" - - name: List all installed dependencies - run: cd pycroscope; uv pip freeze - - name: Run pycroscope tests - run: | - cd pycroscope; uv run --no-project pytest pycroscope/ + uv pip install "typing-extensions @ ../typing-extensions-latest" + + echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip freeze + echo "\n\n" + + uv run --no-project pytest pycroscope/ typeguard: name: typeguard tests @@ -161,20 +168,22 @@ jobs: with: path: typing-extensions-latest persist-credentials: false - - name: Install typeguard test requirements + - name: Run tests with typing_extensions main branch + env: + PYTHON_COLORS: 0 # A test fails if tracebacks are colorized + working-directory: typeguard run: | set -x - cd typeguard uv venv .venv + uv pip install "typeguard @ ." --group test --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" - - name: Install typing_extensions latest - run: cd typeguard; uv pip install "typing-extensions @ ../typing-extensions-latest" - - name: List all installed dependencies - run: cd typeguard; uv pip freeze - - name: Run typeguard tests - run: | - export PYTHON_COLORS=0 # A test fails if tracebacks are colorized - cd typeguard; uv run --no-project pytest + uv pip install "typing-extensions @ ../typing-extensions-latest" + + echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip freeze + echo "\n\n" + + uv run --no-project pytest typed-argument-parser: name: typed-argument-parser tests @@ -203,20 +212,21 @@ jobs: run: | git config --global user.email "you@example.com" git config --global user.name "Your Name" - - name: Install typed-argument-parser test requirements + - name: Run tests with typing_extensions main branch + working-directory: typed-argument-parser run: | set -x - cd typed-argument-parser uv venv .venv + uv pip install "typed-argument-parser @ ." --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install pytest --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" - - name: Install typing_extensions latest - run: cd typed-argument-parser; uv pip install "typing-extensions @ ../typing-extensions-latest" - - name: List all installed dependencies - run: cd typed-argument-parser; uv pip freeze - - name: Run typed-argument-parser tests - run: | - cd typed-argument-parser; uv run --no-project pytest + uv pip install "typing-extensions @ ../typing-extensions-latest" + + echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip freeze + echo "\n\n" + + uv run --no-project pytest mypy: name: stubtest & mypyc tests @@ -239,20 +249,21 @@ jobs: with: path: typing-extensions-latest persist-credentials: false - - name: Install mypy test requirements + - name: Run tests with typing_extensions main branch + working-directory: mypy run: | set -x - cd mypy uv venv .venv + uv pip install -r test-requirements.txt --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install -e . - - name: Install typing_extensions latest - run: cd mypy; uv pip install "typing-extensions @ ../typing-extensions-latest" - - name: List all installed dependencies - run: cd mypy; uv pip freeze - - name: Run stubtest & mypyc tests - run: | - cd mypy; uv run --no-project pytest -n 2 ./mypy/test/teststubtest.py ./mypyc/test/test_run.py ./mypyc/test/test_external.py + uv pip install "typing_extensions @ ../typing-extensions-latest" + + echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip freeze + echo "\n\n" + + uv run --no-project pytest -n 2 ./mypy/test/teststubtest.py ./mypyc/test/test_run.py ./mypyc/test/test_external.py cattrs: name: cattrs tests @@ -275,14 +286,19 @@ jobs: with: path: typing-extensions-latest persist-credentials: false - - name: Add local version of typing_extensions as a dependency - run: cd cattrs; uv add --editable ../typing-extensions-latest - - name: Install test dependencies - run: cd cattrs; uv sync --group test --all-extras - - name: List installed dependencies - run: cd cattrs; uv pip list - - name: Run tests - run: cd cattrs; uv run pytest tests + - name: Run tests with typing_extensions main branch + working-directory: cattrs + run: | + set -x + + uv add --editable ../typing-extensions-latest + uv sync --group test --all-extras + + echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip list + echo "\n\n" + + uv run pytest tests sqlalchemy: name: sqlalchemy tests @@ -310,12 +326,14 @@ jobs: with: path: typing-extensions-latest persist-credentials: false - - name: Run sqlalchemy tests + - name: Run sqlalchemy tests with typing_extensions main branch + working-directory: sqlalchemy run: | - cd sqlalchemy - uvx --with setuptools tox -e github-nocext \ - --force-dep "typing-extensions @ file://$(pwd)/../typing-extensions-latest" \ - -- -q --nomemory --notimingintensive + set -x + + uvx \ + --with=setuptools \ + tox -e github-nocext --force-dep="typing-extensions @ file://$(pwd)/../typing-extensions-latest" -- -q --nomemory --notimingintensive litestar: @@ -339,9 +357,19 @@ jobs: with: path: typing-extensions-latest persist-credentials: false - - name: Run litestar tests - run: uv run --with=../typing-extensions-latest -- python -m pytest tests/unit/test_typing.py tests/unit/test_dto + - name: Run litestar tests with typing_extensions main branch working-directory: litestar + run: | + set -x + + uv add --editable ../typing-extensions-latest + uv sync + + echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip list + echo "\n\n" + + uv run python -m pytest tests/unit/test_typing.py tests/unit/test_dto create-issue-on-failure: name: Create an issue if daily tests failed From 12d0f9305de710c9e0da64fbe6af71bd6a799368 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 1 Aug 2025 12:58:47 +0100 Subject: [PATCH 2/7] placate shellcheck --- .github/workflows/third_party.yml | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml index 495b94b9..f73e2c5d 100644 --- a/.github/workflows/third_party.yml +++ b/.github/workflows/third_party.yml @@ -69,9 +69,9 @@ jobs: uv add --editable ../typing-extensions-latest uv sync --group dev - echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip list - echo "\n\n" + printf "\n\n" uv run pytest @@ -105,9 +105,9 @@ jobs: uv pip install -r test-requirements.txt --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip freeze - echo "\n\n" + printf "\n\n" uv run --no-project pytest @@ -141,9 +141,9 @@ jobs: uv pip install 'pycroscope[tests] @ .' --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip freeze - echo "\n\n" + printf "\n\n" uv run --no-project pytest pycroscope/ @@ -179,9 +179,9 @@ jobs: uv pip install "typeguard @ ." --group test --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip freeze - echo "\n\n" + printf "\n\n" uv run --no-project pytest @@ -222,9 +222,9 @@ jobs: uv pip install pytest --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip freeze - echo "\n\n" + printf "\n\n" uv run --no-project pytest @@ -259,9 +259,9 @@ jobs: uv pip install -e . uv pip install "typing_extensions @ ../typing-extensions-latest" - echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip freeze - echo "\n\n" + printf "\n\n" uv run --no-project pytest -n 2 ./mypy/test/teststubtest.py ./mypyc/test/test_run.py ./mypyc/test/test_external.py @@ -294,9 +294,9 @@ jobs: uv add --editable ../typing-extensions-latest uv sync --group test --all-extras - echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip list - echo "\n\n" + printf "\n\n" uv run pytest tests @@ -365,9 +365,9 @@ jobs: uv add --editable ../typing-extensions-latest uv sync - echo "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip list - echo "\n\n" + printf "\n\n" uv run python -m pytest tests/unit/test_typing.py tests/unit/test_dto From 03289b13338a50af3a190fbdfb266a6ace811e24 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 1 Aug 2025 13:19:13 +0100 Subject: [PATCH 3/7] . --- .github/workflows/third_party.yml | 33 ++++++++----------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml index f73e2c5d..c23733ad 100644 --- a/.github/workflows/third_party.yml +++ b/.github/workflows/third_party.yml @@ -64,8 +64,6 @@ jobs: - name: Run tests with typing_extensions main branch working-directory: pydantic run: | - set -x - uv add --editable ../typing-extensions-latest uv sync --group dev @@ -104,10 +102,7 @@ jobs: uv pip install -r test-requirements.txt --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" - uv pip freeze - printf "\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" uv run --no-project pytest @@ -140,10 +135,7 @@ jobs: uv pip install 'pycroscope[tests] @ .' --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" - uv pip freeze - printf "\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" uv run --no-project pytest pycroscope/ @@ -178,10 +170,7 @@ jobs: uv pip install "typeguard @ ." --group test --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" - uv pip freeze - printf "\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" uv run --no-project pytest @@ -221,10 +210,7 @@ jobs: uv pip install "typed-argument-parser @ ." --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install pytest --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" - uv pip freeze - printf "\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" uv run --no-project pytest @@ -258,10 +244,7 @@ jobs: uv pip install -r test-requirements.txt --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install -e . uv pip install "typing_extensions @ ../typing-extensions-latest" - - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" - uv pip freeze - printf "\n\n" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" uv run --no-project pytest -n 2 ./mypy/test/teststubtest.py ./mypyc/test/test_run.py ./mypyc/test/test_external.py @@ -289,8 +272,6 @@ jobs: - name: Run tests with typing_extensions main branch working-directory: cattrs run: | - set -x - uv add --editable ../typing-extensions-latest uv sync --group test --all-extras @@ -360,7 +341,9 @@ jobs: - name: Run litestar tests with typing_extensions main branch working-directory: litestar run: | - set -x + # litestar's python-requires means pdm won't let us add typing-extensions-latest + # as a requirement unless we do this + sed -i 's/^requires-python = ">=3.8/requires-python = ">=3.9/' pyproject.toml uv add --editable ../typing-extensions-latest uv sync From 674907d84577f01cc35862ab23fc21b0b06245b3 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 1 Aug 2025 13:23:02 +0100 Subject: [PATCH 4/7] . --- .github/workflows/third_party.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml index c23733ad..2a3dd7d6 100644 --- a/.github/workflows/third_party.yml +++ b/.github/workflows/third_party.yml @@ -102,7 +102,9 @@ jobs: uv pip install -r test-requirements.txt --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" + + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip list uv run --no-project pytest @@ -135,7 +137,9 @@ jobs: uv pip install 'pycroscope[tests] @ .' --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" + + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip list uv run --no-project pytest pycroscope/ @@ -170,7 +174,9 @@ jobs: uv pip install "typeguard @ ." --group test --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" + + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%" + uv pip list uv run --no-project pytest @@ -210,7 +216,9 @@ jobs: uv pip install "typed-argument-parser @ ." --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install pytest --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" + + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip list uv run --no-project pytest @@ -244,7 +252,9 @@ jobs: uv pip install -r test-requirements.txt --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install -e . uv pip install "typing_extensions @ ../typing-extensions-latest" - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" + + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" + uv pip list uv run --no-project pytest -n 2 ./mypy/test/teststubtest.py ./mypyc/test/test_run.py ./mypyc/test/test_external.py From 8b9d53eb883531f97209c5ad0469df2efe61e5e0 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 1 Aug 2025 13:24:45 +0100 Subject: [PATCH 5/7] . --- .github/workflows/third_party.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml index 2a3dd7d6..41410949 100644 --- a/.github/workflows/third_party.yml +++ b/.github/workflows/third_party.yml @@ -175,7 +175,7 @@ jobs: uv pip install "typeguard @ ." --group test --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install "typing-extensions @ ../typing-extensions-latest" - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%" + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip list uv run --no-project pytest From a74a8598818110e299097952c0950d8b96ef5c67 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 1 Aug 2025 13:27:00 +0100 Subject: [PATCH 6/7] . --- .github/workflows/third_party.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml index 41410949..fe2d5282 100644 --- a/.github/workflows/third_party.yml +++ b/.github/workflows/third_party.yml @@ -101,7 +101,7 @@ jobs: uv venv .venv uv pip install -r test-requirements.txt --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" - uv pip install "typing-extensions @ ../typing-extensions-latest" + uv pip install -e "typing-extensions @ ../typing-extensions-latest" printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip list @@ -135,8 +135,8 @@ jobs: set -x uv venv .venv - uv pip install 'pycroscope[tests] @ .' --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" - uv pip install "typing-extensions @ ../typing-extensions-latest" + uv pip install -e 'pycroscope[tests] @ .' --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" + uv pip install -e "typing-extensions @ ../typing-extensions-latest" printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip list @@ -172,8 +172,8 @@ jobs: set -x uv venv .venv - uv pip install "typeguard @ ." --group test --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" - uv pip install "typing-extensions @ ../typing-extensions-latest" + uv pip install -e "typeguard @ ." --group test --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" + uv pip install -e "typing-extensions @ ../typing-extensions-latest" printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip list @@ -213,9 +213,9 @@ jobs: set -x uv venv .venv - uv pip install "typed-argument-parser @ ." --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" + uv pip install -e "typed-argument-parser @ ." --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install pytest --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" - uv pip install "typing-extensions @ ../typing-extensions-latest" + uv pip install -e "typing-extensions @ ../typing-extensions-latest" printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip list @@ -251,7 +251,7 @@ jobs: uv pip install -r test-requirements.txt --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" uv pip install -e . - uv pip install "typing_extensions @ ../typing-extensions-latest" + uv pip install -e "typing_extensions @ ../typing-extensions-latest" printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" uv pip list From c241cbd3bbd8c01097118a375fa3f984dd23f65b Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 1 Aug 2025 13:30:18 +0100 Subject: [PATCH 7/7] Update .github/workflows/third_party.yml --- .github/workflows/third_party.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml index fe2d5282..b1bdbca9 100644 --- a/.github/workflows/third_party.yml +++ b/.github/workflows/third_party.yml @@ -351,7 +351,7 @@ jobs: - name: Run litestar tests with typing_extensions main branch working-directory: litestar run: | - # litestar's python-requires means pdm won't let us add typing-extensions-latest + # litestar's python-requires means uv won't let us add typing-extensions-latest # as a requirement unless we do this sed -i 's/^requires-python = ">=3.8/requires-python = ">=3.9/' pyproject.toml