-
Notifications
You must be signed in to change notification settings - Fork 64
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
Enable FutureWarnings/DeprecationWarnings as errors #734
Conversation
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 Matthew! 🙏
Had a couple questions below
@@ -73,11 +73,12 @@ def svs2tif( | |||
logger.info(" num_workers: %d", num_workers) | |||
logger.info(" compression: %s", compression) | |||
logger.info(" output filename: %s", output_filename) | |||
|
|||
compressionargs = None |
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 we want this to be user facing? Or do we want to keep this internal for now?
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.
If we make it user facing, we may need to add some additional validation on the input. I would be fine with just keeping it internal for now.
@gigony do you have a preference?
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.
@grlee77 @jakirkham
It seems appropriate to update it now since this API change has been in effect since July 2022.
https://github.com/cgohlke/tifffile/blame/ec6be6289db1b8b7327bb98816a764c95b9b7299/README.rst#L519
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.
@grlee77 were there particular thoughts you had on what input validation would look like?
Wonder if tifffile's own validation would work for us
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.
Let's keep internal for now and merge this change as it is.
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 for making this changes, I found one comment where bdtr wasn't updated to betainc. Otherwise it looks good to me.
@@ -73,11 +73,12 @@ def svs2tif( | |||
logger.info(" num_workers: %d", num_workers) | |||
logger.info(" compression: %s", compression) | |||
logger.info(" output filename: %s", output_filename) | |||
|
|||
compressionargs = None |
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.
If we make it user facing, we may need to add some additional validation on the input. I would be fine with just keeping it internal for now.
@gigony do you have a preference?
Co-authored-by: Gregory Lee <[email protected]>
Co-authored-by: jakirkham <[email protected]>
Co-authored-by: jakirkham <[email protected]>
/merge |
As part of rapidsai/build-planning#26, enabling Python test failures for
FutureWarning
s andDeprecationWarning
s