Skip to content

unpin mpl<3.11; pin cartopy>=0.26, geoviews>=1.16; require Python>=3.12 - #1850

Merged
cmdupuis3 merged 5 commits into
mainfrom
sevans/new-geoviews-new-version-pins
Oct 27, 2026
Merged

cmdupuis3 merged 5 commits into
mainfrom
sevans/new-geoviews-new-version-pins

Conversation

@Sevans711

@Sevans711 Sevans711 commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #1780, closes #1772, closes #1542, closes #1489
Supersedes #1773

Overview

Closes lingering issues which were just waiting on upstream releases of cartopy and geoviews, by pinning those releases as minimum versions. The geoviews>=1.16.0 pin requires Python>=3.12, so this PR also raises the minimum uxarray-supported Python version to 3.12.

#1489 is fixed by pinning geoviews>=1.16.0. This issue was just waiting on the next geoviews release (the messages there suggested it might be named 1.15.2, but actually it ended up being named 1.16.0). I confirmed locally using the minimal reproducer of this issue (see holoviz/geoviews#845) that the issue was indeed fixed by this release (nothing caused it to break again inside geoviews after it was fixed).

#1542 is fixed by pinning cartopy>=0.26.0. This issue was temporarily solved by pinning matplotlib<3.11, but remained open as a reminder to remove that pin when the next cartopy release (i.e., 0.26.0) came out. However, issue 1780 prevented pinning the new cartopy until the new geoviews release. The regression test test_plot_with_features added in #1554 ensures that the underlying issue remains solved, even with the new combination of version pins.

#1772 is fixed simply by removing the matplotlib<3.11 pin.

#1780 is fixed by pinning geoviews>=1.16.0. This issue was temporarily solved by pinning cartopy<0.26.0, but remained open as a reminder to remove that pin when the next geoviews release (i.e., 1.16.0) came out. The regression test test_plot_topology_with_explicit_projection updated in #1783 ensures that the underlying issue remains solved, even with the new combination of version pins.

PR Checklist

General

  • An issue is created and linked
  • Added appropriate labels (if your uxarray repo permissions allow it)
  • Filled out Overview and Expected Usage (if applicable) sections

Testing & Benchmarking

  • There is adequate test coverage of changes from this PR (add new tests if needed)
  • [N/A] If this PR could affect performance, ran ASV benchmarks and confirmed they show expected behavior (add a new benchmark if necessary)
    • (Not expecting performance effects, but added the run-benchmark label to confirm benchmarks still run even after raising the minimum python to 3.12)

Documentation and Examples

  • [N/A] Docstrings updated with any function changes, and included in all new functions
  • [N/A] User (public) functions added to docs/api.rst; internal (private) function names start with an underscore (_)
  • [N/A] If touched any notebook files, cleared the output of all cells before committing
  • [N/A] If added new notebook files, put into appropriate directories and referenced in appropriate files

AI Disclosure

AI Usage: tiny amounts of GitHub Copilot's inline code suggestions and Claude to help with debugging.

  • I have tested and take responsibility for all AI-generated content in my PR.

@Sevans711 Sevans711 added dependencies Related to dependency files, such as pyproject.toml or environment.yml run-benchmark Run ASV benchmark workflow labels Oct 26, 2026
@Sevans711 Sevans711 changed the title unpin mpl<3.11; pin cartopy>=0.26, geoviews>=1.16 unpin mpl<3.11; pin cartopy>=0.26, geoviews>=1.16; require Python>=3.12 Oct 26, 2026
@github-actions

Copy link
Copy Markdown

ASV Benchmarking

Benchmark Comparison Results

Benchmarks that have stayed the same:

