This is an automated email from the ASF dual-hosted git repository. github-merge-queue[bot] pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/texera.git
commit 82ab13483dff640e580850d6f534964ae2d68029 Author: Meng Wang <[email protected]> AuthorDate: Mon Oct 5 07:57:22 2026 +0000 fix(licensing): restore the MIT notice on the vendored inner.py (#8776) ### What changes were proposed in this PR? `inner.py` is vendored from https://github.com/sebkeim/inner-class (MIT, Copyright (c) 2019 sebkeim) but carried the standard ASF header and was missing from LICENSE — ASF policy forbids both (https://www.apache.org/legal/src-headers.html#3party). Mirroring the kjetland/formly pattern: - `inner.py`: ASF header → MIT notice (code untouched) - `LICENSE`: new entry in the MIT third-party section - `licenses-3rd-party-code/inner-class.txt`: upstream license text, verbatim - `.licenserc.yaml`: exempt the file from the ASF-header check ### Any related issues, documentation, discussions? Closes #8775. Surfaced by the podling release-checker on the 1.2.1-incubating RC1 review; the file is identical on main and both release branches, hence the backport labels. ### How was this PR tested? License-metadata-only change; the Check License Headers CI job verifies the .licenserc.yaml exemption. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-fable-5) --- .licenserc.yaml | 1 + LICENSE | 6 ++++++ .../main/python/core/util/customized_queue/inner.py | 18 ++---------------- licenses-3rd-party-code/sebkeim-inner-class.txt | 21 +++++++++++++++++++++ 4 files changed, 30 insertions(+), 16 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index b9db34a99c..848c8fcd44 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -61,3 +61,4 @@ header: - 'frontend/src/app/common/type/proto/org/apache/texera/amber/core/workflow.ts' - 'frontend/src/app/common/type/proto/google/protobuf/descriptor.ts' - 'frontend/src/app/common/type/proto/scalapb/scalapb.ts' + - 'amber/src/main/python/core/util/customized_queue/inner.py' diff --git a/LICENSE b/LICENSE index 75ee034fba..4fc6d614e9 100644 --- a/LICENSE +++ b/LICENSE @@ -232,6 +232,12 @@ This product bundles code derived from TypeFox monaco-languageclient: Source: https://github.com/TypeFox/monaco-languageclient License: MIT License (licenses-3rd-party-code/monaco-languageclient.txt) +This product bundles code derived from inner-class: + - amber/src/main/python/core/util/customized_queue/inner.py + Copyright (c) 2019 sebkeim + Source: https://github.com/sebkeim/inner-class + License: MIT License (licenses-3rd-party-code/sebkeim-inner-class.txt) + This product includes an icon from Google's Material Symbols: - frontend/src/app/common/icon/model-icon.ts ("hub") Copyright (c) Google LLC diff --git a/amber/src/main/python/core/util/customized_queue/inner.py b/amber/src/main/python/core/util/customized_queue/inner.py index b39762f4f8..8ee782bffa 100644 --- a/amber/src/main/python/core/util/customized_queue/inner.py +++ b/amber/src/main/python/core/util/customized_queue/inner.py @@ -1,19 +1,5 @@ -# 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. +# Copyright (c) 2019 sebkeim +# Licensed under the MIT License. """ This class is taken from https://github.com/sebkeim/inner-class at commit sha diff --git a/licenses-3rd-party-code/sebkeim-inner-class.txt b/licenses-3rd-party-code/sebkeim-inner-class.txt new file mode 100644 index 0000000000..df8ad6df83 --- /dev/null +++ b/licenses-3rd-party-code/sebkeim-inner-class.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 sebkeim + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.
