Skip to content

why only shows one path #3466

@aplavin

Description

@aplavin

I would expect ]why to always show all dependency paths, and documentation seems to agree:

Pkg.why and pkg> why to show why a package is inside the environment (shows all "paths" to a package starting at the direct dependencies)

But actually ]why for direct deps only prints a single "path":

(StructArrays) pkg> st
Project StructArrays v0.6.15
Status `~/.julia/dev/StructArrays/Project.toml`
  [79e6a3ab] Adapt v3.6.1
  [9a962f9c] DataAPI v1.14.0
  [46192b85] GPUArraysCore v0.1.4
  [1e83bf80] StaticArraysCore v1.4.0
  [bd369af6] Tables v1.10.1
  [9a3f8284] Random

(StructArrays) pkg> why DataAPI
  DataAPI
# should also show "Tables → DataAPI"

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