Skip to content

fix(licensing, v1.2): take the Iris example dataset from scikit-learn instead of UCI - #9009

Merged
xuang7 merged 3 commits into
release/v1.2from
backport/9000-take-the-iris-example-dataset-from-sciki-v1.2
Nov 4, 2026
Merged

xuang7 merged 3 commits into
release/v1.2from
backport/9000-take-the-iris-example-dataset-from-sciki-v1.2

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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.

…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)
@github-actions

Copy link
Copy Markdown
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:

  • .github/workflows/create-release-candidate.yml
  • LICENSE
  • bin/single-node/LICENSE

…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
mengw15 marked this pull request as ready for review October 27, 2026 22:58
@github-actions github-actions Bot added ci changes related to CI docs Changes related to documentations infra labels Oct 27, 2026
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @bobbai00
    You can notify them by mentioning @bobbai00 in a comment.

@codecov-commenter

codecov-commenter commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.46%. Comparing base (4fe7784) to head (968d671).
✅ All tests successful. No failed tests found.

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     
Flag Coverage Δ *Carryforward flag
access-control-service 64.35% <ø> (ø)
agent-service 38.97% <ø> (ø)
amber 53.44% <ø> (+<0.01%) ⬆️
computing-unit-managing-service 1.65% <ø> (ø)
config-service 56.06% <ø> (ø)
file-service 61.72% <ø> (ø)
frontend 47.33% <ø> (+0.02%) ⬆️
pyamber 93.37% <ø> (ø)
python 90.93% <ø> (ø) Carriedforward from da0c87a
workflow-compiling-service 58.69% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

#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 xuang7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Matches #9000 and also updates the bundle step to ship the BSD-3 license.

@xuang7
xuang7 added this pull request to the merge queue Nov 4, 2026
Merged via the queue into release/v1.2 with commit 5bf52ec Nov 4, 2026
25 checks passed
@xuang7
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
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci changes related to CI docs Changes related to documentations infra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants