-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
lock
kwarg needs a deprecation cycle?
#5073
Comments
Yes that sounds right, thanks for spotting @fmaussion . (I am hazy on the differences but I think it's a |
Ha! I'm no expert either. I learned one thing recently though: https://stackoverflow.com/questions/66590950/deprecationwarning-is-not-raised-on-import |
as far as I understand the docs of If we follow that, |
We should fix this before the next release. |
Sorry for being so late to the party! I thought @aurghs did respond to this issue and forgot about it. What has happened is not that The main difference is that The solution is to in fact only advertise the deprecation for those backends in my opinion as the functionality is legit for most of the backends. Sorry again for seeing this so late. |
No worries @alexamici ! I've merged your PR and it automatically closed this one. |
Salem's tests on master fail because I use the
lock
kwarg toopen_dataset
, which seems to have disappeared in the backend refactoring.Should the new
open_dataset
simply ignorelock
, and raise aFutureWarning
when used?The text was updated successfully, but these errors were encountered: