codex icon indicating copy to clipboard operation
codex copied to clipboard

Codex Homebrew Cask not updated to 0.48

Open oneslash opened this issue 1 year ago • 15 comments

What version of Codex is running?

v0.47.0

What subscription do you have?

Pro

Which model were you using?

codex-high

What platform is your computer?

macOS

What issue are you seeing?

v0.47.0

What steps can reproduce the bug?

~/Projects/eoller$ brew upgrade --cask codex
Warning: Not upgrading codex, the latest version is already installed

What is the expected behavior?

v0.48.0

Additional information

No response

oneslash avatar Oct 24 '25 06:10 oneslash

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5599
  • #5515
  • #5317
  • #5342

Powered by Codex Action

github-actions[bot] avatar Oct 24 '25 06:10 github-actions[bot]

same

likui888 avatar Oct 24 '25 07:10 likui888

Autobump job was failed for some reason.

==> codex
Current cask version:     0.47.0
Latest livecheck version: 0.48.0
Duplicate pull requests:  none
Maybe duplicate pull requests: codex 0.47.0 (https://github.com/Homebrew/homebrew-cask/pull/232353), Added Codex Notes.app v3.2.3 (https://github.com/Homebrew/homebrew-cask/pull/82810)
==> Downloading https://github.com/openai/codex/releases/download/rust-v0.48.0/codex-x86_64-apple-darwin.tar.gz
==> Downloading from https://release-assets.githubusercontent.com/github-production-release-asset/965415649/71368acb-cc4a-4809-8bc1-5eba881fe1d1?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-24T04%3A42%3A13Z&rscd=attachment%3B+filename%3Dcodex-x86_64-apple-darwin.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-24T03%3A41%3A52Z&ske=2025-10-24T04%3A42%3A13Z&sks=b&skv=2018-11-09&sig=JH41iJdvJy6JSdqC8XmrY%2FJloBG%2FwkP72CNiMi1vmMo%3D&jwt=***
==> Downloading https://github.com/openai/codex/releases/download/rust-v0.48.0/codex-aarch64-apple-darwin.tar.gz
==> Downloading from https://release-assets.githubusercontent.com/github-production-release-asset/965415649/35fe6a6f-a9ac-4f3c-a38c-b26dcc7a397c?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-24T04%3A43%3A37Z&rscd=attachment%3B+filename%3Dcodex-aarch64-apple-darwin.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-24T03%3A43%3A24Z&ske=2025-10-24T04%3A43%3A37Z&sks=b&skv=2018-11-09&sig=2%2Fo2575c0yg75nPQ1eRMe%2FMmzu9%2BuTvIqDAgst3XQeY%3D&jwt=***
==> Downloading https://github.com/openai/codex/releases/download/rust-v0.48.0/codex-x86_64-unknown-linux-gnu.tar.gz
==> Downloading from https://release-assets.githubusercontent.com/github-production-release-asset/965415649/9ad5df0d-1caf-4c67-aa2d-591f0383b989?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-24T04%3A43%3A07Z&rscd=attachment%3B+filename%3Dcodex-x86_64-unknown-linux-gnu.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-24T03%3A42%3A38Z&ske=2025-10-24T04%3A43%3A07Z&sks=b&skv=2018-11-09&sig=FpdFHjlaV%2FczSr2mYfOl5Kc3%2BLoQR5fcBt7ovDmIjdU%3D&jwt=***
==> Downloading https://github.com/openai/codex/releases/download/rust-v0.48.0/codex-aarch64-unknown-linux-gnu.tar.gz
==> Downloading from https://release-assets.githubusercontent.com/github-production-release-asset/965415649/f0e4485d-d40e-41ce-a5bb-c83e01e171e5?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-24T04%3A42%3A46Z&rscd=attachment%3B+filename%3Dcodex-aarch64-unknown-linux-gnu.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-24T03%3A42%3A40Z&ske=2025-10-24T04%3A42%3A46Z&sks=b&skv=2018-11-09&sig=SFS30vsFa3Dc3OWNKtle0chXIdiAmC915MeKfUIi9FA%3D&jwt=***
==> Downloading and extracting artifacts
==> Downloading https://github.com/openai/codex/releases/download/rust-v0.48.0/codex-aarch64-apple-darwin.tar.gz
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/4661be403aa910f9733c3ac92d0f333fb5e812f12a4f0cb0d05040187063a8b3--codex-aarch64-apple-darwin.tar.gz
==> Downloading https://github.com/openai/codex/releases/download/rust-v0.48.0/codex-aarch64-apple-darwin.tar.gz
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/4661be403aa910f9733c3ac92d0f333fb5e812f12a4f0cb0d05040187063a8b3--codex-aarch64-apple-darwin.tar.gz
audit for codex: failed
 - cask token conflicts with an existing homebrew/core formula: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/c/codex.rb
codex
  * cask token conflicts with an existing homebrew/core formula: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/c/codex.rb
Error: 1 problem in 1 cask detected.
Error: cask token conflicts with an existing homebrew/core formula: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/c/codex.rb
Error: `brew audit` failed!

https://github.com/Homebrew/homebrew-cask/actions/runs/18768808268/job/53549319728

It should be because of moving Codex formula from core to cask. The codex "core" formula, which is now deleted, caused something wrong.

related:

  • https://github.com/Homebrew/homebrew-core/pull/250098
  • https://github.com/openai/codex/issues/5317

gecko655 avatar Oct 24 '25 07:10 gecko655

@gecko655, yes, it is now in cask, however, the update was not pushed yet. There is only one PR (intro): https://github.com/Homebrew/homebrew-cask/pull/232353

oneslash avatar Oct 24 '25 07:10 oneslash

Yes, the formula is now in cask ( https://github.com/Homebrew/homebrew-cask/blob/main/Casks/c/codex.rb ) and not in core ( https://github.com/Homebrew/homebrew-core/pull/250098/files ). So, it should be kept up to date via GitHub action of cask repository ( https://github.com/Homebrew/homebrew-cask/actions/workflows/autobump.yml ), but it failed for at least last 2 runs:

  • https://github.com/Homebrew/homebrew-cask/actions/runs/18768808268/job/53549319728
  • https://github.com/Homebrew/homebrew-cask/actions/runs/18771781257/job/53557606958

At this moment, I don't have any idea to fix this...

gecko655 avatar Oct 24 '25 07:10 gecko655

same here on macOS26 codex-CLI v0.47.0

Liskie avatar Oct 24 '25 09:10 Liskie

Same here

henrydehe avatar Oct 24 '25 10:10 henrydehe

Thanks @gecko655!

The PR https://github.com/Homebrew/homebrew-cask/pull/233631 is in the queue to merge.

I will keep ticket open until the auto-bump is fixed.

oneslash avatar Oct 24 '25 15:10 oneslash

0.48.0 is now visible :tada: https://formulae.brew.sh/cask/codex I'm glad that I could contribute because #4921 was something I really needed.

gecko655 avatar Oct 24 '25 15:10 gecko655

@oneslash Autobump fixed by https://github.com/Homebrew/homebrew-cask/pull/233650.

p-linnane avatar Oct 24 '25 17:10 p-linnane

Looks like this is now fixed, so closing. If anyone is still having problems upgrading to 0.48.0, let us know.

etraut-openai avatar Oct 24 '25 18:10 etraut-openai

Still the same now, codex telling me that 0.57 is available but brew refusing to update from 0.42. npm installs the latest.

azw413 avatar Nov 13 '25 14:11 azw413

https://github.com/openai/codex/blob/main/docs/faq.md#brew-upgrade-codex-isnt-upgrading-me

gecko655 avatar Nov 17 '25 01:11 gecko655

If you're stuck on this make sure to run brew update first.

forddavis avatar Mar 07 '26 02:03 forddavis

this works for me

export HOMEBREW_NO_INSTALL_FROM_API=1
brew update
brew upgrade --cask codex

z-houbin avatar Apr 13 '26 04:04 z-houbin