CompatHelper PRs failing with force_latest_compatible_version due to Julia version constraints

chriswaudby
Thu, 15 Jan 2026 14:11:52 +0000
Package Management

I’m stuck on an issue with CompatHelper PRs failing CI and not sure the best way to fix it.

My package has:

julia = "1.9"
Peaks = "0.5, 0.6"

Peaks 0.5 works on Julia 1.9, but Peaks 0.6 requires Julia 1.10+.

In my normal CI testing, Peaks 0.5 is selected for Julia 1.9, and Peaks 0.6 is selected on Julia 1.10+. Everything works fine.

But CompatHelper PRs fail on Julia 1.9 with:

ERROR: Unsatisfiable requirements detected for package Peaks [18e31ff7]:
 ...
 ├─restricted to versions 0.6 by an explicit requirement
 └─restricted by julia compatibility requirements to versions: 0.1.0-0.5.3 — no versions left

It seems like force_latest_compatible_version=true (auto-enabled for CompatHelper PRs) tries to force Peaks 0.6 even though it’s incompatible with Julia 1.9.

What’s the right approach here?

6 posts - 3 participants