Merge pull request #197103 from malob/update-openai
openai: 0.23.1 -> 0.24.0
This commit is contained in:
commit
6193fe6994
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "readstat";
|
||||
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
|
||||
buildInputs = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ libiconv ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/WizardMac/ReadStat";
|
||||
description = "Command-line tool (+ C library) for converting SAS, Stata, and SPSS files";
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openai";
|
||||
version = "0.23.1";
|
||||
version = "0.24.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7.1";
|
||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
owner = "openai";
|
||||
repo = "openai-python";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4RdER6ecvHGXTLZ1GnBNI1hIETI8O/t+kuOXiQhMigs=";
|
||||
hash = "sha256-0bXJoEq8FHRNaFMjncIwDbJROtFz/IJ4gD+LfvmtFUg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -72,7 +72,9 @@ buildPythonPackage rec {
|
||||
disabledTestPaths = [
|
||||
# Requires a real API key
|
||||
"openai/tests/test_endpoints.py"
|
||||
# openai: command not found
|
||||
"openai/tests/test_file_cli.py"
|
||||
"openai/tests/test_long_examples_validator.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, jinja2
|
||||
@ -101,6 +102,8 @@ buildPythonPackage rec {
|
||||
"test_dummies"
|
||||
"test_from_dummies_args"
|
||||
"test_rolling_step_method"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"test_plotting" # Fatal Python error: Illegal instruction
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, libiconv
|
||||
, pandas
|
||||
, python
|
||||
, pythonOlder
|
||||
@ -29,6 +31,8 @@ buildPythonPackage rec {
|
||||
|
||||
buildInputs = [
|
||||
zlib
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -10754,7 +10754,9 @@ with pkgs;
|
||||
|
||||
read-edid = callPackage ../os-specific/linux/read-edid { };
|
||||
|
||||
readstat = callPackage ../applications/science/math/readstat { };
|
||||
readstat = callPackage ../applications/science/math/readstat {
|
||||
inherit (pkgs.darwin) libiconv;
|
||||
};
|
||||
|
||||
redir = callPackage ../tools/networking/redir { };
|
||||
|
||||
|
@ -8495,7 +8495,9 @@ in {
|
||||
|
||||
pyramid_multiauth = callPackage ../development/python-modules/pyramid_multiauth { };
|
||||
|
||||
pyreadstat = callPackage ../development/python-modules/pyreadstat { };
|
||||
pyreadstat = callPackage ../development/python-modules/pyreadstat {
|
||||
inherit (pkgs.darwin) libiconv;
|
||||
};
|
||||
|
||||
pyrealsense2 = toPythonModule (pkgs.librealsense.override {
|
||||
enablePython = true;
|
||||
|
Loading…
Reference in New Issue
Block a user