rapidsai / xgboost-conda

Conda recipes for xgboost
12 stars 22 forks source link

Fix builds #46

Closed ajschmidt8 closed 1 year ago

ajschmidt8 commented 1 year ago

This PR includes some updates to our xgboost build scripts to account for the issue described below.

A Jenkins log displaying this error can be seen here: https://gpuci.gpuopenanalytics.com/job/rapidsai/job/conda/job/xgboost/job/xgboost-conda-build/328/CUDA=11.5,PYTHON=3.8/console

This issue was also reproducible locally.


For some reason, the conda build command currently fails very early on without the --no-test flag with an error message about not being able to find the locally built version of py-xgboost.

This error message seems to appear before the local py-xgboost package is actually built, leading me to think that it's a bug with conda.

For whatever reason, using the --no-test flag seems to get us past that error message.

To account for the --no-test flag being added, I added a step to manually test the py-xgboost package before it's uploaded.