Skip to content

brew bump-cask-pr fails with "cask has its version update" for manually versioned cask #211795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
6 tasks done
grzegorzkrukowski opened this issue May 9, 2025 · 3 comments
Closed
6 tasks done

Comments

@grzegorzkrukowski
Copy link
Contributor

Verification

Description of issue

Our GitHub CI integration with brew started failing this week, returning:

Error: Whoops, the raycast cask has its version update
pull requests automatically opened by BrewTestBot every ~3 hours!
We'd still love your contributions, though, so try another one
that is excluded from autobump list (i.e. it has 'no_autobump!'
method or 'livecheck' block with 'skip'.)

I found a similar problem reported here.

We didn't change anything on our side.

Command that failed

brew bump-cask-pr --version 1.98.2 raycast

Output of command with --verbose --debug

==> Fetching /opt/homebrew...
From https://github.com/Homebrew/brew
 * [new branch]            bump-formula-pypi      -> origin/bump-formula-pypi
 * [new branch]            cask-shell-completions -> origin/cask-shell-completions
 * [new branch]            dependabot/bundler/Library/Homebrew/sorbet-6fd83145b1 -> origin/dependabot/bundler/Library/Homebrew/sorbet-6fd83145b1
 * [new branch]            dependabot/bundler/Library/Homebrew/spoom-1.6.3 -> origin/dependabot/bundler/Library/Homebrew/spoom-1.6.3
   2af5eab36d..9b94404891  master                 -> origin/master
 * [new branch]            revert-19854-autobump-fix -> origin/revert-19854-autobump-fix
 * [new branch]            revert-19886-no_autobump -> origin/revert-19886-no_autobump
 * [new tag]               4.5.1                  -> 4.5.1
 * [new tag]               4.5.2                  -> 4.5.2

==> Resetting /opt/homebrew...
Reset branch 'stable'

==> Fetching /opt/homebrew/Library/Taps/aws/homebrew-tap...
From https://github.com/aws/homebrew-tap
   21695bf..078d8b6  master     -> origin/master

==> Resetting /opt/homebrew/Library/Taps/aws/homebrew-tap...
Reset branch 'master'
branch 'master' set up to track 'origin/master'.
Your branch is up to date with 'origin/master'.

==> Fetching /opt/homebrew/Library/Taps/azure/homebrew-bicep...

==> Resetting /opt/homebrew/Library/Taps/azure/homebrew-bicep...
Reset branch 'main'
branch 'main' set up to track 'origin/main'.
Your branch is up to date with 'origin/main'.

==> Fetching /opt/homebrew/Library/Taps/hashicorp/homebrew-tap...
From https://github.com/hashicorp/homebrew-tap
   386fc5f..d3eca6b  master     -> origin/master

==> Resetting /opt/homebrew/Library/Taps/hashicorp/homebrew-tap...
Reset branch 'master'
branch 'master' set up to track 'origin/master'.
Your branch is up to date with 'origin/master'.

==> Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-cask...
From https://github.com/Homebrew/homebrew-cask
   69a107dd975..16437668b8b  master     -> origin/master
 * [new tag]                 0.1        -> 0.1
 * [new tag]                 0.2        -> 0.2
 * [new tag]                 0.3        -> 0.3
 * [new tag]                 0.4        -> 0.4
 * [new tag]                 0.5        -> 0.5
 * [new tag]                 0.6        -> 0.6
 * [new tag]                 0.7        -> 0.7
 * [new tag]                 0.7.1      -> 0.7.1
 * [new tag]                 0.8        -> 0.8
 * [new tag]                 0.8.1      -> 0.8.1
 * [new tag]                 0.9        -> 0.9
 * [new tag]                 0.9.1      -> 0.9.1
 * [new tag]                 0.9.2      -> 0.9.2
 * [new tag]                 0.9.3      -> 0.9.3
 * [new tag]                 0.9.4      -> 0.9.4
 * [new tag]                 0.9.5      -> 0.9.5
 * [new tag]                 v0.15.0    -> v0.15.0
 * [new tag]                 v0.39.0    -> v0.39.0
 * [new tag]                 v0.45.0    -> v0.45.0
 * [new tag]                 v0.53.2    -> v0.53.2

==> Resetting /opt/homebrew/Library/Taps/homebrew/homebrew-cask...
Reset branch 'master'
branch 'master' set up to track 'origin/master'.
Your branch is up to date with 'origin/master'.

==> Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-core...
From https://github.com/Homebrew/homebrew-core
   5fec1f008ea..982dd18aef3  master     -> origin/master

==> Resetting /opt/homebrew/Library/Taps/homebrew/homebrew-core...
Reset branch 'master'
branch 'master' set up to track 'origin/master'.
Your branch is up to date with 'origin/master'.

==> Updating Homebrew...
==> Homebrew's analytics have entirely moved to our InfluxDB instance in the EU.
We gather less data than before and have destroyed all Google Analytics data:
  https://docs.brew.sh/Analytics
Please reconsider re-enabling analytics to help our volunteer maintainers with:
  brew analytics on
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
codex
hellwal
kubectl-ai
==> New Casks
aqua-voice
foks
font-fzhei-b01
font-fzxiheii-z08
hedy
==> Outdated Formulae
azure-cli
cmake
gettext
kotlin
libgcrypt
libpq
mpdecimal
yq

You have 8 outdated formulae installed.
You can upgrade them with brew upgrade
or list them with brew outdated.
Warning: bump-cask-pr is a developer command, so Homebrew's
developer mode has been automatically turned on.
To turn developer mode off, run:
  brew developer off

Fetching gem metadata from https://rubygems.org/.......
Fetching public_suffix 6.0.2
Fetching base64 0.2.0
Fetching ast 2.4.3
Fetching bindata 2.5.1
Installing base64 0.2.0
Installing public_suffix 6.0.2
Fetching concurrent-ruby 1.3.5
Installing ast 2.4.3
Fetching json 2.11.3
Fetching language_server-protocol 3.17.0.4
Installing bindata 2.5.1
Fetching lint_roller 1.1.0
Installing concurrent-ruby 1.3.5
Installing json 2.11.3 with native extensions
Installing lint_roller 1.1.0
Installing language_server-protocol 3.17.0.4
Fetching parallel 1.27.0
Installing parallel 1.27.0
Fetching racc 1.8.1
Fetching plist 3.7.2
Installing racc 1.8.1 with native extensions
Installing plist 3.7.2
Fetching prism 1.4.0
Installing prism 1.4.0 with native extensions
Fetching rainbow 3.1.1
Installing rainbow 3.1.1
Fetching regexp_parser 2.10.0
Installing regexp_parser 2.10.0
Fetching rexml 3.4.1
Installing rexml 3.4.1
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching unicode-emoji 4.0.4
Installing unicode-emoji 4.0.4
Fetching ruby-macho 4.1.0
Installing ruby-macho 4.1.0
Fetching sorbet-runtime 0.5.12079
Installing sorbet-runtime 0.5.12079
Fetching warning 1.5.0
Installing warning 1.5.0
Fetching addressable 2.8.7
Installing addressable 2.8.7
Fetching elftools 1.3.1
Installing elftools 1.3.1
Fetching unicode-display_width 3.1.4
Installing unicode-display_width 3.1.4
Fetching patchelf 1.5.1
Installing patchelf 1.5.1
Fetching parser 3.3.8.0
Installing parser 3.3.8.0
Fetching rubocop-ast 1.44.1
Installing rubocop-ast 1.44.1
Fetching rubocop 1.75.5
Installing rubocop 1.75.5
Fetching rubocop-md 2.0.1
Fetching rubocop-performance 1.25.0
Fetching rubocop-rspec 3.6.0
Fetching rubocop-sorbet 0.10.0
Installing rubocop-md 2.0.1
Installing rubocop-performance 1.25.0
Installing rubocop-rspec 3.6.0
Installing rubocop-sorbet 0.10.0
Bundle complete! 43 Gemfile dependencies, 32 gems now installed.
Bundled gems are installed into `../../../../../opt/homebrew/Library/Homebrew/vendor/bundle`
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromNameLoader): loading raycast
Error: Whoops, the raycast cask has its version update
pull requests automatically opened by BrewTestBot every ~3 hours!
We'd still love your contributions, though, so try another one
that is excluded from autobump list (i.e. it has 'no_autobump!'
method or 'livecheck' block with 'skip'.)

Error: Kernel.exit
/opt/homebrew/Library/Homebrew/extend/kernel.rb:115:in 'Kernel#exit'
/opt/homebrew/Library/Homebrew/extend/kernel.rb:115:in 'Kernel#odie'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.5.12079/lib/types/private/methods/call_validation.rb:282:in 'UnboundMethod#bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.5.12079/lib/types/private/methods/call_validation.rb:282:in 'T::Private::Methods::CallValidation.validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.5.12079/lib/types/private/methods/_methods.rb:277:in 'block in Kernel#_on_method_added'
/opt/homebrew/Library/Homebrew/dev-cmd/bump-cask-pr.rb:80:in 'Homebrew::DevCmd::BumpCaskPr#run'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.5.12079/lib/types/private/methods/call_validation.rb:282:in 'UnboundMethod#bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.5.12079/lib/types/private/methods/call_validation.rb:282:in 'T::Private::Methods::CallValidation.validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.5.12079/lib/types/private/methods/_methods.rb:277:in 'block in Homebrew::DevCmd::BumpCaskPr#_on_method_added'
/opt/homebrew/Library/Homebrew/brew.rb:95:in '<main>'
Error: Process completed with exit code 1.

Output of brew doctor and brew config

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  openssl@1.1


Warning: The following formulae have the same name as core formulae:
  aws/tap/eksctl
  hashicorp/tap/consul-template
  hashicorp/tap/levant
  hashicorp/tap/nomad
  hashicorp/tap/packer
  hashicorp/tap/terraform
  hashicorp/tap/terraform-ls
  hashicorp/tap/vault
  hashicorp/tap/waypoint
Some of these can be resolved with:
  brew untap aws/tap


Warning: You have an unnecessary local Cask tap.
This can cause problems installing up-to-date casks.
Please remove it by running:
  brew untap homebrew/cask


Warning: You have an unnecessary local Core tap!
This can cause problems installing up-to-date formulae.
Please remove it by running:
 brew untap homebrew/core


Warning: You have uncommitted modifications to Homebrew/homebrew-core.
If this is a surprise to you, then you should stash these modifications.
Stashing returns Homebrew to a pristine state but can be undone
should you later need to do so for some reason.
  cd /opt/homebrew/Library/Taps/homebrew/homebrew-core && git stash -u && git clean -d -f

Uncommitted files:
   M Formula/o/openssl@1.1.rb

HOMEBREW_VERSION: 4.5.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3332d3331b56e0aff675d3816d8ebfe564075299
Last commit: 11 days ago
Branch: stable
Core tap HEAD: 5fec1f008eabc32672c6d83d1bf82b22ec4f93c2
Core tap last commit: 4 days ago
Core tap JSON: 06 May 03:54 UTC
Core cask tap HEAD: 69a107dd9755f5d3e71f0caf8242a7651502f249
Core cask tap last commit: 4 days ago
Core cask tap JSON: 06 May 03:54 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: ["--no-quarantine"]
HOMEBREW_COLOR: set
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 3
HOMEBREW_NO_AUTO_UPDATE: set
HOMEBREW_NO_INSTALL_CLEANUP: set
Homebrew Ruby: 3.4.3 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.3/bin/ruby
CPU: 3-core 64-bit dunno
Clang: 16.0.0 build 1600
Git: 2.49.0 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.4.1-arm64
CLT: 16.3.0.0.1.1742442376
Xcode: 16.0 => /Applications/Xcode_16.app/Contents/Developer
Rosetta 2: false

Output of brew tap

homebrew/cask
@grzegorzkrukowski
Copy link
Contributor Author

@bevanjkay is it fixed now on the latest version or why it was closed?

@bevanjkay
Copy link
Member

bevanjkay commented May 20, 2025

Yes, this was fixed last week.

I also added the new no_autobump! stanza to the raycast cask so that you can continue bumping the version with your CI, even after the autobump system changes to including all casks that aren't explicitly excluded.

#213049

@grzegorzkrukowski
Copy link
Contributor Author

Perfect - thanks for clarifying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@grzegorzkrukowski @bevanjkay and others