Skip to content

downgrade-compat CI job fails: ModifiedDistributions missing from manifest #40

Description

@seabbs-bot

What's failing

The downgrade-compat / Downgrade Compat job in the Test workflow has been failing on main for at least the last several runs, independent of any in-flight PR:

Error:

`ModifiedDistributions` is a direct dependency, but does not appear in the manifest. If you intend `ModifiedDistributions` to be a direct dependency, run `Pkg.resolve()` to populate the manifest. Otherwise, remove `ModifiedDistributions` with `Pkg.rm("ModifiedDistributions")`. Finally, run `Pkg.instantiate()` again.

The job runs:

Pkg.test(;coverage=true, julia_args=["--check-bounds=yes", "--compiled-modules=yes", "--depwarn=yes"], test_args=["skip_quality"], force_latest_compatible_version=false, allow_reresolve=true)

Likely cause

test/Project.toml declares ModifiedDistributions as a direct [deps]/[compat] entry, pinned via [sources] to a git URL since it is unregistered:

[sources]
ModifiedDistributions = {rev = "main", url = "https://github.com/EpiAware/ModifiedDistributions.jl"}

This mirrors the existing ComposedDistributions pin in the same file (which does not fail the same job), so the [sources]-pinning pattern itself isn't inherently broken — something about the downgrade-compat resolution path (force_latest_compatible_version=false) specifically drops or fails to resolve the ModifiedDistributions git-sourced entry into the downgraded manifest. Worth comparing against how ComposedDistributions.jl and ModifiedDistributions.jl's own test/docs envs handle the equivalent pin in their downgrade-compat jobs, since they may have already hit and fixed this.

Why this is filed separately

Found while reconciling PR #39 (org docs-funnel sweep) against PR #21 — confirmed this failure predates and is unrelated to both docs PRs by checking that main's own recent Test workflow runs fail identically with no docs changes involved.

This was opened by a bot. Please ping @seabbs for any questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions