Skip to content

Merge develop into main for v1.16.0 release - #1165

Merged
xylar merged 33 commits into
mainfrom
develop
Nov 20, 2026
Merged

xylar merged 33 commits into
mainfrom
develop

Conversation

@xylar

@xylar xylar commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Merge develop into main for the v1.16.0 release. This should be merged after the version bump to 1.16.0 lands in develop.

🤖 Generated with Claude Code

dependabot Bot and others added 30 commits May 25, 2026 22:28
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/prefix-dev/setup-pixi/releases)
- [Commits](prefix-dev/setup-pixi@v0.9.5...v0.9.6)

---
updated-dependencies:
- dependency-name: prefix-dev/setup-pixi
  dependency-version: 0.9.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ix-dev/setup-pixi-0.9.6

Bump prefix-dev/setup-pixi from 0.9.5 to 0.9.6
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…ons/checkout-7

Bump actions/checkout from 6 to 7
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.9.6 to 0.10.0.
- [Release notes](https://github.com/prefix-dev/setup-pixi/releases)
- [Commits](prefix-dev/setup-pixi@v0.9.6...v0.10.0)

---
updated-dependencies:
- dependency-name: prefix-dev/setup-pixi
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
mods needed for wave- climatology (frequency)
…ix-dev/setup-pixi-0.10.0

Bump prefix-dev/setup-pixi from 0.9.6 to 0.10.0
m2r2 is unmaintained and requires mistune <2, which forces that
constraint on any environment that builds the docs.  sphinx-mdinclude
is a maintained fork of m2r2 that works with mistune >=3,<4, so the
explicit mistune constraint can be dropped entirely (mistune is only
ever an indirect dependency).

Its `convert()` is a drop-in replacement for the m2r2 function of the
same name.  There is no equivalent of `m2r2.parse_from_file()`, so the
design docs are read in `docs/conf.py` and passed to `convert()`.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Bump the constraint in pixi.toml, dev-spec.txt and the conda recipe.
All mpas_tools APIs used by MPAS-Analysis are unchanged in 2.0.0.  The
new ds_vert_coord argument to compute_barotropic_streamfunction()
defaults to ds_mesh, so the existing keyword-only call site is
unaffected.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
mpas_tools 2.0.0 requires python >=3.11 and conda-forge has no py3.10
builds for it, so MPAS-Analysis must drop 3.10 as well.

Update the constraint in pyproject.toml, dev-spec.txt, pixi.toml and the
conda recipe, remove the py310 pixi environment and CI variant file, and
drop 3.10 from the build workflow matrices.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
mpich 5 is built as ch4:ucx,ofi in conda-forge, making UCX the default
netmod (4.x was ofi-only).  Every MPI_Init() now goes through UCX,
including the one inside ESMF_RegridWeightGen for serial, single-rank
mapping-file generation.

On Azure-hosted GitHub runners, UCX enumerates the MANA adapter and
fails to open an RDMA verbs interface on it:

    UCX ERROR uct_iface_open(ud_verbs/mana_0:1) failed: Address not valid
    MPIDI_UCX_init_worker(86): ucx function returned with failed status
    MPI_Init(argc=(nil), argv=(nil)) failed

ESMF_RegridWeightGen then aborts with exit 143, failing all the
remapping tests.  Runners without a verbs device are unaffected, which
is why this does not reproduce on typical development machines.

Set UCX_TLS at the workflow level so it covers both the test job and the
rattler-build package job.  This is deliberately not set in pixi.toml's
activation, since forcing IB traffic over TCP would hurt real parallel
regridding with mapParallelExec on HPC machines.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Update to mpas_tools >=2.0.0 and drop python 3.10
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/prefix-dev/setup-pixi/releases)
- [Commits](prefix-dev/setup-pixi@v0.10.0...v0.10.1)

---
updated-dependencies:
- dependency-name: prefix-dev/setup-pixi
  dependency-version: 0.10.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ix-dev/setup-pixi-0.10.1

Bump prefix-dev/setup-pixi from 0.10.0 to 0.10.1
It is available on PyPI so no reason to exclude it
Add f90nml to pyproject.toml
…3.11

`plot_projection_comparison()` was the only one of the three comparison
plotting functions that called `ax.set_title()` without an explicit `y`.
Matplotlib only auto-positions a title when `y is None`, and that
auto-positioning inspects the surrounding artists -- including the cartopy
gridline labels, whose bounding boxes are non-finite while the figure is
being drawn.

The title therefore ended up at y = inf, which left the whole map axes with
a non-finite tight bounding box (x0/x1 NaN, y1 inf).  The subsequent
`savefig(bbox_inches='tight')` in `shared/plot/save.py` unions only the
finite axes -- the colorbars -- so the saved figure began at the first
colorbar and the leading map panel was cropped out of the image entirely,
with all three subplot titles missing.

This is visible with matplotlib 3.11 (it does not reproduce on 3.10), and
affects roughly 54% of the images in a zppy `comprehensive_v2` MPAS-Analysis
run -- every ocean and sea-ice map that goes through this function.

Passing an explicit `y` disables the auto-positioning, matching what
`plot_polar_comparison()` (y=1.06) and `plot_global_comparison()` (y=1.02)
already did.

