Skip to content

error: KeyError: 'Version' #19463

Open
Open
@ethanquix

Description

@ethanquix

Describe the bug
When running pants tailor :: I have this error message:

❯ pants tailor ::
14:39:18.16 [INFO] Initialization options changed: reinitializing scheduler...
14:39:24.10 [INFO] Scheduler initialized.
14:39:28.41 [ERROR] 1 Exception encountered:

Engine traceback:
  in `tailor` goal

KeyError: 'Version'

Pants version
2.16.0

OS
MacOS

Additional info
Here is my pants.toml:

[GLOBAL]
pants_version = "2.16.0"

backend_packages = [
    "pants.backend.experimental.go",
    "pants.backend.python",
]

[golang]
minimum_expected_version = "1.20"

The first pants tailor :: works, but if I run it again I have this issue.

It happens also when I run other commands like:

❯ pants list ::
14:55:53.45 [ERROR] 1 Exception encountered:

Engine traceback:
  in `list` goal
  in Find targets from input specs

KeyError: 'Version'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions