Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[golang] Support of V2 package of go lib #9116

Closed
frozeNinK opened this issue Feb 12, 2020 · 1 comment
Closed

[golang] Support of V2 package of go lib #9116

frozeNinK opened this issue Feb 12, 2020 · 1 comment

Comments

@frozeNinK
Copy link

for example
if a package, like urfave cli v2 is to be used in a project, pants seems to try to find it in

/home/<user-name>/repos/<repo-name>/.pants.d/resolve/go/e77e8d8d0448/3rdparty.go.github.com.urfave.cli.v2/current/gopath/src/github.com/urfave/cli

instead of

/home/<user-name>/repos/<repo-name>/pants.d/resolve/go/e77e8d8d0448/3rdparty.go.github.com.urfave.cli.v2/current/gopath/src/github.com/urfave/cli/v2

ref: https://blog.golang.org/versioning-proposal

@Eric-Arellano
Copy link
Contributor

We recently decided to focus our energy on the release of Pants 2.0, which only works with the new v2 engine.

This means that Pants 2.0 will not support Go at first, as we're initially focused on a stellar Python experience. Users may continue to use the Pants 1.x plugin. We also plan to rebuild Go support from the ground-up in the future (timeline will determined by user interest).

I'm closing this as we, unfortunately, won't likely get to fixing it in Pants 1.x. Please feel free to reopen if anyone is interested in implementing the change in Pants 1.x - we can give some guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants