lol

codex: 0.23.0 -> 0.25.0 (#437598)

authored by

André Silva and committed by
GitHub
058c0ace 0467b6b6

+16 -3
+16 -3
pkgs/by-name/co/codex/package.nix
··· 13 }: 14 rustPlatform.buildRustPackage (finalAttrs: { 15 pname = "codex"; 16 - version = "0.23.0"; 17 18 src = fetchFromGitHub { 19 owner = "openai"; 20 repo = "codex"; 21 tag = "rust-v${finalAttrs.version}"; 22 - hash = "sha256-JS2nRh3/MNQ0mfdr2/Q10sAB38yWBLpw2zFf0dJORuM="; 23 }; 24 25 sourceRoot = "${finalAttrs.src.name}/codex-rs"; 26 27 - cargoHash = "sha256-HbhOiTO7qFp64v+Bb62V1LxPH7qeTnWwkJKPEN4Vx6c="; 28 29 nativeBuildInputs = [ 30 installShellFiles ··· 50 # Wants to access unix sockets 51 "--skip=allow_unix_socketpair_recvfrom" 52 # Needs access to python3. However, adding python3 to nativeCheckInputs doesn't resolve the issue 53 "--skip=python_multiprocessing_lock_works_under_sandbox" 54 # Version 0.0.0 hardcoded 55 "--skip=test_conversation_create_and_send_message_ok" 56 "--skip=test_send_message_session_not_found" 57 "--skip=test_send_message_success" 58 # Tests fail 59 "--skip=diff_render::tests::ui_snapshot_add_details" 60 "--skip=diff_render::tests::ui_snapshot_update_details_with_rename" 61 ] 62 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 63 # Wants to access /bin/zsh ··· 72 "--skip=overrides_turn_context_but_keeps_cached_prefix_and_key_constant" 73 "--skip=prefixes_context_and_instructions_once_and_consistently_across_requests" 74 "--skip=test_apply_patch_tool" 75 ]; 76 77 postInstall = lib.optionalString installShellCompletions ''
··· 13 }: 14 rustPlatform.buildRustPackage (finalAttrs: { 15 pname = "codex"; 16 + version = "0.25.0"; 17 18 src = fetchFromGitHub { 19 owner = "openai"; 20 repo = "codex"; 21 tag = "rust-v${finalAttrs.version}"; 22 + hash = "sha256-a/cUg8yLW4vGPiTtqhyUdkV79JbOB40N4V7Asney7sk="; 23 }; 24 25 sourceRoot = "${finalAttrs.src.name}/codex-rs"; 26 27 + cargoHash = "sha256-NK1TOY5Puo881bhgF3w470k2N4LoC6/qTI93uhg7Alw="; 28 29 nativeBuildInputs = [ 30 installShellFiles ··· 50 # Wants to access unix sockets 51 "--skip=allow_unix_socketpair_recvfrom" 52 # Needs access to python3. However, adding python3 to nativeCheckInputs doesn't resolve the issue 53 + "--skip=exec_command::session_manager::tests::session_manager_streams_and_truncates_from_now" 54 "--skip=python_multiprocessing_lock_works_under_sandbox" 55 # Version 0.0.0 hardcoded 56 "--skip=test_conversation_create_and_send_message_ok" 57 "--skip=test_send_message_session_not_found" 58 "--skip=test_send_message_success" 59 + "--skip=suite::auth::get_auth_status_no_auth" 60 + "--skip=suite::auth::get_auth_status_with_api_key" 61 + "--skip=suite::auth::get_auth_status_with_api_key_no_include_token" 62 + "--skip=suite::login::login_and_cancel_chatgpt" 63 + "--skip=suite::login::logout_chatgpt_removes_auth" 64 # Tests fail 65 "--skip=diff_render::tests::ui_snapshot_add_details" 66 "--skip=diff_render::tests::ui_snapshot_update_details_with_rename" 67 + "--skip=diff_render::tests::ui_snapshot_blank_context_line" 68 + "--skip=diff_render::tests::ui_snapshot_single_line_replacement_counts" 69 + "--skip=diff_render::tests::ui_snapshot_vertical_ellipsis_between_hunks" 70 + # Needs acces to sleep. However, adding coreutils to nativeCheckInputs doesn't resolve the issue 71 + "--skip=suite::exec_stream_events::test_aggregated_output_interleaves_in_order" 72 ] 73 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 74 # Wants to access /bin/zsh ··· 83 "--skip=overrides_turn_context_but_keeps_cached_prefix_and_key_constant" 84 "--skip=prefixes_context_and_instructions_once_and_consistently_across_requests" 85 "--skip=test_apply_patch_tool" 86 + "--skip=suite::prompt_caching::codex_mini_latest_tools" 87 + "--skip=suite::prompt_caching::prompt_tools_are_consistent_across_requests" 88 ]; 89 90 postInstall = lib.optionalString installShellCompletions ''