-
Notifications
You must be signed in to change notification settings - Fork 915
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
Update dask-cudf wheel name #14713
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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
@@ -23,7 +23,7 @@ pyproject_file="${package_dir}/pyproject.toml" | |||
|
|||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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-cudf
wheels to be published asdask_cudf-cu12
instead ofdask-cudf-cu12
.Additionally,
cudf_kafka
wheels would have this issue, but 1) we do not publish wheels forcudf_kafka
and 2) the conda packages are published ascudf_kafka
(with underscore), so be a larger refactor later on.