-
Notifications
You must be signed in to change notification settings - Fork 6
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
DEP: Loosen dependency requirements #46
Conversation
Okay, this now relaxes a lot of other dependencies and uses Other than that, I think we're good to go here. |
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.
Yep. Looks good!
@@ -173,7 +173,7 @@ def predict(self, X): | |||
""" | |||
scores = self.decision_function(X) | |||
if len(scores.shape) == 1: | |||
indices = (scores > 0).astype(np.int) | |||
indices = (scores > 0).astype(np.int32) |
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.
Is this a Python 3.9 thing?
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.
It's a numpy thing. I was getting warnings about np.int
and np.float
being deprecated in favor of either the build in Python int
and float
or the specific np.int32
and np.float64
.
Inspired by this pyAFQ PR, this PR loosens groupyr's dependency requirements.