Repository navigation
fix(licensing, v1.2): take the Iris example dataset from scikit-learn instead of UCI - #9009
Merged
xuang7 merged 3 commits intoNov 4, 2026
Conversation
…ad of UCI (#9000) ### What changes were proposed in this PR? The single-node examples ship `Iris.csv` in both the source release and the docker-compose bundle, and `LICENSE` records it as CC BY 4.0 from the UCI repository (#8803). ASF policy allows CC BY works only in binary form ("only include them in binary form", https://www.apache.org/legal/resolved.html), so the file can't be in a source release under that licence. This takes the dataset from the copy scikit-learn distributes under the BSD 3-Clause License instead. The CSV keeps its columns, row order and species names, so the example workflow is unaffected. Only rows 35 and 38 change: they are the two known transcription errors in the UCI copy, which scikit-learn's copy corrects to Fisher's published values. The `LICENSE` entries (root and `bin/single-node/`) move to BSD 3-Clause, the compose bundle ships the BSD 3-Clause text instead of CC BY 4.0, the now-unused `licenses/LICENSE-CC-BY-4.0.txt` is removed, and the dataset description names the new source. This conflicts with #8997 in `LICENSE`, since both add the BSD 3-Clause section; whichever lands second merges the two entries. ### Any related issues, documentation, discussions? Follows up #8803. ### How was this PR tested? Checked that every row of the new `Iris.csv` matches scikit-learn 1.7.2's `iris.csv`. Ran the bundle's `git archive` export step against this commit to confirm it picks up the BSD 3-Clause text, and checked that the new description still makes valid JSON in `load-examples.sh`, which inserts it unescaped. ### Was this PR authored or co-authored using generative AI tooling? (backported from commit 707849a) Generated-by: Claude Code (claude-opus-5-5)
Contributor
Author
|
The cherry-pick conflicted and was committed with conflict markers. Resolve the conflicts on this branch, then mark this PR ready for review. Conflicting files:
|
…es and ship the BSD-3 text) release/v1.2 never listed the Iris dataset, so there was no CC BY entry to replace. This keeps the incoming BSD 3-Clause entries in LICENSE and bin/single-node/LICENSE, and the RC workflow change that ships licenses/LICENSE-BSD-3-Clause.txt in the Docker Compose bundle. The incoming side also carried main's Trademarks section (the Apple logo), which release/v1.2 does not ship.
mengw15
marked this pull request as ready for review
October 27, 2026 22:58
Contributor
Author
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/v1.2 #9009 +/- ##
==================================================
+ Coverage 53.45% 53.46% +0.01%
- Complexity 2564 2565 +1
==================================================
Files 1078 1078
Lines 42359 42359
Branches 4563 4563
==================================================
+ Hits 22641 22647 +6
+ Misses 18400 18390 -10
- Partials 1318 1322 +4
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
#8830 has since added the CC BY Iris entries, the CC BY 4.0 text and its copy in the RC workflow to release/v1.2, so this branch now applies #9000 as on main: the Iris entries in LICENSE and bin/single-node/LICENSE switch to scikit-learn's BSD 3-Clause copy, the bundle ships licenses/LICENSE-BSD-3-Clause.txt instead of the CC BY text, and licenses/LICENSE-CC-BY-4.0.txt is removed. As on release/v1.3 (#9011), main's Trademarks section (the Apple logo) is left out.
mengw15
added a commit
that referenced
this pull request
Oct 27, 2026
…lease/v1.2 This brings in release/v1.2, which now has the ScalaPB entry (#8868), and applies #9010 on top: scalapb.ts joins that entry, and the descriptor.ts entry goes into a new BSD 3-Clause section. The other entries the cherry-pick carried (Material Symbols, ORCID, Jupyter, Iris, Apple) belong to other changes or to files release/v1.2 does not have. #9009 also turns the Iris entry into a BSD 3-Clause one; whichever of the two merges second folds the two sections into one.
xuang7
deleted the
backport/9000-take-the-iris-example-dataset-from-sciki-v1.2
branch
November 4, 2026 04:28
xuang7
added a commit
that referenced
this pull request
Nov 9, 2026
Co-Authored-By: Claude Fable 5.1 <[email protected]>
xuang7
pushed a commit
to xuang7/texera
that referenced
this pull request
Nov 20, 2026
…SF logos in LICENSE (apache#9560) ### What changes were proposed in this PR? Backport of apache#9261 to `release/v1.2` for the 1.2.1 RC2, on top of the apache#9220 backport (apache#9512). Source: 86fbe56 What apache#9261 changes: - It replaces three operator icons from sources whose licences are incompatible with an Apache release: `SankeyDiagram.png` and `TypeCasting.png` with IBM Carbon icons, and `DumbbellPlot.png` with a project-made icon. - It adds project-made icons for `SklearnDummyClassifier` and `SklearnTrainingDummyClassifier`. Both operators exist on v1.2. - It adds an entry for the Apache Arrow and AsterixDB logos to `LICENSE`. The icons and `frontend/LICENSE-binary` apply cleanly. `LICENSE` conflicted, and I resolved it as requested on apache#9261: - Kept the section restructuring: the Apache License 2.0 section comes first, followed by the MIT section. Also kept the new ASF logos entry. - Left out the ORCID entry and its CC0 1.0 Universal section, which exist only on main. v1.2's protobuf `descriptor.proto` entry and its `Public Domain` heading stay as they are. - The Sign in with Apple and scikit-learn Iris entries exist only on main, so this PR doesn't touch them. The Iris change reached v1.2 separately via apache#9009. ### Any related issues, documentation, discussions? Backport of apache#9261. Part of apache#8984. Follows apache#9512 (backport of apache#9220). ### How was this PR tested? - I diffed the license changes against apache#9261. `frontend/LICENSE-binary` matches it exactly. In `LICENSE`, the only difference is the ORCID entry and its CC0 heading, which are left out. - Apart from moving the MIT section, every `LICENSE` entry on v1.2 is unchanged. The only new lines are the ASF logos entry and the `SankeyDiagram.png` and `TypeCasting.png` lines under Carbon. - Every icon file listed in the new entries exists on the branch. - No code changes: the PR only changes image files and license files. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Automated backport of #9000 to
release/v1.2.Source: 707849a · automation run
Any related issues, documentation, discussions?
Backport of #9000.
How was this PR tested?
Release-branch CI runs on this branch once the conflicts are resolved and this PR is marked ready for review.
Was this PR authored or co-authored using generative AI tooling?
No.