[go] Favor go1.17 in "go mod tidy".

It sometimes encounters conflicts that need a decision like:

.../kms imports
  cloud.google.com/go/kms/apiv1 loaded from
  cloud.google.com/go/kms@v0.2.0,
  but go 1.16 would select v1.4.0

To upgrade to the versions selected by go 1.16:
  go mod tidy -go=1.16 && go mod tidy -go=1.17
If reproducibility with go 1.16 is not needed:
  go mod tidy -compat=1.17

Also fix stderr reference in CalledProcessError. It appears this
script is executed by Python2 despite starting with
"#!/usr/bin/env python3".

R=ddoman@chromium.org, iannucci@chromium.org

Change-Id: I07e083f585e86ae08b58c45da58718bd4bda325b
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3655015
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
Reviewed-by: Yuanjun Huang <yuanjunh@google.com>
Reviewed-by: Scott Lee <ddoman@chromium.org>
2 files changed
tree: 1d55f5ac8b1c8f68276a4e26ea77c1ecfb093fbf
  1. appengine/
  2. auth/
  3. auth_service/
  4. build/
  5. buildbucket/
  6. casviewer/
  7. cipd/
  8. client/
  9. cmdrunner/
  10. common/
  11. config/
  12. cv/
  13. deploy/
  14. dm/
  15. examples/
  16. gae/
  17. gce/
  18. grpc/
  19. hacks/
  20. hardcoded/
  21. led/
  22. logdog/
  23. luci_notify/
  24. lucicfg/
  25. lucictx/
  26. luciexe/
  27. machine-db/
  28. mailer/
  29. milo/
  30. mmutex/
  31. provenance/
  32. resultdb/
  33. scheduler/
  34. scripts/
  35. server/
  36. starlark/
  37. swarming/
  38. tokenserver/
  39. tools/
  40. tumble/
  41. vpython/
  42. web/
  43. .gitallowed
  44. .gitattributes
  45. .golangci.yml
  46. AUTHORS
  47. codereview.settings
  48. CONTRIBUTING.md
  49. CONTRIBUTORS
  50. go.mod
  51. go.sum
  52. LICENSE
  53. OWNERS
  54. PRESUBMIT.py
  55. README.md
  56. tools.go
  57. WATCHLISTS
README.md

luci-go: LUCI services and tools in Go

GoDoc

Installing

LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:

fetch infra
cd infra/go
eval `./env.py`
cd src/go.chromium.org/luci

Contributing

Contributing uses the same flow as Chromium contributions.