Skip to content

Minimal fixes to CI#202

Open
dennislwei wants to merge 4 commits into
masterfrom
fix/ci-minimal
Open

Minimal fixes to CI#202
dennislwei wants to merge 4 commits into
masterfrom
fix/ci-minimal

Conversation

@dennislwei
Copy link
Copy Markdown
Collaborator

@dennislwei dennislwei commented May 22, 2026

Summary

Infrastructure and dependency fixes to get CI passing again.

Fixed

  • Replace retired ubuntu-20.04 runners with ubuntu-latest across all CI jobs
  • Upgrade actions/checkout from v3 to v4 and actions/setup-python from v4 to v5 (Node.js 20 deprecation)
  • Add ecos as explicit dependency for the rbm extra (cvxpy 1.4+ no longer bundles it)
  • Set CFLAGS/LDFLAGS for pygraphviz build on macOS (Homebrew headers not in default search path on arm64)
  • Pin numpy<2.0.0 for rule_induction, tsice, tssaliency, and tslime extras (binary incompatibility with pandas<2.0.0)

Remaining failures (not addressed in this PR)

  • build-cem-on-py36 — Python 3.6 is EOL and unavailable on current runners. Job needs to be removed or upgraded.
  • build-protodashxport package uses pkg_resources.DistributionNotFound which was removed from newer setuptools. Needs xport upgrade or replacement.
  • build-nncontrastive — Pins tensorflow==2.9.3 which is unavailable on current platforms/Python versions. Needs version bump (2.13+ available for Py 3.10).
  • build-cofrnet (Windows only) — PyTorch DLL initialization failure (c10.dll). Passes on Ubuntu and macOS.

🤖 Generated with Claude Code

dennislwei and others added 4 commits May 22, 2026 12:30
Replace retired ubuntu-20.04 with ubuntu-latest, upgrade
actions/checkout from v3 to v4, and actions/setup-python from v4 to v5
to resolve runner timeouts and Node.js 20 deprecation warnings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Dennis Wei <dwei@us.ibm.com>
cvxpy 1.4+ no longer bundles the ECOS solver, causing the rbm tests
to fail with "The solver ECOS is not installed."

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Dennis Wei <dwei@us.ibm.com>
On arm64 macOS runners, Homebrew installs to /opt/homebrew which is
not in the default compiler search path. Export CFLAGS/LDFLAGS so
pygraphviz can find the graphviz headers and libraries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Dennis Wei <dwei@us.ibm.com>
rule_induction, tsice, tssaliency, and tslime pin pandas<2.0.0 but
left numpy unconstrained. pip installs numpy 2.x which is binary-
incompatible with pandas 1.x, causing "numpy.dtype size changed"
errors at import time.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Dennis Wei <dwei@us.ibm.com>
@dennislwei
Copy link
Copy Markdown
Collaborator Author

@sadhamanus For some reason I can't assign you to this PR, so tagging you instead.

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.

2 participants