Skip to content

Conversation

@davidhassell
Copy link
Collaborator

Deprecates close methods, and removes the corresponding tests.

Copy link
Member

@sadielbartholomew sadielbartholomew left a comment

Choose a reason for hiding this comment

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

Close, but no cigar! 😆 Feel free to apply the recurrent change suggested yourself rather than via my 'suggestion' set if that's more convenient, but I've made them as suggestions in case that is simplest.

Is there a location we can put some brief testing on deprecated keywords such as this, since nothing failed in the test suite despite the consistent invalid keyword argument here, and it would be good to catch basic issues like that?

Copy link
Member

@sadielbartholomew sadielbartholomew left a comment

Choose a reason for hiding this comment

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

[Intended to set this as my judgement in the review I just submitted...]

davidhassell and others added 7 commits December 6, 2022 09:19
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
@davidhassell
Copy link
Collaborator Author

Is there a location we can put some brief testing on deprecated keywords such as this, since nothing failed in the test suite despite the consistent invalid keyword argument here, and it would be good to catch basic issues like that?

Hi Sadie, good idea. Not yet - I suppose a new file test_deprecated.py might be a good place to put them, from where they can easily be deleted once the removed_at version is reached.

@sadielbartholomew
Copy link
Member

I suppose a new file test_deprecated.py might be a good place to put them, from where they can easily be deleted once the removed_at version is reached.

Sounds like a good plan to me. Shall we bump it to a new issue, since the Dask migration takes priority I am sure?

@davidhassell
Copy link
Collaborator Author

Shall we bump it to a new issue, since the Dask migration takes priority I am sure?
Agreed - I'll make one.

Is this good to merge, now?

Copy link
Member

@sadielbartholomew sadielbartholomew left a comment

Choose a reason for hiding this comment

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

Feedback all addressed. All good now, please merge.

@davidhassell davidhassell merged commit 669b719 into NCAS-CMS:lama-to-dask Dec 6, 2022
@davidhassell davidhassell deleted the dask-close-2 branch December 6, 2022 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dask Relating to the use of Dask low priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants