Skip to content

CI: install cvcpkg 2.5.15 from cy-pca/cvcpkg, not the archived libcvc-deps (2.2.1) - #197

Merged
transfix merged 1 commit into
mainfrom
ci/cvcpkg-from-cy-pca
Nov 20, 2026
Merged

transfix merged 1 commit into
mainfrom
ci/cvcpkg-from-cy-pca

Conversation

@transfix

Copy link
Copy Markdown
Contributor

Why

ci.yml and publish-cvcpkg.yml install the dependency closure with transfix/libcvc-deps/.github/actions/cvcpkg-install@master. That action pip-installs the libcvc-deps tree it checks out, which is cvcpkg 2.2.1: libcvc-deps was archived on 2026-09-16, and cvcpkg moved to cy-pca/cvcpkg.

While libcvc 4.0.1 was half-published on 2026-11-19, this CI picked up packages from two releases (#193, run 44612219787 attempt 1):

  • cp311 got pycvc 4.0.0 beside libcvc 4.0.1 and segfaulted.
  • cp313 got pycvc-gl 4.0.1 beside cvcgl 4.0.0 and failed with an undefined symbol.

The publishing side is fixed. transfix/libcvc#1377 pins each binding's libcvc, cvcgl and pycvc to its own release, and the 1,116 libcvc rows already on cvcpkg.org were backfilled with the same pins on 2026-11-19.

The consuming side needs a newer resolver. 2.2.1 checks a candidate only against the pins of packages it has already picked; it never checks the candidate's own pins against them. I ran a resolver simulation on the live catalog with a synthetic, half-published 4.0.2:

resolver 12 half-published states (linux/x86_64)
2.2.1 (libcvc-deps) 2 still mix releases, e.g. libcvc 4.0.2 + pycvc-cp311 4.0.2 + pycvc-gl-cp311 4.0.1 + cvcgl 4.0.1
2.5.15 (cy-pca/cvcpkg) all 12 resolve to one release (the last complete one)

cvcpkg 2.5.1 added the check in the other direction (cy-pca/cvcpkg#251).

Change

  • Both workflows now use cy-pca/cvcpkg's copy of the same action, at cvcpkg-v2.5.15.
  • They also pass repository: cy-pca/cvcpkg and libcvc_deps_ref: cvcpkg-v2.5.15, so the action pip-installs cvcpkg 2.5.15.
  • The checkout still lands in _libcvc-deps, so ruff's --exclude stands.

publish-cvcpkg.yml's separate cvcpkg[publish] installs, and publish-weights-cvc.yml, still use libcvc-deps' 2.2.1. They only push and publish; they resolve nothing for tests. I left them alone, since a publish can't be tried from a PR.

Testing

  • Install step, locally. A sparse checkout of cy-pca/cvcpkg at cvcpkg-v2.5.15, with the action's paths, pip-installs as cvcpkg, version 2.5.15.
  • Flags. Its install-deps takes every flag the action passes: --prefix, --platform, --arch, --config and --link.
  • Both workflows still parse as YAML.
  • End to end: this PR's own test (cp311/312/313) jobs install the closure with it.

…-deps (2.2.1)

ci.yml and publish-cvcpkg.yml installed the dependency closure with
transfix/libcvc-deps' cvcpkg-install action, which pip-installs the
libcvc-deps tree it checks out: cvcpkg 2.2.1, frozen since the repo was
archived on 2026-09-16.

While libcvc 4.0.1 was half-published, CI here got pycvc 4.0.0 beside
libcvc 4.0.1 and pycvc-gl 4.0.1 beside cvcgl 4.0.0 (#193). The published
libcvc rows now pin their own release (transfix/libcvc#1377 plus a
backfill of the 1,116 rows already on cvcpkg.org). But 2.2.1's resolver
checks a candidate only against the pins of packages already picked, so a
resolver simulation on the live catalog still mixes releases in two
half-published states. cvcpkg 2.5.1 and later check both ways
(cy-pca/cvcpkg#251) and resolve all twelve to one release.

Both now use cy-pca/cvcpkg's copy of the same action at cvcpkg-v2.5.15,
told to check out and pip-install cy-pca/cvcpkg at that tag. The
checkout still lands in _libcvc-deps, so ruff's --exclude stands.
publish-cvcpkg.yml's separate 'cvcpkg[publish]' installs are unchanged.
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