T.J. Townsend pushed to branch main at Arch Linux / Packaging / Packages / 
openai-codex


Commits:
d75e3ce1 by T.J. Townsend at 2026-09-22T16:31:05-04:00
upgpkg: 0.156.0-1: update to 0.156.0

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + fix-chatgpt-recursion-limit.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = openai-codex
        pkgdesc = OpenAIs lightweight coding agent that runs in your terminal
-       pkgver = 0.155.1
+       pkgver = 0.156.0
        pkgrel = 1
        url = https://github.com/openai/codex
        arch = x86_64
@@ -23,11 +23,13 @@ pkgbase = openai-codex
        noextract = librusty_v8-150.4.0.a.gz
        options = !debug
        options = !lto
-       source = 
openai-codex-0.155.1.tar.gz::https://github.com/openai/codex/archive/refs/tags/rust-v0.155.1.tar.gz
+       source = 
openai-codex-0.156.0.tar.gz::https://github.com/openai/codex/archive/refs/tags/rust-v0.156.0.tar.gz
        source = 
librusty_v8-150.4.0.a.gz::https://github.com/openai/codex/releases/download/rusty-v8-v150.4.0/librusty_v8_ptrcomp_sandbox_release_x86_64-unknown-linux-gnu.a.gz
        source = 
src_binding-150.4.0.rs::https://github.com/openai/codex/releases/download/rusty-v8-v150.4.0/src_binding_ptrcomp_sandbox_release_x86_64-unknown-linux-gnu.rs
-       b2sums = 
df09e2f2b063c9144975549af23a5c89ed41fa270b4bd144a1609d26dfe05fd28d50cec089a84a7cd6e46d595de38864baf53edb4fe52a37edd2f44b294c359d
+       source = fix-chatgpt-recursion-limit.patch
+       b2sums = 
2a5a198d8fd66abf39f5f82ae7d2d810875970f31fb49b2032e7be9b69fef42153f2ffe4663f7d1174eada52f85080e2c22bdd6410d02da1ddeb660ba73ce73e
        b2sums = 
816509947f4062124bd4f5fe581b8ae2762f3f50562c84558e58fed657a9bd17360120879deb9838a73664e4fc3aa3b8d1ed09bf11093d289f81d9eb9533c9b6
        b2sums = 
b21381b7f09d0205455ba541b2a38ff79b9535c4b8436b309f39f4b40d819e604b3689298ae81deb00c07a12a21ef0fd1bd0bbddb196d63f24d8621ace7165c1
+       b2sums = 
f22bc2186c0c6105598b654b8cadacd75980f9358af11a384a3732c56f6d63f1554d68fa3acd08486cd8af75e805fc06b92f6df8062aabda2aa190c64b7b83fa
 
 pkgname = openai-codex


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 # Contributor: Christopher Cooper <[email protected]>
 
 pkgname=openai-codex
-pkgver=0.155.1
+pkgver=0.156.0
 pkgrel=1
 _v8ver=150.4.0
 pkgdesc='OpenAIs lightweight coding agent that runs in your terminal'
@@ -35,13 +35,17 @@ source=(
   "$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/rust-v$pkgver.tar.gz"
   
"librusty_v8-$_v8ver.a.gz::$url/releases/download/rusty-v8-v$_v8ver/librusty_v8_ptrcomp_sandbox_release_x86_64-unknown-linux-gnu.a.gz"
   
"src_binding-$_v8ver.rs::$url/releases/download/rusty-v8-v$_v8ver/src_binding_ptrcomp_sandbox_release_x86_64-unknown-linux-gnu.rs"
+  'fix-chatgpt-recursion-limit.patch'
 )
 noextract=("librusty_v8-$_v8ver.a.gz")
-b2sums=('df09e2f2b063c9144975549af23a5c89ed41fa270b4bd144a1609d26dfe05fd28d50cec089a84a7cd6e46d595de38864baf53edb4fe52a37edd2f44b294c359d'
+b2sums=('2a5a198d8fd66abf39f5f82ae7d2d810875970f31fb49b2032e7be9b69fef42153f2ffe4663f7d1174eada52f85080e2c22bdd6410d02da1ddeb660ba73ce73e'
         
'816509947f4062124bd4f5fe581b8ae2762f3f50562c84558e58fed657a9bd17360120879deb9838a73664e4fc3aa3b8d1ed09bf11093d289f81d9eb9533c9b6'
-        
'b21381b7f09d0205455ba541b2a38ff79b9535c4b8436b309f39f4b40d819e604b3689298ae81deb00c07a12a21ef0fd1bd0bbddb196d63f24d8621ace7165c1')
+        
'b21381b7f09d0205455ba541b2a38ff79b9535c4b8436b309f39f4b40d819e604b3689298ae81deb00c07a12a21ef0fd1bd0bbddb196d63f24d8621ace7165c1'
+        
'f22bc2186c0c6105598b654b8cadacd75980f9358af11a384a3732c56f6d63f1554d68fa3acd08486cd8af75e805fc06b92f6df8062aabda2aa190c64b7b83fa')
 
 prepare() {
+  patch -d codex-rust-v$pkgver -Np1 \
+    -i "$srcdir/fix-chatgpt-recursion-limit.patch"
   cd codex-rust-v$pkgver/codex-rs
   cargo fetch --target "$(rustc --print host-tuple)"
 }


=====================================
fix-chatgpt-recursion-limit.patch
=====================================
@@ -0,0 +1,9 @@
+diff --git a/codex-rs/chatgpt/src/lib.rs b/codex-rs/chatgpt/src/lib.rs
+--- a/codex-rs/chatgpt/src/lib.rs
++++ b/codex-rs/chatgpt/src/lib.rs
+@@ -1,3 +1,5 @@
++#![recursion_limit = "256"]
++
+ pub mod apply_command;
+ mod chatgpt_client;
+ pub mod connectors;



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/openai-codex/-/commit/d75e3ce1df4a5e930eb9b5e2b31b92882fdc7d16

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/openai-codex/-/commit/d75e3ce1df4a5e930eb9b5e2b31b92882fdc7d16
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to