Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork121
Migrate pydantic tests to uv#501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
- name: Install pydantic test dependencies | ||
run:pdm install -G testing -G email | ||
run:uv sync --group testing --group dev |
There was a problem hiding this comment.
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)
- name: Add local version of typing_extensions as a dependency | ||
run:pdm add ./typing-extensions-latest | ||
run:uv add --editable ./typing-extensions-latest |
There was a problem hiding this comment.
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 installedtyping_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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks!
e391124
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Fixes#499
Pydantic switched from pdm to uv inpydantic/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