Request Python 3.12 in the release script (#4384)

Otherwise, if another version is active we fail because Rooster requires
3.12
This commit is contained in:
Zanie Blue 2024-06-18 11:44:42 -04:00 committed by GitHub
parent 20b44f3017
commit 0b0a0472ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,14 +11,14 @@ echo "Updating metadata with rooster..."
cd "$project_root"
# Update the preview changelog
uv tool run --from 'rooster-blue>=0.0.7' --isolated -- \
uv tool run --from 'rooster-blue>=0.0.7' --python 3.12 --isolated -- \
rooster release "$@" \
--only-sections preview \
--changelog-file PREVIEW-CHANGELOG.md \
--no-update-pyproject --no-update-version-files
# Update the real changelog
uv tool run --from 'rooster-blue>=0.0.7' --isolated -- \
uv tool run --from 'rooster-blue>=0.0.7' --python 3.12 --isolated -- \
rooster release "$@" --without-sections preview
echo "Updating lockfile..."