Open
Description
Describe the bug
Ran into a dependency (github.com/googleapis/enterprise-certificate-proxy
) that seem to break Go dependency inference when cgo is disabled.
See minimal repro in https://github.com/jgranstrom/pants-cgo-repro
pants dependencies ::
leads to
AssertionError: The package `github.com/googleapis/enterprise-certificate-proxy/cshared` was not downloaded, but Pants tried using it. This should not happen. Please open an issue at https://github.com/pantsbuild/pants/issues/new/choose with this error message.
pants --golang-cgo-enabled dependencies ::
works fine. Seems strange that cgo would have to be enabled to resolve the dependencies.
Pants version
2.20.1
OS
MacOS and Linux
Activity