Reproducer, antarctic_extended sea ice concentration:
  before: 2620x1195 on matplotlib 3.11.1, 3575x1242 on 3.10.9
  after:  3576x1242 on matplotlib 3.11.1, 3575x1242 on 3.10.9

Similar in spirit to E3SM-Project/polaris#635 and MPAS-Dev/compass#972.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
`distutils` was removed from the standard library in Python 3.12, so
`from distutils import dir_util` only kept working through the shim that
setuptools installs.  That made collecting anything under
`mpas_analysis/test` fail outright in an environment without setuptools.

`shutil.copytree(..., dirs_exist_ok=True)` is the direct replacement for
`dir_util.copy_tree` onto an existing directory.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Dependencies are declared in four places -- `dev-spec.txt`, `pixi.toml`,
`ci/recipe/recipe.yaml` and `pyproject.toml` -- and nothing kept them
consistent, so they could drift silently.

The new tests check that:

* the three conda lists (dev-spec, pixi, rattler-build recipe) declare
  exactly the same runtime packages with the same version constraints
* conda build pins (currently just the MPI flavor of ESMF) match between
  dev-spec and pixi
* `pyproject.toml` agrees with the conda lists on every shared dependency,
  and the set it legitimately omits -- packages with no PyPI equivalent --
  is exactly the documented `CONDA_ONLY` set, so adding a new conda-only
  dependency has to be a conscious choice
* `requires-python` matches the `python` constraint in all four files
* the dev and docs groups agree, allowing `pyproject.toml` to declare
  build-time requirements under `[build-system] requires` instead

Differences in spelling are normalized: conda's `matplotlib-base` against
PyPI's `matplotlib`, `_` against `-`, and pixi's `*` against an omitted
constraint.  The tests skip when run from an installed package, where the
dependency files are not present.

Verified that perturbing each of the four files is caught by the expected
test.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Running `pytest mpas_analysis/test` left four files behind in whatever
directory pytest was started from, normally the root of the repo:

  inset_point.png
  inset_region.png
  inset_transect.png
  PET0.RegridWeightGen.Log

The three PNGs came from `test_inset.py`, which passed bare relative
filenames to `plt.savefig()`.  The ESMF log is written by the
`ESMF_RegridWeightGen` subprocess that pyremap launches from
`test_climatology.py`; pyremap does not pass a `cwd`, so it lands in the
current working directory and cannot be redirected from here.

Add an autouse fixture that runs each test in its own temporary working
directory.  That covers the subprocess case, which is otherwise out of our
control, and keeps future tests from reintroducing the problem.  All tests
find their inputs through absolute paths, so this is safe.

Also have `test_inset.py` write to `tmp_path` explicitly rather than relying
on the working directory, close its figures, and actually assert that the
plot was written -- previously these three tests could not fail.  The three
near-identical tests become one parametrized test with the same three cases.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/prefix-dev/setup-pixi/releases)
- [Commits](prefix-dev/setup-pixi@v0.10.1...v0.10.2)

---
updated-dependencies:
- dependency-name: prefix-dev/setup-pixi
  dependency-version: 0.10.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ix-dev/setup-pixi-0.10.2

Bump prefix-dev/setup-pixi from 0.10.1 to 0.10.2
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.10.2 to 0.11.0.
- [Release notes](https://github.com/prefix-dev/setup-pixi/releases)
- [Commits](prefix-dev/setup-pixi@v0.10.2...v0.11.0)

---
updated-dependencies:
- dependency-name: prefix-dev/setup-pixi
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
rattler-build (since at least 0.70) does not pass the caller's
environment through to test scripts, so the workflow-level UCX_TLS
workaround never reached the package job's pytest run.  On runners that
expose a MANA RDMA device, MPI_Init() in ESMF_RegridWeightGen then
aborts with exit 143 and the remapping tests fail.

Set UCX_TLS via the test script's env in the CI recipe.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ix-dev/setup-pixi-0.11.0

Bump prefix-dev/setup-pixi from 0.10.2 to 0.11.0
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.11.0 to 0.11.2.
- [Release notes](https://github.com/prefix-dev/setup-pixi/releases)
- [Commits](prefix-dev/setup-pixi@v0.11.0...v0.11.2)

---
updated-dependencies:
- dependency-name: prefix-dev/setup-pixi
  dependency-version: 0.11.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ix-dev/setup-pixi-0.11.2

Bump prefix-dev/setup-pixi from 0.11.0 to 0.11.2
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/prefix-dev/setup-pixi/releases)
- [Commits](prefix-dev/setup-pixi@v0.11.2...v0.11.3)

---
updated-dependencies:
- dependency-name: prefix-dev/setup-pixi
  dependency-version: 0.11.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
xylar and others added 3 commits November 9, 2026 17:26
…ix-dev/setup-pixi-0.11.3

Bump prefix-dev/setup-pixi from 0.11.2 to 0.11.3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xylar
xylar marked this pull request as ready for review November 20, 2026 04:26
@xylar
xylar merged commit 3e154e2 into main Nov 20, 2026
17 checks passed
@xylar
xylar deleted the develop branch November 20, 2026 04:39
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