Skip to content

Look up dependency list and extensions from project file for stdlibs and deved packages. #56109

Open
@KristofferC

Description

Right now, when a package is loaded the manifest is used to look up the set of dependencies and the set of extensions for that package. This is a problem for stdlibs and deved packages because this information can change without the manifest being updated:

  • Changing julia version will change the stdlibs used which can change the set of dependencies and extensions
  • Modifying a deved package (either changing the set of dependencies or extensions) will not update the manifest.

In both of the cases above, a user need to do e.g. a pkg> resolve to update the manifest based on the non-content tracked packages.
Failure to do so leads to annoying loading errors and precompile problems.

However, there is a place where the correct information is always available, the project file. This is always up to date and we can instead read that one.

We could still store the set of dependencies in the manifest for stdlibs and deved packages but the source of truth would be the project file and we can warn when the two sources of information are not consistent.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    packagesPackage management and loading

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions