Skip to content

Dependency loop between juju/testing several other juju libraries #161

@gibmat

Description

@gibmat

A dependency loop exists between juju/testing and the two libraries juju/collections and juju/clock, each of which in turn depend on juju/testing.

Within juju/testing, the use of juju/collections and juju/clock seems to be limited to only the mgo.go file, which imports juju/collections/set and juju/clock.

This was noticed while reviewing dependencies needed to cleanly package LXD for Debian, where each library that LXD depends on must be able to build on its own with a clean set of dependencies. A dependency loop makes this very difficult to accomplish. This may not be a blocking issue as we may have to drop mongodb-specific code because mongodb is no longer in the Debian package archive.

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