Skip to content
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

Replaced deprecated scipy derivative #417

Merged
merged 4 commits into from
Jan 24, 2025

Conversation

manoskary
Copy link
Member

This pull request introduces a new function first_order_derivative and replaces the usage of scipy.misc.derivative with this new function in the partitura package. As of scipy version 1.15 the function scipy.misc.derivative is deprecated.

@manoskary manoskary added the bug Something isn't working label Jan 20, 2025
@manoskary manoskary requested a review from sildater January 20, 2025 14:04
@manoskary manoskary self-assigned this Jan 20, 2025
@manoskary manoskary linked an issue Jan 20, 2025 that may be closed by this pull request
@sildater sildater removed their request for review January 21, 2025 14:25
partitura/utils/generic.py Show resolved Hide resolved
partitura/utils/generic.py Outdated Show resolved Hide resolved
Copy link
Member

@fosfrancesco fosfrancesco left a comment

Choose a reason for hiding this comment

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

Sorry, more comments. But they should be fast

partitura/utils/generic.py Outdated Show resolved Hide resolved
partitura/utils/generic.py Show resolved Hide resolved
partitura/utils/generic.py Show resolved Hide resolved
@fosfrancesco fosfrancesco merged commit e204c08 into develop Jan 24, 2025
3 checks passed
@fosfrancesco fosfrancesco deleted the scipy_derivative_deprecation branch January 24, 2025 13:26
@manoskary manoskary mentioned this pull request Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ImportError with scipy version 1.15.0
2 participants