Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use rapids-generate-version for env var #622

Open
wants to merge 3 commits into
base: branch-25.04
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ci/build_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export CMAKE_GENERATOR=Ninja

rapids-print-env

# This file is used throughout to define the version
rapids-generate-version > ./VERSION
Comment on lines +16 to 17
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are a few examples of where VERSION is used

__version__ = (
importlib.resources.files(__package__).joinpath("VERSION").read_text().strip()
)

[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "kvikio/VERSION"
regex = "(?P<value>.*)"


rapids-logger "Begin py build"
Expand Down
Loading