Skip to content

Conversation

@brianschubert
Copy link
Member

Fixes #499

Pydantic switched from pdm to uv in pydantic/pydantic#10727, which broke the pydantic daily tests. This PR updates the pydantic tests to use the new uv-based setup.

Example of the updated CI running green: https://github.com/brianschubert/typing_extensions/actions/runs/11767214620

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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: the email dependency group was replaced by the dev group (relevant commit from the linked PR)

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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: --editable isn't strictly required here. I included it as a sanity check. This causes the path to the installed typing_extensions to be printed in the later steps, which helps to confirm that the latest tip is being used (and not a version from PyPI)

Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JelleZijlstra JelleZijlstra merged commit e391124 into python:main Nov 11, 2024
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Third-party tests failed on Sat Nov 09 2024

2 participants