Skip to content

Builds from releases fail because of broken OpenFGA canonical imports #315

@bketelsen

Description

@bketelsen

Required information

  • Distribution: all
  • Distribution version: n/a
  • The output of "incus info" or if that fails:
    N/A

Issue description

OpenFGA oauth2 package declares a canonical import for golang.org/x/oauth2, but the openfga/credentials package imports the code in their package namespace. Go's tooling correctly pulls in golang.org/x/oauth2 and ignores the openfga package. This causes incus builds to fail if dependencies are vendored.

issue: openfga/go-sdk#63
PR: openfga/go-sdk#64

Steps to reproduce

  1. download released incus
  2. build
  3. observe failure

Information to attach

See issue in COPR build here: ganto/copr-lxc4#34

Note: this is an issue with a dependency, not Incus directly, but will require dependency updates when upstream is fixed.

Metadata

Metadata

Assignees

Labels

EasyGood for new contributors

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions