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

reduce hard-coding of version #135

Merged
merged 7 commits into from
Aug 2, 2024
Merged

Conversation

jameslamb
Copy link
Member

@jameslamb jameslamb commented Aug 2, 2024

Contributes to #115.

Proposes single-sourcing the version for this project in a text file, VERSION, at the root of the repo. This practice has been very helpful in other RAPIDS libraries, to ensure that versions are consistent across a variety of locations, including:

  • wheels
  • conda packages
  • CMake project
  • docs site

And there's already such an inconsistency here in legate-boost.

version = "0.1"

project(legateboost VERSION 1.0 LANGUAGES C CXX CUDA)

For more discussion on this practice, see rapidsai/build-planning#15. Thanks to @KyleFromNVIDIA for pushing changes like this across RAPIDS... I've borrowed a lot from his PRs for this one.

Notes for Reviewers

Why v0.1.0?

I know @RAMitchell and I had talked previously about using a calver version that matches legate-core (e.g., legate-boost=24.06.00 would depend on legate-core=24.06.00 and cunumeric=24.06.00).

Proposing we defer that in a follow-up PR, alongside setting up versioning + publishing of nightlies. Keeping the version at 0.1 here means any calendar-based version we add in the future will end up being newer than any packages published from now until then.

@jameslamb jameslamb added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Aug 2, 2024
@jameslamb jameslamb changed the title WIP: reduce hard-coding of version reduce hard-coding of version Aug 2, 2024
@jameslamb jameslamb marked this pull request as ready for review August 2, 2024 17:49
@jameslamb jameslamb merged commit 0c12b06 into rapidsai:main Aug 2, 2024
3 checks passed
@jameslamb jameslamb deleted the manage-version branch August 2, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants