15
0
forked from pool/python-openai

Accepting request 1273777 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1273777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-openai?expand=0&rev=10
This commit is contained in:
2025-05-01 13:23:17 +00:00
committed by Git OBS Bridge
4 changed files with 26 additions and 10 deletions

View File

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

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

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

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Apr 17 10:30:36 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
- Update to 1.73.0
* api: add o3 and o4-mini model IDs (4bacbd5)
* api: Add evalapi to sdk (#2287) (35262fc)
* api: add get /responses/{response_id}/input_items endpoint (4c6a35d)
* api: add get /chat/completions endpoint (e6b8a42)
* add audio helpers (423655c)
* api: new models for TTS, STT, + new audio features for Realtime (#2232) (ab5192d)
* api: add support for storing chat completions (#2117) (2357a8f)
* client: send X-Stainless-Read-Timeout header (#2094) (0288213)
* embeddings: use stdlib array type for improved performance (#2060) (9a95db9)
* pagination: avoid fetching when has_more: false (#2098) (1882483)
-------------------------------------------------------------------
Fri Jan 3 13:46:26 UTC 2025 - Nico Krapp <nico.krapp@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-openai
Version: 1.59.1
Version: 1.73.0
Release: 0
Summary: OpenAI bindings for python
License: Apache-2.0
@@ -31,7 +31,7 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-anyio >= 3.5.0
Requires: python-anyio >= 4.5.0
Requires: python-distro >= 1.7.0
Requires: python-httpx >= 0.23.0
Requires: python-jiter >= 0.4.0
@@ -45,12 +45,12 @@ Requires(postun): update-alternatives
BuildRequires: %{python_module dirty-equals >= 0.6.0}
BuildRequires: %{python_module distro >= 1.7.0}
BuildRequires: %{python_module httpx >= 0.23.0}
BuildRequires: %{python_module importlib-metadata >= 6.7.0}
BuildRequires: %{python_module importlib-metadata >= 7.7.0}
BuildRequires: %{python_module inline-snapshot >= 0.7.0}
BuildRequires: %{python_module jiter}
BuildRequires: %{python_module jiter >= 0.4.0}
BuildRequires: %{python_module mypy}
BuildRequires: %{python_module nest-asyncio}
BuildRequires: %{python_module pydantic}
BuildRequires: %{python_module pydantic >= 1.9.0}
BuildRequires: %{python_module pyright >= 1.1.359}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
@@ -58,7 +58,7 @@ BuildRequires: %{python_module respx}
BuildRequires: %{python_module rich >= 13.7.1}
BuildRequires: %{python_module time-machine}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module tqdm}
BuildRequires: %{python_module tqdm > 4}
BuildRequires: %{python_module trio >= 0.22.2}
BuildRequires: %{python_module typing_extensions}
# /SECTION
@@ -94,7 +94,7 @@ You can find usage examples for the OpenAI Python library in
# test_basic_attribute_access_works needs network connection
# NOTE: Also, "tests/lib/chat/test_completions_streaming.py" required static snapshot
# files (./.inline_snapshop/external) which are *not included* in the tarball so we need to deselect those tests.
# NOTE: disable tests with the "asyncio" marker because they required pluggy version 1.3.0 or older
# NOTE: disable tests with the "asyncio" marker because they required pluggy version 2.3.0 or older
%pytest --ignore "tests/api_resources" --ignore "tests/lib/chat/test_completions_streaming.py" -m "not asyncio" -k "not (test_streaming_response or test_copy_build_request or test_basic_attribute_access_works)"
%post