Skip to content

CLI plugin bootstrap fails due to missing tool section #1428

@daviddavis

Description

@daviddavis

I'm following the steps here and getting this error:

Traceback (most recent call last):
  File "/tmp/tmpnk8yndij.py", line 20, in <module>
    pyproject_toml["tool"].update(pyproject_toml_update["tool"])
    ~~~~~~~~~~~~~~^^^^^^^^
  File "/home/david/Projects/pulp/.venv/lib/python3.14/site-packages/tomlkit/container.py", line 711, in __getitem__
    item = self.item(key)
  File "/home/david/Projects/pulp/.venv/lib/python3.14/site-packages/tomlkit/container.py", line 511, in item
    raise NonExistentKey(key)
tomlkit.exceptions.NonExistentKey: 'Key "tool" does not exist.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triage-NeededNeeds to be reviewed at next pulp-cli mtgbugSomething isn't working (template-set)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions