15
0
forked from pool/python-openai

Accepting request 1157055 from home:bnavigator:branches:devel:languages:python

- Update to 1.13.3
- Restrict to pytest-asyncio < 0.23
- Fix License tag: They changed it for release 1.0.0 gh#openai/openai-python#677

OBS-URL: https://build.opensuse.org/request/show/1157055
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openai?expand=0&rev=8
This commit is contained in:
2024-03-12 07:53:23 +00:00
committed by Git OBS Bridge
parent 707c36253b
commit 61242bff0e
4 changed files with 62 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed658cd629add79dd692926bc6f08fa368b0080c59a25c482b70d6aaf35c52b8
size 175912

3
openai-1.13.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4686f2c9e9bc01ddb8f87f97f541c77e7940b00bfe7372bdc6a0280ff14dc1a1
size 182584

View File

@@ -1,3 +1,45 @@
-------------------------------------------------------------------
Mon Mar 11 21:21:09 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 1.13.3
## Features
* api: add wav and pcm to response_format (#1189) (dbd20fc)
## Chores
* client: use anyio.sleep instead of asyncio.sleep (#1198)
(b6d025b)
* internal: bump pyright (#1193) (9202e04)
* types: extract run status to a named type (#1178) (249ecbd)
- Release 1.13.2
## Bug Fixes
* ci: revert "move github release logic to github app" (#1170)
(f1adc2e)
- Release 1.13.1
## Chores
* internal: bump rye to v0.24.0 (#1168) (84c4256)
- Release 1.13.0
## Features
* api: updates (#1146) (79b7675)
## Bug Fixes
* api: remove non-GA instance_id param (#1164) (1abe139)
## Chores
* client: use correct accept headers for binary data (#1161)
(e536437)
- Release 1.12.0
## Features
* api: add timestamp_granularities, add gpt-3.5-turbo-0125 model
(#1125) (1ecf8f6)
* cli/images: add support for --model arg (#1132) (0d53866)
## Bug Fixes
* remove double brackets from timestamp_granularities param
(#1140) (3db0222)
* types: loosen most List params types to Iterable (#1129)
(bdb31a3)
## Chores
* internal: add lint command (#1128) (4c021c0)
* internal: support serialising iterable types (#1127) (98d4e59)
- Restrict to pytest-asyncio < 0.23
- Fix License tag: They changed it for release 1.0.0 gh#openai/openai-python#677
-------------------------------------------------------------------
Fri Jan 26 12:54:53 UTC 2024 - Markéta Machová <mmachova@suse.com>, Module Updater <pgajdos@suse.com>

View File

@@ -16,32 +16,16 @@
#
%define skip_python2 1
%define skip_python36 1
Name: python-openai
Version: 1.10.0
Version: 1.13.3
Release: 0
Summary: OpenAI bindings for python
License: MIT
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/openai/openai-python
Source: https://github.com/openai/openai-python/archive/refs/tags/v%{version}.tar.gz#/openai-%{version}.tar.gz
BuildRequires: %{python_module anyio}
BuildRequires: %{python_module dirty-equals}
BuildRequires: %{python_module distro}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module httpx}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: %{python_module pydantic}
BuildRequires: %{python_module pytest >= 3.5}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module respx}
BuildRequires: %{python_module sniffio}
BuildRequires: %{python_module tqdm}
BuildRequires: %{python_module typing_extensions}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-anyio >= 3.5.0
@@ -52,7 +36,20 @@ Requires: python-sniffio
Requires: python-tqdm > 4
Requires: python-typing_extensions
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
# SECTION test-requirements
BuildRequires: %{python_module anyio}
BuildRequires: %{python_module dirty-equals}
BuildRequires: %{python_module distro}
BuildRequires: %{python_module httpx}
BuildRequires: %{python_module pydantic}
BuildRequires: %{python_module pytest >= 3.5}
BuildRequires: %{python_module pytest-asyncio < 0.23}
BuildRequires: %{python_module respx}
BuildRequires: %{python_module sniffio}
BuildRequires: %{python_module tqdm}
BuildRequires: %{python_module typing_extensions}
# /SECTION
BuildArch: noarch
%python_subpackages
@@ -93,6 +90,6 @@ You can find usage examples for the OpenAI Python library in
%files %{python_files}
%python_alternative %{_bindir}/openai
%{python_sitelib}/openai
%{python_sitelib}/openai-%{version}*-info
%{python_sitelib}/openai-%{version}.dist-info
%changelog