sourcegraph / conc

Better structured concurrency for go
https://about.sourcegraph.com/blog/building-conc-better-structured-concurrency-for-go
MIT License
9.05k stars 312 forks source link

Broken builds after sourcegraph went private #142

Closed sam-ulrich1 closed 1 month ago

sam-ulrich1 commented 2 months ago

This library uses sourcegraph so it is now broken in all new builds

go mod why -m github.com/sourcegraph/sourcegraph/lib
# github.com/sourcegraph/sourcegraph/lib
github.com/sourcegraph/conc/pool
github.com/sourcegraph/sourcegraph/lib/errors
sam-ulrich1 commented 2 months ago

Work around for the time being: add this line to the bottom of your go.mod

replace github.com/sourcegraph/sourcegraph/lib => github.com/sourcegraph/sourcegraph-public-snapshot/lib v0.0.0-20221216004406-749998a2ac74
camdencheek commented 2 months ago

Yikes, sorry about that 😞

The latest version of conc has no dependency on github.com/sourcegraph/sourcegraph/lib, so another option is to upgrade the package.

sam-ulrich1 commented 1 month ago

Ahh I thought it was still linked in the newest version, it was just another dep that had an older version