diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml index 359a6e4a..cf58d2a0 100644 --- a/.github/workflows/third_party.yml +++ b/.github/workflows/third_party.yml @@ -60,19 +60,18 @@ jobs: uses: actions/checkout@v4 with: path: typing-extensions-latest - - name: Setup pdm for pydantic tests - uses: pdm-project/setup-pdm@v4 - with: - python-version: ${{ matrix.python-version }} - allow-python-prereleases: true + - name: Install uv + uses: astral-sh/setup-uv@v3 + - name: Set up Python ${{ matrix.python-version }} + run: uv python install ${{ matrix.python-version }} - name: Add local version of typing_extensions as a dependency - run: pdm add ./typing-extensions-latest + run: uv add --editable ./typing-extensions-latest - name: Install pydantic test dependencies - run: pdm install -G testing -G email + run: uv sync --group testing --group dev - name: List installed dependencies - run: pdm list -vv # pdm equivalent to `pip list` + run: uv pip list - name: Run pydantic tests - run: pdm run pytest + run: uv run pytest typing_inspect: name: typing_inspect tests