Using data copied gs://contrails-301217-unit-test/doc-test-cache/ fixture:
pass on xarray v2024.3.0
fail on xarray v2024.2.0
Using data cached locally with xarray v2024.3.0
fail on xarray v2024.3.0
fail no xarray v2024.2.0
Using data cached locally with xarray v2024.2.0
pass on xarray v2024.3.0
pass on xarray v2024.2.0
This likely indicates that doctest values are correct when running tests with a recent version of xarray (v2024.3.0 or newer) on a dirty doctest cache created using an older version of xarray (v2024.2.0 or older).
Description
Current status of doctests in local testing:
gs://contrails-301217-unit-test/doc-test-cache/
fixture:This likely indicates that doctest values are correct when running tests with a recent version of xarray (v2024.3.0 or newer) on a dirty doctest cache created using an older version of xarray (v2024.2.0 or older).
For details about xarray v2024.3.0 changes, see https://github.com/contrailcirrus/pycontrails/pull/171#issuecomment-2040527033.
Proposed solution: update doctest fixture with values cached using the current xarray version.
Details