Change Before [db33c50] After [5619e01] Ratio Benchmark (Parameter)
951±20μs 969±10μs 1.02 connectivity.Connectivity.time_edge_face('120km')
458±20μs 474±20μs 1.03 connectivity.Connectivity.time_edge_face('480km')
6.09±0.4ms 6.13±0.1ms 1.01 connectivity.Connectivity.time_edge_node('120km')
1.21±0.03ms 1.24±0.03ms 1.02 connectivity.Connectivity.time_edge_node('480km')
64.3±10μs 62.7±4μs 0.97 connectivity.Connectivity.time_face_edge('120km')
67.0±4μs 63.6±4μs 0.95 connectivity.Connectivity.time_face_edge('480km')
970±30μs 968±20μs 1 connectivity.Connectivity.time_face_face('120km')
375±9μs 393±30μs 1.05 connectivity.Connectivity.time_face_face('480km')
57.3±3μs 58.2±20μs 1.02 connectivity.Connectivity.time_face_node('120km')
61.1±10μs 57.5±3μs 0.94 connectivity.Connectivity.time_face_node('480km')
443±20μs 457±30μs 1.03 connectivity.Connectivity.time_n_nodes_per_face('120km')
382±10μs 388±30μs 1.01 connectivity.Connectivity.time_n_nodes_per_face('480km')
1.34±0.06ms 1.34±0.05ms 1 connectivity.Connectivity.time_node_edge('120km')
457±10μs 475±10μs 1.04 connectivity.Connectivity.time_node_edge('480km')
85.2±0.5ms 86.9±2ms 1.02 connectivity.Connectivity.time_node_face('120km')
5.48±0.05ms 5.57±0.08ms 1.02 connectivity.Connectivity.time_node_face('480km')
1.42M 1.42M 1 connectivity.ConnectivityTracemalloc.track_peakmem_edge_face('120km')
105k 105k 1 connectivity.ConnectivityTracemalloc.track_peakmem_edge_face('480km')
6.48M 6.48M 1 connectivity.ConnectivityTracemalloc.track_peakmem_edge_node('120km')
419k 419k 1 connectivity.ConnectivityTracemalloc.track_peakmem_edge_node('480km')
2.05k 2.05k 1 connectivity.ConnectivityTracemalloc.track_peakmem_face_edge('120km')
2.05k 2.05k 1 connectivity.ConnectivityTracemalloc.track_peakmem_face_edge('480km')
1.6M 1.6M 1 connectivity.ConnectivityTracemalloc.track_peakmem_face_face('120km')
101k 101k 1 connectivity.ConnectivityTracemalloc.track_peakmem_face_face('480km')
2.18k 2.18k 1 connectivity.ConnectivityTracemalloc.track_peakmem_face_node('120km')
2.18k 2.18k 1 connectivity.ConnectivityTracemalloc.track_peakmem_face_node('480km')
240k 240k 1 connectivity.ConnectivityTracemalloc.track_peakmem_n_nodes_per_face('120km')
26k 26k 1 connectivity.ConnectivityTracemalloc.track_peakmem_n_nodes_per_face('480km')
1.9M 1.9M 1 connectivity.ConnectivityTracemalloc.track_peakmem_node_edge('120km')
127k 127k 1 connectivity.ConnectivityTracemalloc.track_peakmem_node_edge('480km')
11.9M 11.9M 1 connectivity.ConnectivityTracemalloc.track_peakmem_node_face('120km')
747k 747k 1 connectivity.ConnectivityTracemalloc.track_peakmem_node_face('480km')
10.3±0.3ms 10.0±0.09ms 0.97 face_bounds.FaceBounds.time_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/mpas/QU/oQU480.231010.nc'))
2.87±0.3ms 2.84±0.1ms 0.99 face_bounds.FaceBounds.time_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/scrip/outCSne8/outCSne8.nc'))
13.3±0.4ms 13.1±8ms 0.99 face_bounds.FaceBounds.time_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/ugrid/geoflow-small/grid.nc'))
1.40±0.03ms 1.37±0.01ms 0.98 face_bounds.FaceBounds.time_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/ugrid/quad-hexagon/grid.nc'))
57.3k 57.3k 1 face_bounds.FaceBounds.track_nbytes_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/mpas/QU/oQU480.231010.nc'))
12.3k 12.3k 1 face_bounds.FaceBounds.track_nbytes_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/scrip/outCSne8/outCSne8.nc'))
123k 123k 1 face_bounds.FaceBounds.track_nbytes_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/ugrid/geoflow-small/grid.nc'))
128 128 1 face_bounds.FaceBounds.track_nbytes_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/ugrid/quad-hexagon/grid.nc'))
1.27M 1.27M 1 face_bounds.FaceBounds.track_nbytes_grid_with_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/mpas/QU/oQU480.231010.nc'))
50.1k 50.1k 1 face_bounds.FaceBounds.track_nbytes_grid_with_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/scrip/outCSne8/outCSne8.nc'))
1.48M 1.48M 1 face_bounds.FaceBounds.track_nbytes_grid_with_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/ugrid/geoflow-small/grid.nc'))
712 712 1 face_bounds.FaceBounds.track_nbytes_grid_with_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/ugrid/quad-hexagon/grid.nc'))
1.74M 1.74M 1 face_bounds.FaceBounds.track_peakmem_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/mpas/QU/oQU480.231010.nc'))
1.73M 1.73M 1 face_bounds.FaceBounds.track_peakmem_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/scrip/outCSne8/outCSne8.nc'))
1.9M 1.9M 1 face_bounds.FaceBounds.track_peakmem_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/ugrid/geoflow-small/grid.nc'))
35.3k 35.3k 1 face_bounds.FaceBounds.track_peakmem_face_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/ugrid/quad-hexagon/grid.nc'))
1.18±0.03μs 1.24±0.04μs 1.05 geometry_kernels.AccucrossKernels.time_accucross
2.62±0.04μs 2.71±0.02μs 1.03 geometry_kernels.AccucrossKernels.time_accucross_pair
506±9ns 506±20ns 1 geometry_kernels.EFTPrimitives.time_acc_sqrt_re
466±20ns 476±20ns 1.02 geometry_kernels.EFTPrimitives.time_diff_of_products
430±30ns 431±30ns 1 geometry_kernels.EFTPrimitives.time_two_prod
451±20ns 436±20ns 0.97 geometry_kernels.EFTPrimitives.time_two_sum
712±10ns 697±50ns 0.98 geometry_kernels.GCAConstLatIntersection.time_accux_constlat_kernel
756±20ns 807±30ns 1.07 geometry_kernels.GCAConstLatIntersection.time_gca_const_lat_intersection
846±10ns 836±30ns 0.99 geometry_kernels.GCAConstLatIntersection.time_try_gca_const_lat_intersection
867±20ns 922±30ns 1.06 geometry_kernels.GCAGCAIntersection.time_accux_gca_kernel
921±40ns 942±20ns 1.02 geometry_kernels.GCAGCAIntersection.time_gca_gca_intersection
1.09±0.02μs 1.14±0.02μs 1.05 geometry_kernels.GCAGCAIntersection.time_try_gca_gca_intersection
50.1±0.7μs 51.4±1μs 1.03 geometry_kernels.OrientPredicates.time_on_minor_arc
49.8±0.5μs 50.7±0.6μs 1.02 geometry_kernels.OrientPredicates.time_orient3d_on_sphere
3.08±0.02ms 3.06±0ms 0.99 geometry_samebody.SameBodyConstLat.time_accux_dispatch
1.17±0.01ms 1.16±0ms 1 geometry_samebody.SameBodyConstLat.time_accux_kernel
2.28±0ms 2.34±0.01ms 1.02 geometry_samebody.SameBodyConstLat.time_fp64_dispatch
147±0.4μs 148±0.4μs 1.01 geometry_samebody.SameBodyConstLat.time_fp64_kernel
29.8±0.3ms 29.7±0.07ms 1 geometry_samebody_gcagca.SameBodyGcaGca.time_accux_dispatch
6.29±0.03ms 6.31±0.01ms 1 geometry_samebody_gcagca.SameBodyGcaGca.time_accux_kernel
23.7±0.1ms 23.8±0.2ms 1 geometry_samebody_gcagca.SameBodyGcaGca.time_fp64_dispatch
860±6μs 860±5μs 1 geometry_samebody_gcagca.SameBodyGcaGca.time_fp64_kernel
790±4ms 789±8ms 1 import.Imports.timeraw_import_uxarray
1 1 1 lazy_grid_construction.LazyGridConstruction.track_computes_isel
2 2 1 lazy_grid_construction.LazyGridConstruction.track_computes_open_grid_chunked
97.3±2ms 96.2±0.3ms 0.99 lazy_grid_construction.OpenGridChunked.time_open_grid('120km')
132±1ms 133±0.7ms 1.01 lazy_grid_construction.OpenGridChunked.time_open_grid('480km')
1.99M 1.99M 1 lazy_grid_construction.OpenGridChunked.track_peakmem_open_grid('120km')
2.32M 2.19M 0.94 lazy_grid_construction.OpenGridChunked.track_peakmem_open_grid('480km')
2.64±0.06ms 2.67±0.03ms 1.01 mpas_ocean.CheckNorm.time_check_norm('120km')
1.68±0.01ms 1.70±0.05ms 1.01 mpas_ocean.CheckNorm.time_check_norm('480km')
1.11±0.01ms 1.12±0.01ms 1.01 mpas_ocean.ConnectivityConstruction.time_face_face_connectivity('120km')
529±9μs 521±7μs 0.99 mpas_ocean.ConnectivityConstruction.time_face_face_connectivity('480km')
621±10μs 619±8μs 1 mpas_ocean.ConnectivityConstruction.time_n_nodes_per_face('120km')
573±7μs 562±10μs 0.98 mpas_ocean.ConnectivityConstruction.time_n_nodes_per_face('480km')
4.38±0.05ms 4.37±0.03ms 1 mpas_ocean.ConstructFaceLatLon.time_cartesian_averaging('120km')
3.30±0.03ms 3.29±0.04ms 1 mpas_ocean.ConstructFaceLatLon.time_cartesian_averaging('480km')
116±0.1ms 116±0.4ms 1 mpas_ocean.ConstructFaceLatLon.time_welzl('120km')
10.1±0.03ms 10.5±0.5ms 1.04 mpas_ocean.ConstructFaceLatLon.time_welzl('480km')
18.6±0.1ms 18.6±0.04ms 1 mpas_ocean.ConstructTreeStructures.time_ball_tree('120km')
928±10μs 931±7μs 1 mpas_ocean.ConstructTreeStructures.time_ball_tree('480km')
10.00±0.08ms 9.93±0.08ms 0.99 mpas_ocean.ConstructTreeStructures.time_kd_tree('120km')
578±10μs 581±10μs 1.01 mpas_ocean.ConstructTreeStructures.time_kd_tree('480km')
604±8ms 609±5ms 1.01 mpas_ocean.CrossSections.time_const_lat('120km', 1)
303±5ms 306±4ms 1.01 mpas_ocean.CrossSections.time_const_lat('120km', 2)
157±0.2ms 158±3ms 1.01 mpas_ocean.CrossSections.time_const_lat('120km', 4)
562±8ms 566±10ms 1.01 mpas_ocean.CrossSections.time_const_lat('480km', 1)
283±6ms 277±2ms 0.98 mpas_ocean.CrossSections.time_const_lat('480km', 2)
140±1ms 142±0.3ms 1.01 mpas_ocean.CrossSections.time_const_lat('480km', 4)
33.6±0.3ms 34.7±0.3ms 1.03 mpas_ocean.DualMesh.time_dual_mesh_construction('120km')
3.36±0.04ms 3.43±0.04ms 1.02 mpas_ocean.DualMesh.time_dual_mesh_construction('480km')
14.2±0.5ms 14.2±1ms 1 mpas_ocean.FaceAreas.time_face_areas('120km')
4.02±0.1ms 3.98±0.2ms 0.99 mpas_ocean.FaceAreas.time_face_areas('480km')
229k 229k 1 mpas_ocean.FaceAreas.track_nbytes_face_areas('120km')
14.3k 14.3k 1 mpas_ocean.FaceAreas.track_nbytes_face_areas('480km')
2.12M 2.12M 1 mpas_ocean.FaceAreas.track_peakmem_face_areas('120km')
721k 721k 1 mpas_ocean.FaceAreas.track_peakmem_face_areas('480km')
162±2ms 159±2ms 0.98 mpas_ocean.GeoDataFrame.time_to_geodataframe('120km', False)
53.7±0.7ms 54.3±0.7ms 1.01 mpas_ocean.GeoDataFrame.time_to_geodataframe('120km', True)
29.9±0.3ms 31.0±0.5ms 1.04 mpas_ocean.GeoDataFrame.time_to_geodataframe('480km', False)
4.86±0.1ms 4.89±0.1ms 1.01 mpas_ocean.GeoDataFrame.time_to_geodataframe('480km', True)
12.8±0.04ms 12.8±0.06ms 1 mpas_ocean.Gradient.time_gradient('120km')
1.64±0.01ms 1.64±0.01ms 1 mpas_ocean.Gradient.time_gradient('480km')
457k 457k 1 mpas_ocean.Gradient.track_nbytes_gradient('120km')
28.7k 28.7k 1 mpas_ocean.Gradient.track_nbytes_gradient('480km')
3.2M 3.2M 1 mpas_ocean.Gradient.track_peakmem_gradient('120km')
204k 204k 1 mpas_ocean.Gradient.track_peakmem_gradient('480km')
284±10μs 277±10μs 0.97 mpas_ocean.HoleEdgeIndices.time_construct_hole_edge_indices('120km')
147±2μs 146±3μs 1 mpas_ocean.HoleEdgeIndices.time_construct_hole_edge_indices('480km')
170±2μs 178±4μs 1.05 mpas_ocean.Integrate.time_integrate('120km')
161±9μs 158±3μs 0.98 mpas_ocean.Integrate.time_integrate('480km')
18.4M 18.4M 1 mpas_ocean.Integrate.track_nbytes_integrate('120km')
1.2M 1.2M 1 mpas_ocean.Integrate.track_nbytes_integrate('480km')
125±0.7ms 125±1ms 1 mpas_ocean.MatplotlibConversion.time_dataarray_to_polycollection('120km', 'exclude')
125±0.4ms 124±0.4ms 1 mpas_ocean.MatplotlibConversion.time_dataarray_to_polycollection('120km', 'include')
126±0.7ms 125±0.4ms 0.99 mpas_ocean.MatplotlibConversion.time_dataarray_to_polycollection('120km', 'split')
9.05±0.05ms 9.03±0.02ms 1 mpas_ocean.MatplotlibConversion.time_dataarray_to_polycollection('480km', 'exclude')
9.07±0.07ms 9.27±0.2ms 1.02 mpas_ocean.MatplotlibConversion.time_dataarray_to_polycollection('480km', 'include')
9.00±0.06ms 9.07±0.08ms 1.01 mpas_ocean.MatplotlibConversion.time_dataarray_to_polycollection('480km', 'split')
173±0.2ms 174±0.9ms 1 mpas_ocean.NeighborhoodBuild.time_build('120km', 1.0)
371±1ms 376±0.7ms 1.01 mpas_ocean.NeighborhoodBuild.time_build('120km', 5.0)
11.1±0.05ms 10.7±0.02ms 0.96 mpas_ocean.NeighborhoodBuild.time_build('480km', 1.0)
13.7±0.03ms 13.3±0.03ms 0.97 mpas_ocean.NeighborhoodBuild.time_build('480km', 5.0)
167±0.3ms 168±0.1ms 1.01 mpas_ocean.NeighborhoodBuild.time_query_radius('120km', 1.0)
362±0.7ms 365±0.7ms 1.01 mpas_ocean.NeighborhoodBuild.time_query_radius('120km', 5.0)
11.1±0.6ms 10.3±0.06ms 0.93 mpas_ocean.NeighborhoodBuild.time_query_radius('480km', 1.0)
13.2±0.06ms 12.8±0.03ms 0.97 mpas_ocean.NeighborhoodBuild.time_query_radius('480km', 5.0)
612.76 612.76 1 mpas_ocean.NeighborhoodBuild.track_mean_neighbors('120km', 15.0)
74.17 74.17 1 mpas_ocean.NeighborhoodBuild.track_mean_neighbors('120km', 5.0)
37.29 37.29 1 mpas_ocean.NeighborhoodBuild.track_mean_neighbors('480km', 15.0)
6.57 6.57 1 mpas_ocean.NeighborhoodBuild.track_mean_neighbors('480km', 5.0)
141M 141M 1 mpas_ocean.NeighborhoodBuild.track_nbytes_neighbors('120km', 15.0)
17.4M 17.4M 1 mpas_ocean.NeighborhoodBuild.track_nbytes_neighbors('120km', 5.0)
563k 563k 1 mpas_ocean.NeighborhoodBuild.track_nbytes_neighbors('480km', 15.0)
123k 123k 1 mpas_ocean.NeighborhoodBuild.track_nbytes_neighbors('480km', 5.0)
145M 145M 1 mpas_ocean.NeighborhoodBuild.track_peakmem_build('120km', 15.0)
21.5M 21.5M 1 mpas_ocean.NeighborhoodBuild.track_peakmem_build('120km', 5.0)
824k 824k 1 mpas_ocean.NeighborhoodBuild.track_peakmem_build('480km', 15.0)
384k 384k 1 mpas_ocean.NeighborhoodBuild.track_peakmem_build('480km', 5.0)
38.9±0.4ms 39.2±0.6ms 1.01 mpas_ocean.NeighborhoodDask.time_mean('120km', 'grid_chunks')
18.0±0.02ms 18.1±0.06ms 1 mpas_ocean.NeighborhoodDask.time_mean('120km', 'numpy')
36.4±1ms 35.7±0.9ms 0.98 mpas_ocean.NeighborhoodDask.time_mean('120km', 'time_chunks')
10.5±0.2ms 10.2±0.09ms 0.97 mpas_ocean.NeighborhoodDask.time_mean('480km', 'grid_chunks')
615±10μs 619±6μs 1.01 mpas_ocean.NeighborhoodDask.time_mean('480km', 'numpy')
7.47±0.1ms 7.15±0.08ms 0.96 mpas_ocean.NeighborhoodDask.time_mean('480km', 'time_chunks')
5.82M 5.9M 1.01 mpas_ocean.NeighborhoodDask.track_peakmem_mean('120km', 'grid_chunks')
2.75M 2.75M 1 mpas_ocean.NeighborhoodDask.track_peakmem_mean('120km', 'numpy')
5.67M 5.67M 1 mpas_ocean.NeighborhoodDask.track_peakmem_mean('120km', 'time_chunks')
754k 744k 0.99 mpas_ocean.NeighborhoodDask.track_peakmem_mean('480km', 'grid_chunks')
177k 177k 1 mpas_ocean.NeighborhoodDask.track_peakmem_mean('480km', 'numpy')
528k 528k 1 mpas_ocean.NeighborhoodDask.track_peakmem_mean('480km', 'time_chunks')
3.43±0.01s 3.51±0.01s 1.02 mpas_ocean.NeighborhoodReduce.time_dataset_reduce('120km', 'mean')
3.56±0.01s 3.63±0s 1.02 mpas_ocean.NeighborhoodReduce.time_dataset_reduce('120km', 'median')
104±7ms 96.2±0.1ms 0.92 mpas_ocean.NeighborhoodReduce.time_dataset_reduce('480km', 'mean')
99.3±0.2ms 98.5±0.1ms 0.99 mpas_ocean.NeighborhoodReduce.time_dataset_reduce('480km', 'median')
376±0.9ms 382±2ms 1.01 mpas_ocean.NeighborhoodReduce.time_neighborhood_reduce('120km', 'mean')
405±1ms 410±2ms 1.01 mpas_ocean.NeighborhoodReduce.time_neighborhood_reduce('120km', 'median')
13.9±0.1ms 13.5±0.02ms 0.97 mpas_ocean.NeighborhoodReduce.time_neighborhood_reduce('480km', 'mean')
14.3±0.03ms 13.9±0.05ms 0.97 mpas_ocean.NeighborhoodReduce.time_neighborhood_reduce('480km', 'median')
4.87±0.08ms 4.94±0.05ms 1.02 mpas_ocean.NeighborhoodReduce.time_reduce('120km', 'mean')
34.5±0.1ms 34.5±0.1ms 1 mpas_ocean.NeighborhoodReduce.time_reduce('120km', 'median')
185±3μs 203±8μs 1.09 mpas_ocean.NeighborhoodReduce.time_reduce('480km', 'mean')
521±3μs 528±3μs 1.01 mpas_ocean.NeighborhoodReduce.time_reduce('480km', 'median')
234k 234k 1 mpas_ocean.NeighborhoodReduce.track_peakmem_reduce('120km', 'mean')
235k 235k 1 mpas_ocean.NeighborhoodReduce.track_peakmem_reduce('120km', 'median')
19.5k 19.5k 1 mpas_ocean.NeighborhoodReduce.track_peakmem_reduce('480km', 'mean')
19.6k 19.6k 1 mpas_ocean.NeighborhoodReduce.track_peakmem_reduce('480km', 'median')
397±7μs 384±4μs 0.97 mpas_ocean.PointInPolygon.time_face_search_lonlat('120km')
374±7μs 373±5μs 1 mpas_ocean.PointInPolygon.time_face_search_lonlat('480km')
355±30μs 372±20μs 1.05 mpas_ocean.PointInPolygon.time_face_search_xyz('120km')
349±30μs 350±8μs 1 mpas_ocean.PointInPolygon.time_face_search_xyz('480km')
110±0.09ms 113±0.8ms 1.03 mpas_ocean.RemapDownsample.time_bilinear_remapping
15.6±0.1ms 15.8±0.2ms 1.01 mpas_ocean.RemapDownsample.time_inverse_distance_weighted_remapping
14.3±0.1ms 14.5±0.3ms 1.02 mpas_ocean.RemapDownsample.time_nearest_neighbor_remapping
1.03±0s 1.03±0s 1 mpas_ocean.RemapUpsample.time_bilinear_remapping
26.2±0.3ms 25.5±0.1ms 0.97 mpas_ocean.RemapUpsample.time_inverse_distance_weighted_remapping
11.2±0.09ms 11.3±0.06ms 1 mpas_ocean.RemapUpsample.time_nearest_neighbor_remapping
7.72±0.2ms 7.98±0.1ms 1.03 mpas_ocean.ZonalAverage.time_zonal_average('120km')
4.75±0.04ms 4.73±0.06ms 0.99 mpas_ocean.ZonalAverage.time_zonal_average('480km')
1.0278182264820521 1.0271732395351283 1 nogil_scaling.GILScaling.track_gil_scaling
311±2ms 312±1ms 1 plots.PlotHealpix.time_default_plot(6)
2.61±0.01s 2.62±0s 1 plots.PlotHealpix.time_default_plot(8)
28M 28M 1 plots.PlotHealpix.track_peakmem_default_plot(6)
443M 443M 1 plots.PlotHealpix.track_peakmem_default_plot(8)
7.70±0.1ms 7.87±0.05ms 1.02 quad_hexagon.QuadHexagon.time_open_dataset
6.57±0.02ms 6.73±0.04ms 1.03 quad_hexagon.QuadHexagon.time_open_grid
408 408 1 quad_hexagon.QuadHexagon.track_nbytes_open_dataset
392 392 1 quad_hexagon.QuadHexagon.track_nbytes_open_grid
70.1k 70.1k 1 quad_hexagon.QuadHexagon.track_peakmem_open_dataset
69.9k 69.9k 1 quad_hexagon.QuadHexagon.track_peakmem_open_grid
1.12±0s 1.11±0s 1 to_raster.ToRaster.time_to_raster((10000.0, 10.0))
2.77±0.02s 2.77±0.01s 1 to_raster.ToRaster.time_to_raster((10000.0, 100.0))
3.19±0.01s 3.18±0.01s 1 to_raster.ToRaster.time_to_raster((100000.0, 100.0))
270M 270M 1 to_raster.ToRaster.track_peakmem((10000.0, 10.0))
680M 680M 1 to_raster.ToRaster.track_peakmem((10000.0, 100.0))
765M 765M 1 to_raster.ToRaster.track_peakmem((100000.0, 100.0))

