SE-0201: Package Manager Local Dependencies

Well, the proposal states:

  • A local package dependency will override any regular dependency in the package graph that has the same package name.

So it clearly allows the creation of packages with local/git dependencies:

dependencies: [
    .package(url: "https://github.com/pvieito/PythonKit", .branch("master")),
    .package(path: "../PythonKit")
],

I think a lot of package maintainers would find this useful and it seems an alternative to the Workspace proposal.

1 Like