Skip to content

In some cases, Pkg downgrades many packages to update one implicit dependency #1675

@ianfiske

Description

@ianfiske

I have an environment that only depends on Tables.jl implicitly. When I did ] up, Tables updated and many direct dependencies of my environment downgraded to very old versions. It seems like Pkg should prioritize not downgrading any explicit dependencies, especially just to satisfy updating some implicit dependency.

Mostly noting this here as suggested by @tpapp in JuliaData/Tables.jl#152 so that this issue doesn't get lost. Also see https://discourse.julialang.org/t/csv-stuck-on-old-version/34581. I apologize, but this one is a bit difficult for me to create a minimum repro example, especially since the state of the General registry is changing as packages are being registered.

In the links above, @davidanthoff mentions that the solution is to add upper bounds to old versions of packages in the registry so that they cannot be viewed as fallback compatibility. I still feel like there is a version-resolver issue to be fixed.

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