Benchmarks that have got worse:

Change Before [db33c50] After [5619e01] Ratio Benchmark (Parameter)
+ 319M 403M 1.27 face_bounds.FaceBoundsColdStartRss.track_peakmem_open_and_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/mpas/QU/oQU480.231010.nc'))
+ 319M 403M 1.26 face_bounds.FaceBoundsColdStartRss.track_peakmem_open_and_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/scrip/outCSne8/outCSne8.nc'))
+ 320M 403M 1.26 face_bounds.FaceBoundsColdStartRss.track_peakmem_open_and_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/ugrid/geoflow-small/grid.nc'))
+ 320M 403M 1.26 face_bounds.FaceBoundsColdStartRss.track_peakmem_open_and_bounds(PosixPath('/home/runner/work/uxarray/uxarray/test/meshfiles/ugrid/quad-hexagon/grid.nc'))
+ 295M 402M 1.36 import.Imports.track_peakmem_import_uxarray
+ 338M 403M 1.19 mpas_ocean.CrossSectionsPeakMem.track_peakmem_const_lat('120km', 1)
+ 338M 403M 1.19 mpas_ocean.CrossSectionsPeakMem.track_peakmem_const_lat('120km', 2)
+ 338M 403M 1.19 mpas_ocean.CrossSectionsPeakMem.track_peakmem_const_lat('120km', 4)
+ 322M 403M 1.25 mpas_ocean.CrossSectionsPeakMem.track_peakmem_const_lat('480km', 1)
+ 322M 403M 1.25 mpas_ocean.CrossSectionsPeakMem.track_peakmem_const_lat('480km', 2)
+ 324M 403M 1.25 mpas_ocean.CrossSectionsPeakMem.track_peakmem_const_lat('480km', 4)
+ 335M 403M 1.2 mpas_ocean.GradientColdStartRss.track_peakmem_gradient('120km')
+ 314M 403M 1.28 mpas_ocean.GradientColdStartRss.track_peakmem_gradient('480km')
+ 339M 403M 1.19 mpas_ocean.ZonalAveragePeakMem.track_peakmem_zonal_average('120km')
+ 322M 403M 1.25 mpas_ocean.ZonalAveragePeakMem.track_peakmem_zonal_average('480km')

