Skip to content

Move date to build string in conda recipe - #497

Merged
rapids-bot[bot] merged 3 commits into
rapidsai:branch-23.04from
ajschmidt8:recipe-fix
Feb 6, 2023
Merged

rapids-bot[bot] merged 3 commits into
rapidsai:branch-23.04from
ajschmidt8:recipe-fix

Conversation

@ajschmidt8

@ajschmidt8 ajschmidt8 commented Feb 1, 2023 •

Copy link
Copy Markdown
Member

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

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
@ajschmidt8 ajschmidt8 added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Feb 1, 2023
@codecov-commenter

codecov-commenter commented Feb 1, 2023 •

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (branch-23.04@072fa54). Click here to learn what that means.
Patch has no changes to coverable lines.

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ajschmidt8
ajschmidt8 marked this pull request as ready for review February 2, 2023 21:45
@ajschmidt8
ajschmidt8 requested a review from a team as a code owner February 2, 2023 21:45
@ajschmidt8
ajschmidt8 marked this pull request as draft February 2, 2023 23:02
@ajschmidt8
ajschmidt8 marked this pull request as ready for review February 6, 2023 17:09
@ajschmidt8

Copy link
Copy Markdown
Member Author

/merge

@rapids-bot
rapids-bot Bot merged commit 90d021e into rapidsai:branch-23.04 Feb 6, 2023
@ajschmidt8
ajschmidt8 deleted the recipe-fix branch February 6, 2023 18:03
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.

3 participants