E3SM-Project / e3sm_diags

E3SM Diagnostics package
https://e3sm-project.github.io/e3sm_diags
BSD 3-Clause "New" or "Revised" License
39 stars 32 forks source link

[Bug]: `DeprecationWarning: This method will be removed in Python 3.12. Use 'parser.read_file()' instead.` #764

Closed tomvothecoder closed 9 months ago

tomvothecoder commented 9 months ago

What happened?

This is similar to #701.

  /home/runner/work/e3sm_diags/e3sm_diags/e3sm_diags/parser/core_parser.py:824: DeprecationWarning: This method will be removed in Python 3.12. Use 'parser.read_file()' instead.
    config.readfp(cfg_file_obj)

I also found a slew of Numpy deprecation warnings related to cdms2 that I logged in https://github.com/conda-forge/cdms2-feedstock/issues/90 for reference.

What did you expect to happen? Are there are possible answers you came across?

No response

Minimal Complete Verifiable Example (MVCE)

No response

Relevant log output

No response

Anything else we need to know?

No response

Environment

Latest version of e3sm_diags