From 9cabeec3d73fad48c76a644c4d9bbf02b7d91a99 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 18:06:41 +0000 Subject: [PATCH 01/14] Bump gitmodules/netcdf-c from `7cb42a6` to `4c297e0` Bumps [gitmodules/netcdf-c](https://github.com/Unidata/netcdf-c) from `7cb42a6` to `4c297e0`. - [Release notes](https://github.com/Unidata/netcdf-c/releases) - [Commits](https://github.com/Unidata/netcdf-c/compare/7cb42a673903e9fd80008f9cff0cb0ca8c6f08ed...4c297e0c7c4aaff75a31c528206e985f6695ee5d) --- updated-dependencies: - dependency-name: gitmodules/netcdf-c dependency-version: 4c297e0c7c4aaff75a31c528206e985f6695ee5d dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- gitmodules/netcdf-c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitmodules/netcdf-c b/gitmodules/netcdf-c index 7cb42a67..4c297e0c 160000 --- a/gitmodules/netcdf-c +++ b/gitmodules/netcdf-c @@ -1 +1 @@ -Subproject commit 7cb42a673903e9fd80008f9cff0cb0ca8c6f08ed +Subproject commit 4c297e0c7c4aaff75a31c528206e985f6695ee5d From aa23d824e640d7d5f9b9a19a3b1416ce7f09e7e9 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Tue, 16 Jun 2026 23:54:21 +0200 Subject: [PATCH 02/14] Remove ncindex.c from the list of source files --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 49ee77f3..f137e6ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -177,7 +177,6 @@ include = [ "gitmodules/netcdf-c/libsrc/memio.c", "gitmodules/netcdf-c/libsrc/posixio.c", "gitmodules/netcdf-c/libsrc4/nc4internal.c", - "gitmodules/netcdf-c/libsrc4/ncindex.c", "gitmodules/netcdf-c/libsrc4/nc4cache.c", "gitmodules/netcdf-c/libsrc4/nc4dispatch.c", "gitmodules/netcdf-c/libsrc4/nc4type.c", From 20b88645d228ef5a0752df0c9e64a2bdf58498bf Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Tue, 16 Jun 2026 23:55:13 +0200 Subject: [PATCH 03/14] remove ncindex.h from CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d6282368..7a74b381 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,7 +165,7 @@ add_prefix(gitmodules/netcdf-c/liblib/ netcdf_c_lib_SOURCES) set(netcdf_c_src_SOURCES nc3dispatch.c nc3internal.c dim.c var.c ncio.c v1hpg.c memio.c posixio.c) add_prefix(gitmodules/netcdf-c/libsrc/ netcdf_c_src_SOURCES) -set(netcdf_c_src4_SOURCES nc4internal.c ncindex.c nc4cache.c nc4dispatch.c nc4type.c nc4grp.c nc4var.c +set(netcdf_c_src4_SOURCES nc4internal.c nc4cache.c nc4dispatch.c nc4type.c nc4grp.c nc4var.c ncfunc.c nc4dim.c nc4filters.c nc4attr.c ) add_prefix(gitmodules/netcdf-c/libsrc4/ netcdf_c_src4_SOURCES) From 5d17b15324e94a203dc3cac43f6129e6d9818c44 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Wed, 17 Jun 2026 11:29:12 +0200 Subject: [PATCH 04/14] Update string checks to be case insensitive --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a74b381..a848d90d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -378,13 +378,13 @@ endforeach() file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/netcdf) string(CONCAT cmd "import sys; print(''.join([line for line in sys.stdin" - " if ('VERSION' in line and line.strip().startswith('SET'))" + " if ('VERSION' in line and line.strip().upper().startswith('SET'))" " or 'CHUNK_' in line" " or '_CHUNKS_' in line" " or '_CACHE_SIZE' in line" - " or line.strip().startswith('CHECK_INCLUDE_FILE')" - " or line.strip().startswith('CHECK_TYPE_SIZE')" - " or line.strip().startswith('CHECK_FUNCTION_EXISTS')" + " or line.strip().upper().startswith('CHECK_INCLUDE_FILE')" + " or line.strip().upper().startswith('CHECK_TYPE_SIZE')" + " or line.strip().upper().startswith('CHECK_FUNCTION_EXISTS')" " or 'IF(SIZEOF_' in line" " or '_T TRUE)' in line" "]))" From c0f80eb6c292467d6fcba172e9c2e08af70c31da Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Wed, 17 Jun 2026 13:31:24 +0200 Subject: [PATCH 05/14] Add ncglobal.h to the list of included files --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index f137e6ef..614e3433 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -117,6 +117,7 @@ include = [ "gitmodules/netcdf-c/include/hdf5internal.h", "gitmodules/netcdf-c/include/hdf5dispatch.h", "gitmodules/netcdf-c/include/ncdimscale.h", + "gitmodules/netcdf-c/include/ncglobal.h", "gitmodules/netcdf-c/libdispatch/utf8proc_data.c", "gitmodules/netcdf-c/libdispatch/utf8proc.h", "gitmodules/netcdf-c/libdispatch/dvar.c", From c65314d65d9dd1d29ff0d9a64d31daffe361364d Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Wed, 17 Jun 2026 13:47:43 +0200 Subject: [PATCH 06/14] Add ncindex.c to netcdf_c_dispatch_SOURCES --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a848d90d..e9adaf82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -149,7 +149,7 @@ set(netcdf_c_dispatch_SOURCES dvar.c ddim.c dvarput.c dvarget.c ddispatch.c dcom dvlen.c nc.c dfile.c dnotnc4.c dstring.c nclist.c nchashmap.c dinstance_intern.c dtype.c dgroup.c nclistmgr.c dattget.c dattinq.c dvarinq.c dfilter.c derror.c doffsets.c datt.c dattput.c dcopy.c drc.c dpathmgr.c dmissing.c nclog.c dutf8.c utf8proc.c ncbytes.c dopaque.c ncuri.c dcrc64.c dinstance.c - ds3util.c dutil.c dauth.c dinfermodel.c + ds3util.c dutil.c dauth.c dinfermodel.c ncindex.c ) add_prefix(gitmodules/netcdf-c/libdispatch/ netcdf_c_dispatch_SOURCES) From 2b93e8633fe198206d2ade37b0ee2661b8f6f839 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Wed, 17 Jun 2026 13:55:45 +0200 Subject: [PATCH 07/14] Add dudfplugins.c to netcdf_c_dispatch_SOURCES --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9adaf82..6dbbab16 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -149,7 +149,7 @@ set(netcdf_c_dispatch_SOURCES dvar.c ddim.c dvarput.c dvarget.c ddispatch.c dcom dvlen.c nc.c dfile.c dnotnc4.c dstring.c nclist.c nchashmap.c dinstance_intern.c dtype.c dgroup.c nclistmgr.c dattget.c dattinq.c dvarinq.c dfilter.c derror.c doffsets.c datt.c dattput.c dcopy.c drc.c dpathmgr.c dmissing.c nclog.c dutf8.c utf8proc.c ncbytes.c dopaque.c ncuri.c dcrc64.c dinstance.c - ds3util.c dutil.c dauth.c dinfermodel.c ncindex.c + ds3util.c dutil.c dauth.c dinfermodel.c ncindex.c dudfplugins.c ) add_prefix(gitmodules/netcdf-c/libdispatch/ netcdf_c_dispatch_SOURCES) From 52730bc96af5d9bfe2e40c8a785e9f54f1b863a2 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Wed, 17 Jun 2026 14:45:12 +0200 Subject: [PATCH 08/14] Add dglobal.c to netcdf_c_dispatch_SOURCES --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6dbbab16..324e96c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -149,7 +149,7 @@ set(netcdf_c_dispatch_SOURCES dvar.c ddim.c dvarput.c dvarget.c ddispatch.c dcom dvlen.c nc.c dfile.c dnotnc4.c dstring.c nclist.c nchashmap.c dinstance_intern.c dtype.c dgroup.c nclistmgr.c dattget.c dattinq.c dvarinq.c dfilter.c derror.c doffsets.c datt.c dattput.c dcopy.c drc.c dpathmgr.c dmissing.c nclog.c dutf8.c utf8proc.c ncbytes.c dopaque.c ncuri.c dcrc64.c dinstance.c - ds3util.c dutil.c dauth.c dinfermodel.c ncindex.c dudfplugins.c + ds3util.c dutil.c dauth.c dinfermodel.c ncindex.c dudfplugins.c dglobal.c ) add_prefix(gitmodules/netcdf-c/libdispatch/ netcdf_c_dispatch_SOURCES) From aacc79bc47c842ee322de5c2a36c8953e6bed901 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Wed, 17 Jun 2026 14:57:14 +0200 Subject: [PATCH 09/14] Add dplugins.c to netcdf_c_dispatch_SOURCES --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 324e96c1..8cc731cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -149,7 +149,7 @@ set(netcdf_c_dispatch_SOURCES dvar.c ddim.c dvarput.c dvarget.c ddispatch.c dcom dvlen.c nc.c dfile.c dnotnc4.c dstring.c nclist.c nchashmap.c dinstance_intern.c dtype.c dgroup.c nclistmgr.c dattget.c dattinq.c dvarinq.c dfilter.c derror.c doffsets.c datt.c dattput.c dcopy.c drc.c dpathmgr.c dmissing.c nclog.c dutf8.c utf8proc.c ncbytes.c dopaque.c ncuri.c dcrc64.c dinstance.c - ds3util.c dutil.c dauth.c dinfermodel.c ncindex.c dudfplugins.c dglobal.c + ds3util.c dutil.c dauth.c dinfermodel.c ncindex.c dudfplugins.c dglobal.c dplugins.c ) add_prefix(gitmodules/netcdf-c/libdispatch/ netcdf_c_dispatch_SOURCES) From 2efb75575c940a4e2adf6db0cb9ba1207a2e51ed Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Wed, 17 Jun 2026 15:11:22 +0200 Subject: [PATCH 10/14] Add PLUGIN_SEARCH_PATH check to CMakeLists.txt --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8cc731cc..1a756dd9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -387,6 +387,7 @@ string(CONCAT cmd " or line.strip().upper().startswith('CHECK_FUNCTION_EXISTS')" " or 'IF(SIZEOF_' in line" " or '_T TRUE)' in line" + " or 'PLUGIN_SEARCH_PATH' in line" "]))" ) include(CheckFunctionExists) From e70b7990df8e975b3cd20da6af2cde1b828c470f Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Wed, 17 Jun 2026 17:38:33 +0200 Subject: [PATCH 11/14] add missing files to manifest --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 614e3433..1ddddaac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -163,6 +163,10 @@ include = [ "gitmodules/netcdf-c/libdispatch/dutil.c", "gitmodules/netcdf-c/libdispatch/dauth.c", "gitmodules/netcdf-c/libdispatch/dinfermodel.c", + "gitmodules/netcdf-c/libdispatch/ncindex.c", + "gitmodules/netcdf-c/libdispatch/dudfplugins.c", + "gitmodules/netcdf-c/libdispatch/dglobal.c", + "gitmodules/netcdf-c/libdispatch/dplugins.c", "gitmodules/netcdf-c/liblib/nc_initialize.c", "gitmodules/netcdf-c/libsrc/ncx.h", "gitmodules/netcdf-c/libsrc/ncio.h", From 66bb22a5ae20a812af0f9b2f92e29ce9e0279ec1 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Thu, 18 Jun 2026 09:46:33 +0200 Subject: [PATCH 12/14] Add ncutil.h to the list of included files --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 1ddddaac..4a47ea27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -118,6 +118,7 @@ include = [ "gitmodules/netcdf-c/include/hdf5dispatch.h", "gitmodules/netcdf-c/include/ncdimscale.h", "gitmodules/netcdf-c/include/ncglobal.h", + "gitmodules/netcdf-c/include/ncutil.h", "gitmodules/netcdf-c/libdispatch/utf8proc_data.c", "gitmodules/netcdf-c/libdispatch/utf8proc.h", "gitmodules/netcdf-c/libdispatch/dvar.c", From 07b66e96801f04200b9749692c6bbd48571153b1 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Thu, 18 Jun 2026 10:22:38 +0200 Subject: [PATCH 13/14] Add ncudfplugins.h to pyproject.toml --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 4a47ea27..c9bd81ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,6 +119,7 @@ include = [ "gitmodules/netcdf-c/include/ncdimscale.h", "gitmodules/netcdf-c/include/ncglobal.h", "gitmodules/netcdf-c/include/ncutil.h", + "gitmodules/netcdf-c/include/ncudfplugins.h", "gitmodules/netcdf-c/libdispatch/utf8proc_data.c", "gitmodules/netcdf-c/libdispatch/utf8proc.h", "gitmodules/netcdf-c/libdispatch/dvar.c", From e43de2011381665b63f674e7f5355d79aa0122b5 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Thu, 18 Jun 2026 10:30:20 +0200 Subject: [PATCH 14/14] Add ncplugins.h to the include list --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index c9bd81ae..a9a256ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -120,6 +120,7 @@ include = [ "gitmodules/netcdf-c/include/ncglobal.h", "gitmodules/netcdf-c/include/ncutil.h", "gitmodules/netcdf-c/include/ncudfplugins.h", + "gitmodules/netcdf-c/include/ncplugins.h", "gitmodules/netcdf-c/libdispatch/utf8proc_data.c", "gitmodules/netcdf-c/libdispatch/utf8proc.h", "gitmodules/netcdf-c/libdispatch/dvar.c",