Skip to content

fix(amber, v1.3): declare setuptools in LICENSE-binary-python - #9836

Merged
mengw15 merged 2 commits into
release/v1.3from
backport/9829-declare-setuptools-in-license-binary-pyt-v1.3
Dec 2, 2026
Merged

mengw15 merged 2 commits into
release/v1.3from
backport/9829-declare-setuptools-in-license-binary-pyt-v1.3

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Automated backport of #9829 to release/v1.3.

Source: f83ee3e · automation run

Any related issues, documentation, discussions?

Backport of #9829.

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.

### What changes were proposed in this PR?

Declares `setuptools` in `amber/LICENSE-binary-python`, in the MIT
section.

`build / pyamber (ubuntu-latest, 3.12)` has failed its license check on
`main` since about 10:00 UTC on 2026-12-02. CI installs the latest
pip-licenses, and 6.0.0 no longer hides setuptools as a system package.
`torch==2.13.0+cpu` from `amber/operator-requirements.txt` installs
`setuptools>=77.0.3`, so the check now reports it as an undeclared
bundled package. It was bundled before too; pip-licenses 5.5.5 just left
it out of the report.

### Any related issues, documentation, discussions?

Same shape as #8293 (cloudpickle). It blocks every PR that runs the
pyamber job, for example #9800 in the merge queue and #9828 on
`release/v1.3`.

### How was this PR tested?

Ran `bin/licensing/check_binary_deps.py --ignore-transitive-version
python` on a CSV of the packages this file declares plus
`setuptools==84.2.1`. It fails on `main` with "NEW Python packages not
claimed by LICENSE-binary: + setuptools==84.2.1" and passes with this
change ("OK: 111 Python packages match LICENSE-binary.").

### Was this PR authored or co-authored using generative AI tooling?

(backported from commit f83ee3e)

Generated-by: Claude Code (claude-opus-5-5)
@github-actions

github-actions Bot commented Dec 2, 2026

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:

  • amber/LICENSE-binary-python

@mengw15
mengw15 marked this pull request as ready for review December 2, 2026 20:44

@mengw15 mengw15 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

@mengw15
mengw15 enabled auto-merge December 2, 2026 20:44
@github-actions

github-actions Bot commented Dec 2, 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: @mengw15
    You can notify them by mentioning @mengw15 in a comment.

@mengw15
mengw15 added this pull request to the merge queue Dec 2, 2026
Merged via the queue into release/v1.3 with commit a46f3cf Dec 2, 2026
20 checks passed
@mengw15
mengw15 deleted the backport/9829-declare-setuptools-in-license-binary-pyt-v1.3 branch December 2, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant