JuliaLang / Pkg.jl

Pkg - Package manager for the Julia programming language
https://pkgdocs.julialang.org
Other
621 stars 261 forks source link

Pkg.rm should be able to remove weakdeps and extras #3741

Open IanButterworth opened 9 months ago

IanButterworth commented 9 months ago
(jl_sUKZ8X) pkg> rm Example
ERROR: The following package names could not be resolved:
 * Example (not found in project or manifest)

Also in the case that you have the following, it won't be able to find Example because of the way it is treated as a weakdep, which is consistent, but a little unfriendly.

[deps]
Example = "7876af07-990d-54b4-ab0e-23690620f79a"

[weakdeps]
Example = "7876af07-990d-54b4-ab0e-23690620f79a"