From 2a3c754d30404d1699280f59276a18d414e86bd5 Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Mon, 6 Jan 2025 17:29:08 -0500 Subject: [PATCH] Suppress warnings --- pandas/_libs/arrow_string_accumulations.cc | 2 +- pandas/_libs/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/_libs/arrow_string_accumulations.cc b/pandas/_libs/arrow_string_accumulations.cc index 035c194ea993e..e62118c9982ce 100644 --- a/pandas/_libs/arrow_string_accumulations.cc +++ b/pandas/_libs/arrow_string_accumulations.cc @@ -143,7 +143,7 @@ class ArrowStringAccumulation { ArrowArrayStreamMove(stream, stream_.get()); } - std::pair Accumulate(nb::object requested_schema) { + std::pair Accumulate(nb::object) { struct ArrowSchemaView schema_view{}; NANOARROW_THROW_NOT_OK( ArrowSchemaViewInit(&schema_view, schema_.get(), nullptr)); diff --git a/pandas/_libs/meson.build b/pandas/_libs/meson.build index b6ecbe2fba97f..ffb613ed4cc3f 100644 --- a/pandas/_libs/meson.build +++ b/pandas/_libs/meson.build @@ -122,7 +122,7 @@ foreach ext_name, ext_dict : libs_sources ) endforeach -nanobind_dep = dependency('nanobind') +nanobind_dep = dependency('nanobind', include_type: 'system') nanoarrow_dep = dependency('nanoarrow') py.extension_module( 'arrow_string_accumulations',