Skip to content

casadi: Add version 3.8.1 - #1956

Merged
luhenry merged 5 commits into
mainfrom
github-actions/nightly-upgrade/casadi
Sep 21, 2026
Merged

luhenry merged 5 commits into
mainfrom
github-actions/nightly-upgrade/casadi

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automatically generated by the nightly check_versions.py run.

casadi v3.8.0 -> v3.8.1

Every - version: entry added to docs/packages/casadi.yaml is built by this PR's own build-casadi.yml run; merging publishes the wheels.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@luhenry luhenry closed this Sep 17, 2026
@luhenry luhenry reopened this Sep 17, 2026
@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-21 11:45 UTC

3.8.1's casadi.i uses %stubcode directly at four unguarded sites, which
the image's stock SWIG cannot parse ('Unknown directive'), so binding
generation failed before any compilation. Guard them as upstream's own
compat shim documents, and wire the patch step this package did not have
yet.
@luhenry
luhenry force-pushed the github-actions/nightly-upgrade/casadi branch from 11acc59 to d8230e2 Compare September 18, 2026 05:46
3.8.1's tools.Toolstests.test_callable_powerindex and test_structure both
index a struct with ca.vertcat, which routes through
tools/structure.py's applyCallableIndex(): it calls vertcat(r) and only
retries as vertcat(*r) on a caught NotImplementedError. CasADi's own
ci-swig fork raises NotImplementedError there on an overload-match
failure; the stock SWIG this manylinux image ships raises a plain
TypeError instead, which isn't caught, so the call fails with "Wrong
number or type of arguments for overloaded function '_vertcat'". Same
overload-dispatch-fallback class as gotcha 307's existing deselections,
not a riscv64 codegen bug.
@luhenry
luhenry force-pushed the github-actions/nightly-upgrade/casadi branch from f02d4e5 to 93fbfd3 Compare September 19, 2026 18:29
The build ran for the full 12h timeout-minutes and was still passing
tests (last seen: function.Functiontests.test_segfault) when GitHub
cancelled it - not a hang or crash, just a contended riscv64 runner
running the suite slower than the timeout allows. 24h matches the
precedent already used for other slow builds (e.g. pylance).
@luhenry
luhenry marked this pull request as ready for review September 21, 2026 11:36
@luhenry
luhenry merged commit 471cd76 into main Sep 21, 2026
9 checks passed
@luhenry
luhenry deleted the github-actions/nightly-upgrade/casadi branch September 21, 2026 11:37
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