-
Notifications
You must be signed in to change notification settings - Fork 538
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
Use HDBSCAN package pin to 0.8.38
#5906
Conversation
This is failing because
Hopefully we'll be able to resolve that by using the next |
Hopefully |
hdbscan still has This is how |
Also this is still targeting |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
/ok to test |
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.
Thanks Divye! 🙏
Had a suggestion below
Also can you please update this line?
cuml/conda/recipes/cuml-cpu/meta.yaml
Line 37 in 990db71
- hdbscan<=0.8.30 |
/ok to test |
0.8.30
0.8.38
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.
Thanks Divye! 🙏
Are we using Cython in a PyTest plugin somewhere? Seeing this error on CI /opt/conda/envs/test/lib/python3.11/site-packages/_pytest/config/__init__.py:331: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
Plugin: helpconfig, Hook: pytest_cmdline_parse
ModuleNotFoundError: No module named 'Cython' Edit: Are we trying to install something from source (that uses Cython) at test time? |
Yeah, the cython coverage needs Cython. |
Thanks Sebastian! 🙏 That makes much more sense. So the Cython dependency just comes from the fact that cuML itself uses a Cython plugin for measuring test coverage. Looks like this has been around since code coverage began being measured ( #3338 ) Edit: Cython code coverage was introduced in PR: #3111 Line 4 in 0fbd919
Before, this dependency was not expressed in cuML's test requirement. However, as it was being implicitly handled via HDBSCAN, where HDBSCAN had an extraneous runtime dependency on Cython, things just quietly worked With the recent HDBSCAN update, this extraneous Cython dependency was dropped ( scikit-learn-contrib/hdbscan#624 ). So we no longer get Cython pulled in transitively. Hence the error coming up now To fix this, think we need to add Lines 464 to 468 in 0fbd919
|
Looks like there was a network failure in one CI job: [nltk_data] Downloading package treebank to /github/home/nltk_data...
[nltk_data] Error downloading 'treebank' from
[nltk_data] <https://raw.githubusercontent.com/nltk/nltk_data/gh-
[nltk_data] pages/packages/corpora/treebank.zip>: <urlopen error
[nltk_data] [Errno 104] Connection reset by peer> Let's wait for the others to finish and we can retry just the failing job after |
Hooray all the others passed! 🥳 Restarting the one job that had a network failure |
Looks like all CI jobs passed! 🥳 |
/merge |
HBSCAN has a breaking change in
main
branch, which cause wheel nightly tests to fail as cuML picks up HDBSCAN frommain
branch HEAD. As HDBSCAN also releases on pypi now, we can install release packages instead of installing HDBSCAN from git source.This PR also updates HBDSCAN to v0.8.38.