Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-openai for openSUSE:Factory checked in at 2026-07-12 18:37:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-openai (Old) and /work/SRC/openSUSE:Factory/.python-openai.new.1991 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-openai" Sun Jul 12 18:37:01 2026 rev:20 rq:1365044 version:2.45.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-openai/python-openai.changes 2026-05-04 12:58:10.188969032 +0200 +++ /work/SRC/openSUSE:Factory/.python-openai.new.1991/python-openai.changes 2026-07-12 18:37:08.766790482 +0200 @@ -1,0 +2,26 @@ +Sat Jul 11 08:22:25 UTC 2026 - Martin Pluskal <[email protected]> + +- update to 2.45.0: + * Many API additions and bug fixes across 2.34.0-2.45.0 + * Amazon Bedrock support: run Responses through Bedrock, set + Bedrock/AWS credentials on the client, with an optional AWS + (botocore) dependency stack + * New admin/organization API surfaces: per-endpoint Admin API + keys, project spend alerts, group and user role management, + and workload-identity authentication (including audit logs) + * Moderation available on the responses and chat completions + resources + * Realtime rework (realtime 2) and websocket improvements: + reconnection support, raw-data send, and enqueuing while + disconnected + * Support for newer model slugs (gpt-5.x family) and image API + updates + * Auth handling reworked to preserve selected credentials and + prioritize the first auth header; require bearer auth for + stream helpers + * The legacy "openai" command-line entry point has been removed + upstream; the package no longer ships the openai binary + * Dependency floors raised to match upstream: jiter >= 0.10.0, + typing_extensions >= 4.14; anyio floor relaxed to >= 3.5.0 + +------------------------------------------------------------------- Old: ---- openai-2.33.0.tar.gz New: ---- openai-2.45.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-openai.spec ++++++ --- /var/tmp/diff_new_pack.gOnLHQ/_old 2026-07-12 18:37:10.514848198 +0200 +++ /var/tmp/diff_new_pack.gOnLHQ/_new 2026-07-12 18:37:10.518848330 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-openai -Version: 2.33.0 +Version: 2.45.0 Release: 0 Summary: OpenAI bindings for python License: Apache-2.0 @@ -31,23 +31,21 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-anyio >= 4.5.0 +Requires: python-anyio >= 3.5.0 Requires: python-distro >= 1.7.0 Requires: python-httpx >= 0.23.0 -Requires: python-jiter >= 0.4.0 +Requires: python-jiter >= 0.10.0 Requires: python-pydantic >= 1.9.0 Requires: python-sniffio Requires: python-tqdm > 4 -Requires: python-typing_extensions -Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires: python-typing_extensions >= 4.14 # SECTION test-requirements 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 >= 7.7.0} -BuildRequires: %{python_module inline-snapshot >= 0.7.0} -BuildRequires: %{python_module jiter >= 0.4.0} +BuildRequires: %{python_module importlib-metadata >= 6.7.0} +BuildRequires: %{python_module inline-snapshot >= 0.28.0} +BuildRequires: %{python_module jiter >= 0.10.0} BuildRequires: %{python_module mypy} BuildRequires: %{python_module nest-asyncio} BuildRequires: %{python_module pydantic >= 1.9.0} @@ -86,7 +84,6 @@ %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%python_clone -a %{buildroot}%{_bindir}/openai %check # most of tests/api_resources need registered API key @@ -96,16 +93,12 @@ # 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 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 -%python_install_alternative openai - -%postun -%python_uninstall_alternative openai +# The tests/lib/test_bedrock*.py suites exercise the optional Amazon Bedrock +# auth support, which needs the optional botocore/AWS dependency stack (the +# "bedrock" extra) that is not part of the core package; deselect them. +%pytest --ignore "tests/api_resources" --ignore "tests/lib/chat/test_completions_streaming.py" --ignore "tests/lib/test_bedrock.py" --ignore "tests/lib/test_bedrock_auth_conformance.py" --ignore "tests/lib/test_bedrock_credential_chain.py" --ignore "tests/lib/test_bedrock_provider.py" -m "not asyncio" -k "not (test_streaming_response or test_copy_build_request or test_basic_attribute_access_works)" %files %{python_files} -%python_alternative %{_bindir}/openai %{python_sitelib}/openai %{python_sitelib}/openai-%{version}.dist-info ++++++ openai-2.33.0.tar.gz -> openai-2.45.0.tar.gz ++++++ ++++ 94139 lines of diff (skipped)
