From 1148bf1fcdc9311d42bb61cce549ff4108337469bd857f46273c29d8280869c7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 24 Jul 2023 20:19:04 +0000 Subject: [PATCH] - update to 0.27.8: * Periodically close open `request.Sessions` to avoid buggy interaction with Docker Desktop * Support for Azure Dall-e * Embeddings util - remove unnecessary sort by index * allow api_version to be set by environment variable * Fixed CLI streamed chat completions. * Update README to use gpt-3.5-turbo by default * Updating code and readme to reference the Azure's newest 2023-05-15 API Version * allow for passing requests.Session * fix error messages mentioning support@ * Speed up imports * Add proxy argument support for openai client * Add `__version__` in `__init__.py` * Fix grabbing value out of header * add case to handle indented .json parsing (#175) * Add `openai/datalib/__init__.py` * updated the link for OpenAI API OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openai?expand=0&rev=4 --- openai-0.27.8.tar.gz | 3 +++ openai-python-0.26.2.tar.gz | 3 --- python-openai.changes | 23 +++++++++++++++++++++++ python-openai.spec | 6 +++--- 4 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 openai-0.27.8.tar.gz delete mode 100644 openai-python-0.26.2.tar.gz diff --git a/openai-0.27.8.tar.gz b/openai-0.27.8.tar.gz new file mode 100644 index 0000000..51767a0 --- /dev/null +++ b/openai-0.27.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2483095c7db1eee274cebac79e315a986c4e55207bb4fa7b82d185b3a2ed9536 +size 60012 diff --git a/openai-python-0.26.2.tar.gz b/openai-python-0.26.2.tar.gz deleted file mode 100644 index 8a15282..0000000 --- a/openai-python-0.26.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a591bd126ac8da0dc479895db7383cc4d47c1fea6e29f74638af6ba9fb91ffca -size 51811 diff --git a/python-openai.changes b/python-openai.changes index f421b4c..4f0cdb0 100644 --- a/python-openai.changes +++ b/python-openai.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Jul 24 20:18:16 UTC 2023 - Dirk Müller + +- update to 0.27.8: + * Periodically close open `request.Sessions` to avoid buggy + interaction with Docker Desktop + * Support for Azure Dall-e + * Embeddings util - remove unnecessary sort by index + * allow api_version to be set by environment variable + * Fixed CLI streamed chat completions. + * Update README to use gpt-3.5-turbo by default + * Updating code and readme to reference the Azure's newest + 2023-05-15 API Version + * allow for passing requests.Session + * fix error messages mentioning support@ + * Speed up imports + * Add proxy argument support for openai client + * Add `__version__` in `__init__.py` + * Fix grabbing value out of header + * add case to handle indented .json parsing (#175) + * Add `openai/datalib/__init__.py` + * updated the link for OpenAI API + ------------------------------------------------------------------- Thu Jan 26 10:13:45 UTC 2023 - Matej Cepl diff --git a/python-openai.spec b/python-openai.spec index 7c1a5e2..8c89609 100644 --- a/python-openai.spec +++ b/python-openai.spec @@ -19,13 +19,13 @@ %define skip_python2 1 %define skip_python36 1 Name: python-openai -Version: 0.26.2 +Version: 0.27.8 Release: 0 Summary: OpenAI bindings for python License: MIT Group: Development/Languages/Python URL: https://github.com/openai/openai-python -Source: openai-python-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/o/openai/openai-%{version}.tar.gz BuildRequires: %{python_module aiohttp} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry} @@ -55,7 +55,7 @@ You can find usage examples for the OpenAI Python library in https://github.com/openai/openai-cookbook/. %prep -%autosetup -p1 -n openai-python-%{version} +%autosetup -p1 -n openai-%{version} %build %pyproject_wheel