Skip to content

Conversation

@Keno
Copy link
Member

@Keno Keno commented Nov 28, 2025

This is really a Pkg bug, where I forgot to implement the clamping when generating the manifest (and will submit a PR), but since we clamp and override when loading from a Project.toml, it seems reasonable to do the same for Manifest.toml. We never want to use a syntax version less than 1.13, so cut off that path as well, without assuming that Pkg.jl gets it right (too much manual editing of Manifest files happening with AI assistants).

Fixes #60273
Written by Claude.

When reading `syntax.julia_version` from a manifest entry, the value
was used directly without being clamped to the minimum supported syntax
version (NON_VERSIONED_SYNTAX = v"1.13"). This caused packages with
manifests containing low syntax versions (e.g., v"1.0" from compat
declarations like `julia = "1"`) to fail parsing with errors like
"import ... as not supported in Julia version 1.0 < 1.6".

The fix applies the same clamping logic that already exists in
`project_get_syntax_version` to the manifest loading path in
`explicit_manifest_entry_load_spec`.

Fixes #60273
@Keno Keno merged commit f9bf449 into master Nov 29, 2025
6 of 8 checks passed
@Keno Keno deleted the claude/fix-julia-60273-015yt1AzqjdjxzDanDQrgg3M branch November 29, 2025 07: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.

MixedSubdivisions.jl no longer loadable on nightly

3 participants