Repository navigation
fix(amber): declare setuptools in LICENSE-binary-python - #9829
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the setuptools license-manifest update.
No open issues 🎉
What changed in this PR
Updates Amber’s Python license manifest to address the pyamber CI failure caused by pip-licenses now reporting setuptools.
Changes:
- Adds
setuptools==84.2.1to the MIT-licensed package list.
| File | Description |
|---|---|
amber/LICENSE-binary-python |
Declares the bundled setuptools dependency under MIT. |
Review effort: Balanced
Backport auto-label reportThis Blocked by a red Backport Approvals check? That required check stays red until every
|
Automated Reviewer SuggestionsBased on the
|
|
Ugh. Hopefully #9799 will solve this long-term. |
|
Yes, this is a real problem, but not a new one. setuptools vendors autocommand 2.2.2 (LGPL-3.0), and our computing-unit images have shipped setuptools all along (the Dockerfiles upgrade it, and torch requires it), so the 1.2 and 1.3.0 images have it too. pip-licenses 6.0.0 stopped hiding setuptools, so this PR just surfaced a hidden problem. What do you think is the best way to fix it? |
What changes were proposed in this PR?
Declares
setuptoolsinamber/LICENSE-binary-python, in the MIT section.build / pyamber (ubuntu-latest, 3.12)has failed its license check onmainsince 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+cpufromamber/operator-requirements.txtinstallssetuptools>=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 pythonon a CSV of the packages this file declares plussetuptools==84.2.1. It fails onmainwith "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?
Generated-by: Claude Code (claude-opus-5-5)