@Sevans711
Sevans711 marked this pull request as ready for review October 27, 2026 00:02
@Sevans711

Copy link
Copy Markdown
Collaborator Author

(I'm still seeing the Python 3.11 jobs on my end as "Expected — Waiting for status to be reported", even though they shouldn't actually exist anymore on this branch at all… if anyone knows how to remove them from here, please go for it!)
Screenshot 2026-10-26 at 8 03 10 PM

@dylannelson dylannelson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A grand finale to all these conflicts! Thanks for getting all this done! Everything builds well and seems to be working! The only comment (not blocking, outside of this issue) would be that I think the conda-forge feedstock would need some updating for the new python version and removing the maximums. Here's the 3 lines I think need to be changed for the packages:

@cmdupuis3
cmdupuis3 merged commit 14793cb into main Oct 27, 2026
28 checks passed
@Sevans711

Copy link
Copy Markdown
Collaborator Author

Thank you for the reviews!

cc: @rajeeja, to maybe take a quick look into Dylan's conda-forge feedstock comment above, if you get a chance!

@Sevans711
Sevans711 deleted the sevans/new-geoviews-new-version-pins branch October 27, 2026 19:28
@rajeeja

rajeeja commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

A grand finale to all these conflicts! Thanks for getting all this done! Everything builds well and seems to be working! The only comment (not blocking, outside of this issue) would be that I think the conda-forge feedstock would need some updating for the new python version and removing the maximums. Here's the 3 lines I think need to be changed for the packages:

Looks good, thanks for handling this.

@VeckoTheGecko

Copy link
Copy Markdown

Could we get a minor release for this (+updated metadata on the feedstock)? We're looking to expand out testing to Python 3.15 downstream for Parcels, and the mpl <3.11 pin was getting in the way

@Sevans711

Copy link
Copy Markdown
Collaborator Author

Could we get a minor release for this (+updated metadata on the feedstock)? We're looking to expand out testing to Python 3.15 downstream for Parcels, and the mpl <3.11 pin was getting in the way

@VeckoTheGecko Thank you for brining this up, will hopefully look into this soon, and will report back here once the next release is out!

@Sevans711

Copy link
Copy Markdown
Collaborator Author

@VeckoTheGecko just sending a quick update, the next release (uxarray v2026.10.1, which includes these changes) is now available!

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

Labels

dependencies Related to dependency files, such as pyproject.toml or environment.yml run-benchmark Run ASV benchmark workflow

Projects

None yet

5 participants