Skip to content

Commit

Permalink
Fix dynamic version in pyproject.toml files (#2002)
Browse files Browse the repository at this point in the history
The version doesn't need to be hardcoded into pyproject.toml files anymore, but it looks like update-version.sh wasn't updated to account for that.

Authors:
   - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
   - Ray Douglass (https://github.com/raydouglass)
   - Corey J. Nolet (https://github.com/cjnolet)
  • Loading branch information
vyasr authored Nov 16, 2023
1 parent 8dd6a79 commit d67c3b2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion python/pylibraft/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python/raft-dask/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d67c3b2

Please sign in to comment.