Skip to content

Conversation

@jakirkham
Copy link
Member

Leverages load_setup_py_data to extract the requirements from setup.py and add them to the Conda recipe.

@github-actions github-actions bot added conda conda issue gpuCI gpuCI issue labels Apr 13, 2022
@jakirkham jakirkham added non-breaking Non-breaking change improvement Improvement / enhancement to an existing function labels Apr 13, 2022

gpuci_logger "Build conda pkg for libcudf"
gpuci_logger "Build conda pkg for dask-cuda"
gpuci_conda_retry build conda/recipes/dask-cuda --python=${PYTHON}
Copy link
Member Author

@jakirkham jakirkham Apr 13, 2022

Choose a reason for hiding this comment

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

It's worth noting that it is important for us to start in the directory containing setup.py as is already being done. Using a different directory doesn't work.

There isn't a good way to start from other directories atm. Please see issue ( conda/conda-build#3754 ) for context.

@jakirkham
Copy link
Member Author

The other thing worth noting is there is a Setuptools deprecation warning that comes up ( conda/conda-build#4428 )

@pentschev
Copy link
Member

Is this ready for review or is there more to be addressed @jakirkham ?

@jakirkham
Copy link
Member Author

Technically it works.

That said, think it is worthwhile to read up on the linked issues (particular the last one).

@charlesbluca
Copy link
Member

@jakirkham is your preference for conda/conda-build#4430 to get merged in (and incorporated into gpuCI containers) before merging this?

@jakirkham
Copy link
Member Author

Sorry for the slow reply. So we can do this. The issue with Setuptools is in part they are changing the API (easy to fix in Conda-Build), but they are also flagging the new API as provisional. So there may be issues we run into in the future. I'm ok with trying this out. We can always go back to what we were doing before if there are issues with Setuptools, but wanted to make sure others here are aware of that and ok with that.

@pentschev
Copy link
Member

Sorry @jakirkham , overlooked this thread. Since setuptools' API is changing anyway, I think there's no harm in trying, even if provisional bits change in the future, it doesn't seems like it will be a major setback for us, but I trust your judgement in this context better than mine. 😄

@jakirkham jakirkham marked this pull request as ready for review April 28, 2022 21:03
@jakirkham jakirkham requested a review from a team as a code owner April 28, 2022 21:03
Copy link
Member

@pentschev pentschev left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @jakirkham !

@pentschev
Copy link
Member

@gpucibot merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conda conda issue gpuCI gpuCI issue 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.

4 participants