Skip to content

build: bump compat and run JET in its own CI job - #151

Merged
oameye merged 3 commits into
mainfrom
compathelper/bump-all
Jul 27, 2026
Merged

build: bump compat and run JET in its own CI job#151
oameye merged 3 commits into
mainfrom
compathelper/bump-all

Conversation

@oameye

@oameye oameye commented Jul 26, 2026

Copy link
Copy Markdown
Member

Consolidates the four open CompatHelper PRs (#96, #99, #137, #138) into one change, rebased onto current main since they were all opened against 0.4.1. #137 and #138 are the same LinearSolve bump reported twice, once for [weakdeps] and once for [extras].

The JET bump then wouldn't resolve. JET 0.10 and up require Julia 1.12, and julia-runtest forces every [compat] entry to its newest version on compathelper/* branches, so the LTS runner was being asked to install a JET it can't have. JET now runs in its own job on Julia 1, gated by GROUP the same way HarmonicBalance.jl does it, and the LTS job opts out of force_latest_compatible_version, since that mode can never work there for a dependency that has moved past 1.10.

That was also the first time JET ran on 1.12 at all. The old guard was VERSION < v"1.12.0-beta", so in practice it only ever ran on the LTS at 0.9.x, and it came back with twelve reports. The real one: LimitCycles does using QuestBase: get_all_terms, ..., which binds those names but not the module itself, so add_pairs! would have thrown an UndefVarError the moment anyone called it. The rest are bar and idx_pairs getting assigned inside a branch and then read outside it.

OrderedCollections is narrowed to 1.8 rather than bumped. Latexify 0.16 doesn't work with OrderedCollections 2, which only surfaced once force_latest started picking the newest of everything. Worth widening again when Latexify catches up.

oameye added 3 commits July 26, 2026 21:29
Collects the bumps from the four open CompatHelper PRs (#96, #99, #137,
#138) into a single change, rebased onto current main:

- JET: 0.9.18, 0.10 -> 0.9.18, 0.10, 0.11
- LinearSolve: 3.75 -> 3.75, 5
- Peaks: 0.5 -> 0.5, 0.6

PRs #137 and #138 are the same LinearSolve bump reported separately for
[weakdeps] and [extras], so they collapse into one entry.
CI enables `force_latest_compatible_version` on `compathelper/*` branches,
which pins OrderedCollections to 2.x. Latexify 0.16 does not support
OrderedCollections 2, so the test environment no longer resolves.

Restrict the bound to 1.8 so the forced-latest resolution picks 1.8.2 and
Latexify 0.16.11 stays installable.
JET 0.10 and newer require Julia 1.12, so linting cannot run on the LTS
runner. Follow the layout used in HarmonicBalance.jl: `runtests.jl` gates on
`GROUP`, the matrix jobs run `GROUP=Core`, and a dedicated `jet` job runs
`GROUP=JET` on Julia 1.

Running JET on 1.12 for the first time surfaced 12 reports, none of which
were visible before because the old `VERSION < v"1.12.0-beta"` guard meant
JET only ever ran on the LTS at 0.9.x:

- `LimitCycles` called `QuestBase.add_harmonic!` while only importing names
  from QuestBase, not the module itself. `add_pairs!` would have thrown an
  UndefVarError at runtime.
- `bar` was assigned inside `if show_progress` and then read unconditionally
  in four functions. Bind it to `nothing` instead and guard on `isnothing`.
- `idx_pairs` was assigned in an if/elseif with no fallback in `sort_2D`.

Also disable `force_latest_compatible_version` on the LTS job. CompatHelper
branches otherwise resolve every [compat] entry to its newest version, which
the LTS cannot satisfy for dependencies that require Julia 1.12.
@oameye oameye changed the title CompatHelper: bump compat for JET, LinearSolve and Peaks build: bump compat and run JET in its own CI job Jul 27, 2026
@oameye
oameye merged commit 6e10e94 into main Jul 27, 2026
9 checks passed
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