From 997e41deae139dbf2cb3e95ed250070b40d6f3cb Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 21 Oct 2021 13:43:45 -0600 Subject: go.mod: Replace promptui with Apache-compatible fork (fix #4394) Ideally this needs to be fixed upstream in github.com/manifoldco/promptui, but it appears unmaintained. Our dependency is extremely indirect: $ go mod why github.com/juju/ansiterm # github.com/juju/ansiterm github.com/caddyserver/caddy/v2/modules/caddypki github.com/smallstep/certificates/authority go.step.sm/cli-utils/ui github.com/manifoldco/promptui github.com/juju/ansiterm And it appears that all dependencies in this chain are in conflict with the LGPL license. Ref: - https://github.com/manifoldco/promptui/issues/173 - https://github.com/manifoldco/promptui/pull/181 /cc @maraino --- go.mod | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'go.mod') diff --git a/go.mod b/go.mod index fe32353..e8501a7 100644 --- a/go.mod +++ b/go.mod @@ -33,3 +33,7 @@ require ( gopkg.in/natefinch/lumberjack.v2 v2.0.0 gopkg.in/yaml.v2 v2.4.0 ) + +// avoid license conflict from juju/ansiterm until https://github.com/manifoldco/promptui/pull/181 +// is merged or other dependency in path currently in violation fixes compliance +replace github.com/manifoldco/promptui => github.com/nguyer/promptui v0.8.1-0.20210517132806-70ccd4709797 -- cgit v1.2.3