i'm using the go package and getting this error. i...
# general
g
i'm using the go package and getting this error. i'm on osx, pants version 2.19.0. how can i fix it?
Copy code
pants list services/gorilla --print-stacktrace -ldebug
16:20:13.30 [INFO] Initialization options changed: reinitializing scheduler...
16:20:13.54 [INFO] Scheduler initialized.
16:20:14.09 [ERROR] 1 Exception encountered:

Engine traceback:
  in select
    ..
  in pants.backend.project_info.list_targets.list_targets
    `list` goal
  in pants.engine.internals.specs_rules.resolve_addresses_from_specs
    Find targets from input specs

Traceback (most recent call last):
  File "/Users/jacob.pusateri/Library/Caches/nce/8fb836cadd1e1f50180fea66b6acab1f23108e9a74f158744e706c6da41a534b/bindings/venvs/2.19.0/lib/python3.9/site-packages/pants/engine/internals/specs_rules.py", line 270, in resolve_addresses_from_specs
    includes, ignores = await MultiGet(
  File "/Users/jacob.pusateri/Library/Caches/nce/8fb836cadd1e1f50180fea66b6acab1f23108e9a74f158744e706c6da41a534b/bindings/venvs/2.19.0/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 404, in MultiGet
    return await _MultiGet((__arg0, __arg1))
  File "/Users/jacob.pusateri/Library/Caches/nce/8fb836cadd1e1f50180fea66b6acab1f23108e9a74f158744e706c6da41a534b/bindings/venvs/2.19.0/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 172, in __await__
    result = yield self.gets
KeyError: 'Version'
i had copied an old pants version. 2.26.1 does not have this issue
go modules sure are taking a long time to install though 😬
why do the go modules have to redownload every time i run a command? it takes like 30 seconds plus some more time for analyzing?