Repository navigation
ci: require the licence texts of every bundled library - #38
Merged
Merged
Conversation
#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.
This was referenced Nov 10, 2026
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.
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.
Makes the licence check from #37 a gate: all six
bundle-licences.pycalls inci.ymlandrelease.ymlnow 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:
cvcpkg 2.5.13 (feat(builder): ship every bundle's upstream licence texts in share/licenses/<name>/ cy-pca/cvcpkg#576, on prod) collects each bundle's upstream licence texts into
share/licenses/<name>/. That covers builds, andpack --from-prefixfor vendored recipes.The 50-recipe closure was republished at new revisions (recipes: bump F2Dock's closure (50) so its bundles ship their licence texts cy-pca/cvcpkg#582) for F2Dock's three tuples, release / shared. Recipe fixes the strict pack gate exposed on the way: recipes(clapack): drop the bin/ globs that match nothing (cvc.6 unchanged) cy-pca/cvcpkg#593 (clapack) and #596 (libiimod, yaml on MSVC).
Every republished bundle was downloaded and checked:
share/licenses/<name>/libcvc 3.7.12+cvc.2, republished from its
v3.7.12tag, carriesshare/licenses/libcvc/LICENSEon all three tuples.Checked before pushing
A dry run of
bundle-licences.py --requireagainst freshinstall-depsprefixes 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.