release/README.md
Note: This should only apply to maintainers when preparing for and publishing a new release.
gh auth login to authenticate with GitHub, which is needed for the API calls made in the release process.uv run release/prepare.py {VERSION} from the root of the repository. This will:
version.py file and run uv lock -P pydantic to update the lock file.--dry-run flag.code-blocks is.**Breaking Change:**packaging section:
packaging entries to include only the most recent version bumps for each packageuv run release/push.py from the root of the repository. This will:
To create a new release:
pydantic/version.py to set the new version number and run uv lock -P pydantic## {version} ({date}) example: ## v2.11.0a2 (2025-02-10).HISTORY.md:
code-blocks is.**Breaking Change:**packaging section:
packaging entries to include only the most recent version bumps for each packagev{VERSION}v{VERSION} {DATE}HISTORY.md section you prepared previously, plusFull Changelog: https://github.com/pydantic/pydantic/compare/v{PREV_VERSION}...v{VERSION}/