-
Notifications
You must be signed in to change notification settings - Fork 58
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
deprecate copy_arrays
with warning
#1797
deprecate copy_arrays
with warning
#1797
Conversation
3275907
to
c6f9b26
Compare
copy_arrays=False
-> memmap=False
copy_arrays
with warning
231197c
to
53383e6
Compare
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.
I left a few suggestions. One major one being the warning message. Also, if you can think of other ways we can inform users of the upcoming memmap default change that would be great! It's a rather major change and this switch from "copy_arrays" to "memmap" was somewhat intended to provide a warning to the users.
I also added the |
Sure! |
28fb0ea
to
76588bb
Compare
76588bb
to
c30a5bf
Compare
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.
Code changes look good to me!
I added a few more suggestions to docs.
The remaining issue is the downstream usage. Of the failed packages most we can update (and perhaps bump asdf to at least 3.1.0 (to use memmap). dkist follows SPEC-0000 and considers asdf a "core" package so we can open a PR which accommodates the older versions (only providing memmap for 3.1.0 and after).
Are there any warnings about this change in the non-failing jobs?
a few warnings in |
Thanks! asdf-astropy is maintained by "us" so that could also use a PR (and gwcs). I also try to make PRs for our other downstream users for stuff like this and am happy to help with PRs. Would you like to divide these up? I think so far we have:
What a kettle of fish! :) |
Also one of my suggestions is causing a pre-commit failure. |
f22f8b0
to
8eac7a5
Compare
8eac7a5
to
34eda49
Compare
Co-authored-by: Brett Graham <[email protected]>
Co-authored-by: Brett Graham <[email protected]>
34eda49
to
cd7d420
Compare
resolves #1710 #1711
Checklist: