chore: Migrate from Poetry to uv, bump dependencies and python version.

This commit is contained in:
Elisiário Couto
2025-01-13 21:12:04 +00:00
parent 6b2cb8a52f
commit 33006f8f43
7 changed files with 419 additions and 612 deletions

View File

@@ -11,18 +11,18 @@ function check_command {
check_command git
check_command git-cliff
check_command poetry
check_command uv
if [ -z "$1" ]; then
echo " > No semver verb specified, run release with <major|minor|patch> parameter."
exit 1
fi
CURRENT_VERSION=$(poetry version -s)
CURRENT_VERSION=$(uvx poetry version -s)
echo " > Current version is $CURRENT_VERSION"
poetry version "$1"
NEXT_VERSION=$(poetry version -s)
poetry uvx version "$1"
NEXT_VERSION=$(uvx poetry version -s)
echo " > leggen bumped to $NEXT_VERSION"
echo "Updating CHANGELOG.md"