Skip to content

Conversation

@romanc
Copy link
Collaborator

@romanc romanc commented Jan 6, 2026

Description

Prefer the new constructor of QuantityFactor over the deprecated call to QuantityFactor.from_backend(...). This removes a bunch of deprecation warnings in tests.

See NOAA-GFDL/NDSL#228 for context.

/cc @FlorianDeconinck

How Has This Been Tested?

Search and manual replace of from_backend within pace. CI is still green. The remaining deprecation warnings in tests come from pyFV3 and pySHiELD. PRs in these repos are coming up shortly. Once they are merge, we can update the submodules and the CI output should be significantly shorter again 😉

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas: N/A
  • I have made corresponding changes to the documentation: N/A
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included: N/A

Prefer the new constructor of `QuantityFactor` over the deprecated
call to `QuantityFactor.from_backend(...)`. This removes a bunch of
deprecation warnings in tests.
@romanc romanc marked this pull request as ready for review January 6, 2026 11:09
@romanc romanc requested review from fmalatino and oelbert January 6, 2026 11:09
@romanc
Copy link
Collaborator Author

romanc commented Jan 6, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants