Skip to content
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

[PR]: Remove deprecated features and APIs for next release #628

Merged
merged 8 commits into from Apr 2, 2024

Conversation

tomvothecoder
Copy link
Collaborator

@tomvothecoder tomvothecoder commented Mar 20, 2024

Description

Summary of Changes

  • Remove horizontal_xesmf() and horizontal_regrid2()
  • Remove **kwargs from create_grid() and _deprecated_create_grid()
  • Remove add_bounds accepting boolean arg in open_dataset(), open_mfdataset() and _postprocess_dataset()
  • Remove CDML/XML support from open_dataset() and open_mfdataset()
  • Remove tests for deprecated APIs and features
  • Remove lxml dependency from ci.yml and dev.yml

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

If applicable:

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass with my changes (locally and CI/CD build)
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have noted that this is a breaking change for a major release (fix or feature that would cause existing functionality to not work as expected)

@tomvothecoder tomvothecoder self-assigned this Mar 20, 2024
@tomvothecoder tomvothecoder changed the title Remove deprecated features and APIs for next release [PR]: Remove deprecated features and APIs for next release Mar 20, 2024
@tomvothecoder tomvothecoder added the minor A minor release, includes backwards compatible changes. label Mar 20, 2024
@tomvothecoder tomvothecoder marked this pull request as ready for review March 20, 2024 22:21
Copy link

codecov bot commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a9b6c5d) to head (c5cdab3).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #628   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           15        15           
  Lines         1588      1521   -67     
=========================================
- Hits          1588      1521   -67     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator Author

@tomvothecoder tomvothecoder left a comment

Choose a reason for hiding this comment

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

Hey @jasonb5, can you review this PR and make sure I've removed all of the correct deprecated code for the regridder? I am aiming to merge this PR before releasing v0.7.0 in the next week or so.

- Remove `horizontal_xesmf()` and `horizontal_regrid2()`
- Remove `**kwargs` from `create_grid()` and `_deprecated_create_grid()`
- Remove `add_bounds` accepting boolean arg in `open_dataset()`, `open_mfdataset()` and `_postprocess_dataset()`
- Remove `lxml` dependency
- Add ValueError conditional back to `create_grid()`
@tomvothecoder
Copy link
Collaborator Author

I did another self-review and the build is passing. I will merge this PR.

@tomvothecoder tomvothecoder merged commit 472c04b into main Apr 2, 2024
9 checks passed
@tomvothecoder tomvothecoder deleted the deprecation/626-various-deprs branch April 2, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor A minor release, includes backwards compatible changes.
Projects
Status: Done
1 participant