For example, openjdk.org@11 needs llvm.org<16 while openjdk@16 works fine with llvm.org<17.
And I think it makes a lot of sense. Someday some other package may require a different build dependency set that is will no longer build previous versions of the pkg, and this feature may come in handy.
Refs pkgxdev/pantry#5472 (comment)