Skip to content

ci: require the licence texts of every bundled library - #38

Merged
transfix merged 1 commit into
masterfrom
ci/require-licences
Nov 11, 2026
Merged

transfix merged 1 commit into
masterfrom
ci/require-licences

Conversation

@transfix

Copy link
Copy Markdown
Owner

Makes the licence check from #37 a gate: all six bundle-licences.py calls in ci.yml and release.yml now pass --require. A package job fails if it bundles a library whose cvcpkg package carries no licence texts, or that no installed manifest lists.

Why now

#37 shipped report-only, because the bundles of F2Dock's dependency closure carried no licence texts. That is fixed at the source:

Checked before pushing

A dry run of bundle-licences.py --require against fresh install-deps prefixes had two gaps. On macOS, the only error was the old test .app's libcvc 3.7.11, which a fresh build does not bundle. On Windows, the only error was yaml, which has since been republished (#596). This PR's CI is the real run.

Still open, not here

The libcvc binary bundles GPL-3.0 CGAL spatial-search code (Kd_tree); see #37. Shipping its licence text now is not the same as resolving that.

#37 shipped each package's licences/ and README report-only, because the
cvcpkg bundles of F2Dock's closure carried no licence texts. They do now:
cvcpkg 2.5.13 (cy-pca/cvcpkg#576) collects them into share/licenses/<name>/,
and the closure was republished at new revisions (cy-pca/cvcpkg#582) for
linux-x86_64, macos-arm64 and windows-x86_64, release / shared. Every
republished bundle was downloaded and checked: linux 47/47, macOS 46/46,
windows 48/48. libcvc 3.7.12+cvc.2 carries share/licenses/libcvc/LICENSE
on all three.

All six bundle-licences.py calls, in ci.yml and release.yml, now pass
--require: a bundled library whose package has no licence texts, or that
no installed manifest lists, fails the package job.
@transfix
transfix merged commit bfd4a19 into master Nov 11, 2026
26 of 30 checks passed
transfix added a commit to transfix/libcvc that referenced this pull request Nov 11, 2026
libcvc 3.7.13's bundles were packed with cvcpkg 2.5.12, the cvcpkg-cli
action's pin, so none carries share/licenses/libcvc/ (linux-x86_64,
macos-arm64 and windows-x86_64 release/shared, checked by download; only
share/doc/libcvc/LICENSE). cvcpkg collects each package's upstream licence
texts there from 2.5.13 on (cy-pca/cvcpkg#576), and F2Dock's packages now
fail on a bundled library without them (transfix/F2Dock#38).

The registry has cvcpkg 2.5.13+cvc.1 for every platform these jobs run on:
linux x86_64/arm64, macOS arm64/x86_64, windows and freebsd x86_64.
ci-recipe.yml's own install moves with it, so every job runs one cvcpkg.
transfix added a commit to transfix/libcvc that referenced this pull request Nov 13, 2026
libcvc's publish workflow packs and publishes with the cvcpkg-cli action's
pin, 2.5.13. Its `cvcpkg publish` sends a bundle's `provides` but not its
`requires_capabilities`, so libcvc-cuda, pycvc-cp311-cuda and
pycvc-gl-cp311-cuda reach cvcpkg.org with `[]` there instead of `[cuda]`.
A host without CUDA then resolves a dependency on libcvc to libcvc-cuda
whenever it has the higher version, which broke transfix/F2Dock#38's Linux
CI on 2026-11-10.

cvcpkg 2.5.14 (cy-pca/cvcpkg#603, deployed 2026-11-12) sends the field. The
69 rows already published were backfilled on 2026-11-13; without this bump,
every new libcvc-cuda / pycvc-*-cuda version would need the backfill again.

The registry has cvcpkg 2.5.14+cvc.1 for every platform these jobs run on:
linux x86_64/arm64, macOS arm64/x86_64, windows and freebsd x86_64.
ci-recipe.yml's own install moves with it, so every job runs one cvcpkg.
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