Skip to content

[DevOps]: xgcm warnings polluting test suite and yaksa leaking handlers #513

@tomvothecoder

Description

@tomvothecoder

There are DeprecationWarnings from xgcm that are polluting the test suite.

Warning 1

  /usr/share/miniconda3/envs/xcdat_ci/lib/python3.11/site-packages/xgcm/grid.py:1283: DeprecationWarning: The `xgcm.Axis` class will be deprecated in the future. Please make sure to use the `xgcm.Grid` methods for your work instead.

Source:

Solution:

Warning 2

  /usr/share/miniconda3/envs/xcdat_ci/lib/python3.11/site-packages/xgcm/grid.py:989: FutureWarning: From version 0.8.0 the Axis computation methods will be removed, in favour of using the Grid computation methods instead. i.e. use `Grid.transform` instead of `Axis.transform`
    warnings.warn(

Source:

Solution:

  • Now - silence these specific deprecation warnings
  • Future - The next xgcm will remove the Axis class and the deprecation warnings

Warning 3

Also a "yaksa: 10 leaked handle pool objects".

Not sure what is causing this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions