Repository navigation
Move date to build string in conda recipe - #497
Merged
Merged
Conversation
This PR moves the date string from the version to the build string for conda recipes in this repository. This is necessary to ensure that the conda packages resulting from PR builds can be installed in the same environment as nightly conda packages. This is useful for testing purposes. Additionally, this PR adds the `PKG_HASH` value to our build string. This value is a hash computed from the dependency names and versions used to build our packages. Typically the `PKG_HASH` value is included in packages when the build string is omitted, as seen on most `conda-forge` packages. Including it in our build string will help ensure that new packages are published whenever our dependencies change (which is important in the case of shared library updates). xref: rapidsai/rmm#1195
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## branch-23.04 #497 +/- ##
===============================================
Coverage ? 92.89%
===============================================
Files ? 131
Lines ? 9905
Branches ? 0
===============================================
Hits ? 9201
Misses ? 704
Partials ? 0 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
raydouglass
approved these changes
Feb 2, 2023
ajschmidt8
marked this pull request as ready for review
February 2, 2023 21:45
ajschmidt8
marked this pull request as draft
February 2, 2023 23:02
ajschmidt8
marked this pull request as ready for review
February 6, 2023 17:09
raydouglass
approved these changes
Feb 6, 2023
Member
Author
|
/merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR moves the date string from the version to the build string for conda recipes in this repository.
This is necessary to ensure that the conda packages resulting from PR builds can be installed in the same environment as nightly conda packages, which is useful for testing purposes.
Additionally, this prevents a bug from occurring where the Python builds fail because the date string it computes is different than the one computed by the C++ build, therefore causing the Python build to search for a C++ build artifact that doesn't exist.
xref: rapidsai/rmm#1195