From be82b5d60662c9eb65395d5557c93009ad635501 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Wed, 15 Nov 2023 20:18:12 -0800 Subject: [PATCH] Fix dynamic version in pyproject.toml files --- ci/release/update-version.sh | 1 - python/pylibraft/pyproject.toml | 2 +- python/raft-dask/pyproject.toml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ci/release/update-version.sh b/ci/release/update-version.sh index d5bc17be56..7aee8726c9 100755 --- a/ci/release/update-version.sh +++ b/ci/release/update-version.sh @@ -74,7 +74,6 @@ for FILE in python/*/pyproject.toml; do for DEP in "${DEPENDENCIES[@]}"; do sed_runner "/\"${DEP}==/ s/==.*\"/==${NEXT_SHORT_TAG_PEP440}.*\"/g" ${FILE} done - sed_runner "s/^version = .*/version = \"${NEXT_FULL_TAG}\"/g" "${FILE}" sed_runner "/\"ucx-py==/ s/==.*\"/==${NEXT_UCX_PY_SHORT_TAG_PEP440}.*\"/g" ${FILE} done diff --git a/python/pylibraft/pyproject.toml b/python/pylibraft/pyproject.toml index fddcdc7cc0..f811afa55f 100644 --- a/python/pylibraft/pyproject.toml +++ b/python/pylibraft/pyproject.toml @@ -65,7 +65,7 @@ Documentation = "https://docs.rapids.ai/api/raft/stable/" license-files = ["LICENSE"] [tool.setuptools.dynamic] -version = "24.02.00" +version = {file = "pylibraft/VERSION"} [tool.isort] line_length = 79 diff --git a/python/raft-dask/pyproject.toml b/python/raft-dask/pyproject.toml index 9b5f26038f..807c413160 100644 --- a/python/raft-dask/pyproject.toml +++ b/python/raft-dask/pyproject.toml @@ -63,7 +63,7 @@ Documentation = "https://docs.rapids.ai/api/raft/stable/" license-files = ["LICENSE"] [tool.setuptools.dynamic] -version = "24.02.00" +version = {file = "raft_dask/VERSION"} [tool.isort] line_length = 79