Skip to content

Commit

Permalink
Stop setting package version attribute in wheels (#1359)
Browse files Browse the repository at this point in the history
This PR removes modification of the `__init__.py::version` attribute that occurs during the wheel build process. See rapidsai/ops#2592 for more information.

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

Approvers:
  - Sevag H (https://github.com/sevagh)

URL: #1359
  • Loading branch information
vyasr authored Mar 21, 2023
1 parent 56ac43a commit 05d899b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ci/release/apply_wheel_modifications.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
VERSION=${1}
CUDA_SUFFIX=${2}

# __init__.py versions
sed -i "s/__version__ = .*/__version__ = \"${VERSION}\"/g" python/pylibraft/pylibraft/__init__.py
sed -i "s/__version__ = .*/__version__ = \"${VERSION}\"/g" python/raft-dask/raft_dask/__init__.py

# pyproject.toml versions
sed -i "s/^version = .*/version = \"${VERSION}\"/g" python/pylibraft/pyproject.toml
sed -i "s/^version = .*/version = \"${VERSION}\"/g" python/raft-dask/pyproject.toml
Expand Down

0 comments on commit 05d899b

Please sign in to comment.