Update dask-cudf wheel name - #14713
Conversation
|
Thanks @raydouglass. Currently there is no intention to publish wheels for |
|
Looking at the failures, seems like we might want to reconsider how we construct the |
ajschmidt8
left a comment
There was a problem hiding this comment.
Do these lines also need to be changed?
- https://github.com/raydouglass/cudf/blob/f58baee9a87ac389d6766ec1bdbaa63be7863493/python/cudf_kafka/pyproject.toml#L55
- https://github.com/raydouglass/cudf/blob/f58baee9a87ac389d6766ec1bdbaa63be7863493/python/custreamz/pyproject.toml#L75
- https://github.com/raydouglass/cudf/blob/f58baee9a87ac389d6766ec1bdbaa63be7863493/python/dask_cudf/pyproject.toml#L78
No changes are needed there. Those are rules for telling |
|
Adding back |
| sed -i "s/^name = \"${package_name}\"/name = \"${package_name}${PACKAGE_CUDA_SUFFIX}\"/g" ${pyproject_file} | ||
| echo "${version}" > VERSION | ||
| sed -i "/^__git_commit__/ s/= .*/= \"${commit}\"/g" "${package_dir}/${package_name}/_version.py" | ||
| sed -i "/^__git_commit__/ s/= .*/= \"${commit}\"/g" "${package_dir}/${package_name//-/_}/_version.py" |
There was a problem hiding this comment.
I think the better fix here would be to rename the directory python/dask_cudf to python/dask-cudf, to align with the package name. However, that is more breaking. It would also affect cudf_kafka. It's probably good to separate that discussion from this PR since its scope is considerably larger.
There was a problem hiding this comment.
I don't have strong feelings about this. I just don't think there's a good reason to favor a string replacement in a script (more of a workaround) over the principle of matching the directory structure to the package names. The change would come with some nonzero cost and potential for breakage, though, so I wouldn't do it lightly.
There was a problem hiding this comment.
FWIW, the change here changes python/dask_cudf/dask-cudf => python/dask_cudf/dask_cudf basically fixing the module name.
But I think you're right that it should be python/$package_name/$module_name and therefore python/dask-cudf/dask_cudf.
Good catch. I didn't see those lines were in the |
|
The wheel's contents including |
|
@raydouglass Feel free to admin merge if you'd like. Tests are blocked by #14723. |
A recent change in pypa/setuptools#4159 may have caused our
dask-cudfwheels to be published asdask_cudf-cu12instead ofdask-cudf-cu12.Additionally,
cudf_kafkawheels would have this issue, but 1) we do not publish wheels forcudf_kafkaand 2) the conda packages are published ascudf_kafka(with underscore), so be a larger refactor later on.