python3Packages.openai: 2.33.0 -> 2.41.1 (#520204)

This commit is contained in:
Sandro
2026-06-21 14:24:42 +00:00
committed by GitHub
4 changed files with 3 additions and 6 deletions
-1
View File
@@ -2,7 +2,6 @@
lib,
fetchFromGitHub,
python3Packages,
openai,
pdfminer,
withOpenai ? false,
@@ -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
@@ -1682,6 +1682,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
@@ -5325,8 +5325,6 @@ with pkgs;
sdk = true;
};
openai = with python3Packages; toPythonApplication openai;
openai-whisper = with python3.pkgs; toPythonApplication openai-whisper;
oprofile = callPackage ../development/tools/profiling/oprofile {