Looking for an app w/ mult. versions of a dependency

54 views
Skip to first unread message

George Hartzell

unread,
Dec 5, 2019, 8:52:58 PM12/5/19
to GoLang Nuts

Hi All,

I'm working on improving the Spack (https://spack.io) package managers
support for Go-based application
(https://github.com/spack/spack/issues/13023).

I'm trying to wrap my head around what Go's support for simultaneously
using multiple major versions of a dependency means to Spack.

To that end, I'm looking for an otherwise simple application that uses
Go modules and depends on multiple versions of some library. I've
done a bit of searching but have come up dry.

I'm wondering if any of you other nuts can point out examples?

Thanks,

g.

Andy Balholm

unread,
Dec 5, 2019, 10:07:01 PM12/5/19
to hart...@alerce.com, GoLang Nuts
I’m pretty sure there is no “otherwise simple” example, because depending on two versions of the same library isn’t usually something a project does deliberately (except as a last resort). It’s normally the consequence of an extremely complex forest of dependencies.

Andy
> --
> You received this message because you are subscribed to the Google Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/24041.46159.307729.108343%40alice.local.

Paul Jolly

unread,
Dec 8, 2019, 11:36:39 AM12/8/19
to hart...@alerce.com, GoLang Nuts
> I'm wondering if any of you other nuts can point out examples?

It's a hypothetical example but perhaps shows enough of what you're after?

https://github.com/go-modules-by-example/index/blob/master/015_semantic_import_versioning/README.md
Reply all
Reply to author
Forward
0 new messages