Skip to content

Improve copy deprecation message - #1617

Merged
alejoe91 merged 2 commits into
NeuralEnsemble:masterfrom
zm711:fix-dep-error
Jan 17, 2025
Merged

alejoe91 merged 2 commits into
NeuralEnsemble:masterfrom
zm711:fix-dep-error

Conversation

@zm711

@zm711 zm711 commented Jan 6, 2025 •

Copy link
Copy Markdown
Contributor

Fixes #1596

In the linked issue it was indicated that a deprecation should not raise an error and instead should be a warning. Since we decided on this soft error which can be switched to warning by using None, I tried to improve the messaging. What do you think about this @sanjayankur31?

We need to wait for #1619 for testing to work for this.

This is ready to be reviewed now!

@zm711 zm711 added this to the 0.14.0 milestone Jan 6, 2025
@zm711 zm711 added the Core label Jan 7, 2025
@alejoe91
alejoe91 merged commit 7f6e973 into NeuralEnsemble:master Jan 17, 2025
@zm711
zm711 deleted the fix-dep-error branch April 25, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecation throws ValueError

2 participants