Skip to content

pixi config unset should not error on unknown keys #5672

@ruben-arts

Description

@ruben-arts

Problem description

repodata-config.disable-jlap was recently removed from the config struct. This resulted in a warning about that value not existing.
That's all fine but you should be able to use pixi config unset to remove unknown values from that config.

E.g.: this should work IMO

pixi config unset repodata-config.disable-jlap

It would be best if you can use the pixi config unset to remove any type of TOML value from the config files. Also because our warnings contain the exact config file path it would be great if pixi config could accept paths to those files to eliminate issues where the user doesn't know which config level e.g. --global --local etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedThe Pixi maintainers welcome contributions to solve this issue or implement the feature/bugfix.configurationIssue related to configuration of workspace or global behaviorenhancementNew featuresgood first issueGood for newcomershelp wantedMaintainers would like community input

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions