wide-midnight-78598
06/12/2024, 1:32 PMEngine traceback:
in `lint` goal
OptionsError: You must explicitly specify the default Python interpreter versions your code is intended to run against.
You specify these interpreter constraints using the `interpreter_constraints` option in the `[python]` section of pants.toml.
We recommend constraining to a single interpreter minor version if you can, e.g., `interpreter_constraints = ['==3.11.*']`, or at least a small number of interpreter minor versions, e.g., `interpreter_constraints = ['>=3.10,<3.12']`.
Individual targets can override these default interpreter constraints, if different parts of your codebase run against different python interpreter versions in a single repo.
See <https://www.pantsbuild.org/2.21/docs/python/overview/interpreter-compatibility> for details.
backend_packages = [
"pants.backend.docker",
"pants.backend.docker.lint.hadolint",
]
wide-midnight-78598
06/12/2024, 1:38 PMworried-painter-31382
06/12/2024, 2:43 PMwide-midnight-78598
06/12/2024, 2:44 PMworried-painter-31382
06/12/2024, 2:48 PMwide-midnight-78598
06/12/2024, 2:57 PMpython
in your pants.toml backends - we should use a default (ideally the pants
interpreter). If you do have an explicit python backend keep the errorcareful-address-89803
06/15/2024, 4:57 AM