average-australia-85137
09/25/2024, 5:32 PMIf you do not expect an import to be inferrable, add `# pants: no-infer-dep` to the import line. Otherwise, see <https://www.pantsbuild.org/2.22/docs/using-pants/troubleshooting-common-issues#import-errors-and-missing-dependencies> for common problems.
13:31:29.58 [WARN] Pants cannot infer owners for the following imports in the target
python/file/target.py:
* google.protobuf.descriptor (line: 6)
* google.protobuf.descriptor_pool (line: 7)
* google.protobuf.internal.builder (line: 9)
* google.protobuf.symbol_database (line: 8)
an error instead of a warning?broad-processor-92400
09/25/2024, 6:35 PM[python-infer]
unowned_dependency_behaviour = "error"
average-australia-85137
09/25/2024, 7:20 PMaverage-australia-85137
09/25/2024, 7:21 PM15:20:28.03 [ERROR] Invalid option 'unowned_dependency_behaviour' under [python-infer] in /Users/nate/srv/pants.toml
15:20:28.03 [ERROR] Invalid config entries detected. See log for details on which entries to update or remove.
average-australia-85137
09/25/2024, 7:22 PM[GLOBAL]
pants_version = "2.22.0"
backend_packages = [
"pants.backend.python",
"pants.backend.docker",
"pants.backend.experimental.docker.podman"
]
[source]
root_patterns = [
"/",
"/src/",
"/apps/",
]
[python-bootstrap]
search_path = ["<PYENV>"]
[python-infer]
unowned_dependency_behaviour = "error"
[python]
interpreter_constraints = ["CPython==3.8.*"]
enable_resolves = true
average-australia-85137
09/25/2024, 7:43 PM[docker]
experimental_enable_podman = true
average-australia-85137
09/25/2024, 8:59 PMunowned_dependency_behavior
(no u)broad-processor-92400
09/25/2024, 10:25 PM