Skip to content

Add dependents command to list reverse dependencies#4656

Open
IanButterworth wants to merge 2 commits intoJuliaLang:masterfrom
IanButterworth:ib/dependents
Open

Add dependents command to list reverse dependencies#4656
IanButterworth wants to merge 2 commits intoJuliaLang:masterfrom
IanButterworth:ib/dependents

Conversation

@IanButterworth
Copy link
Copy Markdown
Member

Closes #871

Add Pkg.dependents / pkg> dependents to list packages that depend on a given package across all reachable registries. Shows direct dependents by name and indirect dependent count (use --all to expand).

(@v1.14) pkg> dependents FFMPEG
  Dependents FFMPEG [c87230d0]
  Found in: General (/Users/ian/.julia/registries/General.toml)
  PrivateRegistry registry
    2 direct: PrivatePackage1, PrivatePackage2
  General registry
    26 direct: AbstractPlotting, BaslerCamera, BeforeIT, ContactImplicitMPC, Dojo, DungAnalyse, EnsembleKalmanProcesses, GeophysicalModelGenerator, IMAS, Javis, Layered, Luxor, Makie, MakieGallery, MeshCat, MuJoCo, MultiGridBarrier, MultiGridBarrier3d, NMFk, Plots, RandomFeatures, Reel, RobotVisualizer, StableSpectralElements, TrajectoryOptimization, VideoIO
    7884 indirect

Developed with Claude

IanButterworth and others added 2 commits April 12, 2026 13:37
Add `Pkg.dependents` / `pkg> dependents` to list packages that depend on
a given package across all reachable registries. Shows direct dependents
by name and indirect dependent count (use `--all` to expand).

Includes API function, REPL command with --all flag, tab completion,
tests, and documentation.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

Equivalent of old Pkg.dependents (reverse dependencies)

1 participant