python3Packages.openai: 2.33.0 -> 2.41.1, openai: drop

Upstream removed the legacy CLI in v2.35.0, so the top-level package
built with toPythonApplication no longer provides any binaries.

Changelog: https://github.com/openai/openai-python/blob/v2.41.1/CHANGELOG.md
Diff: https://github.com/openai/openai-python/compare/v2.33.0...v2.41.1
This commit is contained in:
Malo Bourgon
2026-06-21 15:56:40 +02:00
committed by Sandro Jäckel
parent 2498d84c02
commit 041650c87f
3 changed files with 3 additions and 5 deletions
@@ -51,14 +51,14 @@
buildPythonPackage rec {
pname = "openai";
version = "2.33.0";
version = "2.41.1";
pyproject = true;
src = fetchFromGitHub {
owner = "openai";
repo = "openai-python";
tag = "v${version}";
hash = "sha256-w2ejAJ+V7e4wYSQ/9+WdhO+XaYeSq8U/V5YXHSpn+rI=";
hash = "sha256-jSkBxZY5POlrznhBwFMR2NcL92uGRSYI6BDDC3C7RfU=";
};
postPatch = ''substituteInPlace pyproject.toml --replace-fail "hatchling==1.26.3" "hatchling"'';
@@ -129,6 +129,5 @@ buildPythonPackage rec {
changelog = "https://github.com/openai/openai-python/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.malo ];
mainProgram = "openai";
};
}
+1
View File
@@ -1640,6 +1640,7 @@ mapAliases {
open-stage-control = throw "'open-stage-control' has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-05-04
open-timeline-io = warnAlias "'open-timeline-io' has been renamed to 'opentimelineio'" opentimelineio; # Added 2025-08-10
openafs_1_8 = throw "'openafs_1_8' has been renamed to/replaced by 'openafs'"; # Converted to throw 2025-10-27
openai = throw "'openai' has been removed, since upstream removed the legacy CLI in v2.35.0; use 'python3Packages.openai' instead"; # Added 2026-06-10
openai-triton-llvm = throw "'openai-triton-llvm' has been renamed to/replaced by 'triton-llvm'"; # Converted to throw 2025-10-27
openai-whisper-cpp = throw "'openai-whisper-cpp' has been renamed to/replaced by 'whisper-cpp'"; # Converted to throw 2025-10-27
openalSoft = warnAlias "'openalSoft' has been renamed to 'openal-soft'" openal-soft; # Added 2026-02-09
-2
View File
@@ -5506,8 +5506,6 @@ with pkgs;
sdk = true;
};
openai = with python3Packages; toPythonApplication openai;
openai-whisper = with python3.pkgs; toPythonApplication openai-whisper;
openocd-rp2040 = openocd.overrideAttrs (old: {