From 3fde0346fa0ef9c432b0277ee25673dc8d016de4 Mon Sep 17 00:00:00 2001 From: Tim Saucer Date: Thu, 19 Feb 2026 06:35:10 -0500 Subject: [PATCH 1/2] Bump python version to correct error in rat checking --- .github/workflows/dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 434fd9b57..2c8ecbc5e 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -29,6 +29,6 @@ jobs: - name: Setup Python uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: "3.14" - name: Audit licenses run: ./dev/release/run-rat.sh . From 5039ea9a74e61ee51e474dee2ece3a81db8b115b Mon Sep 17 00:00:00 2001 From: Tim Saucer Date: Thu, 19 Feb 2026 07:03:11 -0500 Subject: [PATCH 2/2] Add missing license files --- examples/datafusion-ffi-example/src/utils.rs | 17 +++++++++++++++++ python/tests/test_udtf.py | 17 +++++++++++++++++ src/options.rs | 17 +++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/examples/datafusion-ffi-example/src/utils.rs b/examples/datafusion-ffi-example/src/utils.rs index d06dc2d6c..a01d3fe27 100644 --- a/examples/datafusion-ffi-example/src/utils.rs +++ b/examples/datafusion-ffi-example/src/utils.rs @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + use datafusion_ffi::proto::logical_extension_codec::FFI_LogicalExtensionCodec; use pyo3::exceptions::PyValueError; use pyo3::prelude::{PyAnyMethods, PyCapsuleMethods}; diff --git a/python/tests/test_udtf.py b/python/tests/test_udtf.py index dba46e61a..925a8ba01 100644 --- a/python/tests/test_udtf.py +++ b/python/tests/test_udtf.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pyarrow as pa import pyarrow.dataset as ds from datafusion import Expr, SessionContext, Table, udtf diff --git a/src/options.rs b/src/options.rs index 46d22b3d3..6b6037695 100644 --- a/src/options.rs +++ b/src/options.rs @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + use arrow::datatypes::{DataType, Schema}; use arrow::pyarrow::PyArrowType; use datafusion::prelude::CsvReadOptions;