Skip to content

Homebrew no longer supports --ignore-pinned option but it is used by topgrade #628

@ffloimair

Description

@ffloimair

Erroneous Behavior

topgrade uses "--ignore-pinned" option for homebrew but this has been deprecated.
When topgrade is executing the "Brew" step a warning is now shown:

Warning: Calling brew upgrade --ignore-pinned is deprecated! There is no replacement.

Expected Behavior

topgrade should no longer use --ignore-pinned option

Steps to reproduce

just run a brew step with topgrade

Possible Cause (Optional)

topgrade uses --ignore-pinned homebrew option which is now deprecated and should no longer be used.

Problem persists without calling from topgrade

  • Yes
  • No

Did you run topgrade through Remote Execution

  • Yes
  • No

If yes, does the issue still occur when you run topgrade directlly in your
remote host

  • Yes
  • No

Configuration file (Optional)

Additional Details

  • Operation System/Version
    macOS Sonoma 14.2 on intel Mac

  • Installation

    via homebrew

  • Topgrade version (topgrade -V)
    Topgrade 13.0.0

Verbose Output (topgrade -v)

── 15:52:43 - Brew ─────────────────────────────────────────────────────────────
DEBUG Executing command `/usr/local/bin/brew update`
Already up-to-date.
DEBUG Executing command `/usr/local/bin/brew upgrade --ignore-pinned --formula`
Warning: Calling `brew upgrade --ignore-pinned` is deprecated! There is no replacement.
DEBUG Executing command `/usr/local/bin/brew cleanup`

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions