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

Move date to build string in conda recipe #12661

Merged
merged 6 commits into from
Feb 6, 2023

Conversation

ajschmidt8
Copy link
Member

@ajschmidt8 ajschmidt8 commented Jan 31, 2023

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

Similarly to rapidsai/rmm#1195, this PR moves the date from the version to the build string in the `cudf` `conda` recipes.

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.
@github-actions github-actions bot added the conda label Jan 31, 2023
@ajschmidt8 ajschmidt8 added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jan 31, 2023
@codecov
Copy link

codecov bot commented Jan 31, 2023

Codecov Report

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

Additional details and impacted files
@@               Coverage Diff               @@
##             branch-23.04   #12661   +/-   ##
===============================================
  Coverage                ?   85.81%           
===============================================
  Files                   ?      158           
  Lines                   ?    25153           
  Branches                ?        0           
===============================================
  Hits                    ?    21586           
  Misses                  ?     3567           
  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
Copy link
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

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

LGTM!

@ajschmidt8 ajschmidt8 marked this pull request as draft February 2, 2023 23:01
@ajschmidt8 ajschmidt8 marked this pull request as ready for review February 6, 2023 17:09
@ajschmidt8
Copy link
Member Author

/merge

@rapids-bot rapids-bot bot merged commit 8286001 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 Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants