Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-langchain-openai for
openSUSE:Factory checked in at 2026-10-09 21:45:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-langchain-openai (Old)
and /work/SRC/openSUSE:Factory/.python-langchain-openai.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-langchain-openai"
Fri Oct 9 21:45:24 2026 rev:16 rq:1383688 version:1.7.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-langchain-openai/python-langchain-openai.changes
2026-10-01 22:21:49.075386089 +0200
+++
/work/SRC/openSUSE:Factory/.python-langchain-openai.new.3698736/python-langchain-openai.changes
2026-10-09 21:45:30.640639372 +0200
@@ -1,0 +2,8 @@
+Fri Oct 9 07:06:02 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 1.7.0:
+ * Add beta Decisions API wrapper (langchain_openai.decisions)
+ * Add auto_mode and model_router middleware
+ * Raise langchain-core requirement to >= 1.6.8, as upstream does
+
+-------------------------------------------------------------------
Old:
----
langchain_openai-1.6.7.tar.gz
New:
----
langchain_openai-1.7.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-langchain-openai.spec ++++++
--- /var/tmp/diff_new_pack.MLmeTU/_old 2026-10-09 21:45:31.608680107 +0200
+++ /var/tmp/diff_new_pack.MLmeTU/_new 2026-10-09 21:45:31.609680149 +0200
@@ -17,7 +17,7 @@
Name: python-langchain-openai
-Version: 1.6.7
+Version: 1.7.0
Release: 0
Summary: An integration package connecting OpenAI and LangChain
License: MIT
@@ -28,7 +28,7 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-certifi >= 2024.6.2
-Requires: python-langchain-core >= 1.6.6
+Requires: python-langchain-core >= 1.6.8
Requires: python-openai >= 2.45.0
Requires: python-tiktoken >= 0.7.0
BuildArch: noarch
@@ -36,7 +36,7 @@
BuildRequires: %{python_module certifi >= 2024.6.2}
BuildRequires: %{python_module httpx2}
BuildRequires: %{python_module httpx}
-BuildRequires: %{python_module langchain-core >= 1.6.6}
+BuildRequires: %{python_module langchain-core >= 1.6.8}
BuildRequires: %{python_module openai >= 2.45.0}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module tiktoken >= 0.7.0}
@@ -72,15 +72,15 @@
%check
# The standard-test bridge modules (test_*_standard.py), the responses
-# streaming tests and the moderation-middleware test need
-# python-langchain-tests / python-langchain (not in Factory), as does the
+# streaming tests and the moderation/auto_mode/model_router middleware
+# tests need python-langchain-tests / python-langchain (not in Factory), as
does the
# single deselected test_openai_stream_events_v3_lifecycle; the remaining
# unit tests run fully offline. addopts is cleared to drop the --cov default
# (pytest-cov is not needed for the build). The deselected token-counting
# tests call tiktoken with a model whose BPE encoding is not bundled, so
# tiktoken tries to download it from openaipublic.blob.core.windows.net,
# which fails in the offline build (including the o-series variant).
-%pytest tests/unit_tests -o addopts='' --ignore
tests/unit_tests/embeddings/test_azure_standard.py --ignore
tests/unit_tests/embeddings/test_base_standard.py --ignore
tests/unit_tests/chat_models/test_azure_standard.py --ignore
tests/unit_tests/chat_models/test_base_standard.py --ignore
tests/unit_tests/chat_models/test_responses_standard.py --ignore
tests/unit_tests/chat_models/test_responses_stream.py --ignore
tests/unit_tests/middleware/test_openai_moderation_middleware.py --deselect
tests/unit_tests/chat_models/test_base.py::test_openai_stream_events_v3_lifecycle
--deselect tests/unit_tests/chat_models/test_base.py::test__get_encoding_model
--deselect
tests/unit_tests/chat_models/test_base.py::test_get_num_tokens_from_messages
--deselect
tests/unit_tests/chat_models/test_base.py::test_get_num_tokens_from_messages_o_series
--deselect
tests/unit_tests/embeddings/test_base.py::test_embed_documents_with_custom_chunk_size
--deselect tests/unit_tests/embeddings/test_base.py::test_embe
ddings_respects_token_limit --deselect
"tests/unit_tests/llms/test_base.py::test_get_token_ids[gpt-3.5-turbo-instruct]"
--deselect
"tests/unit_tests/test_token_counts.py::test_chat_openai_get_num_tokens[gpt-5.5]"
--deselect
"tests/unit_tests/test_token_counts.py::test_chat_openai_get_num_tokens[gpt-5-nano]"
--deselect
"tests/unit_tests/test_token_counts.py::test_chat_openai_get_num_tokens[o3]"
+%pytest tests/unit_tests -o addopts='' --ignore
tests/unit_tests/embeddings/test_azure_standard.py --ignore
tests/unit_tests/embeddings/test_base_standard.py --ignore
tests/unit_tests/chat_models/test_azure_standard.py --ignore
tests/unit_tests/chat_models/test_base_standard.py --ignore
tests/unit_tests/chat_models/test_responses_standard.py --ignore
tests/unit_tests/chat_models/test_responses_stream.py --ignore
tests/unit_tests/middleware/test_openai_moderation_middleware.py --ignore
tests/unit_tests/middleware/test_auto_mode.py --ignore
tests/unit_tests/middleware/test_model_router.py --deselect
tests/unit_tests/chat_models/test_base.py::test_openai_stream_events_v3_lifecycle
--deselect tests/unit_tests/chat_models/test_base.py::test__get_encoding_model
--deselect
tests/unit_tests/chat_models/test_base.py::test_get_num_tokens_from_messages
--deselect
tests/unit_tests/chat_models/test_base.py::test_get_num_tokens_from_messages_o_series
--deselect tests/unit_tests/embeddings/test_ba
se.py::test_embed_documents_with_custom_chunk_size --deselect
tests/unit_tests/embeddings/test_base.py::test_embeddings_respects_token_limit
--deselect
"tests/unit_tests/llms/test_base.py::test_get_token_ids[gpt-3.5-turbo-instruct]"
--deselect
"tests/unit_tests/test_token_counts.py::test_chat_openai_get_num_tokens[gpt-5.5]"
--deselect
"tests/unit_tests/test_token_counts.py::test_chat_openai_get_num_tokens[gpt-5-nano]"
--deselect
"tests/unit_tests/test_token_counts.py::test_chat_openai_get_num_tokens[o3]"
%files %{python_files}
%doc README.md
++++++ langchain_openai-1.6.7.tar.gz -> langchain_openai-1.7.0.tar.gz ++++++
++++ 3581 lines of diff (skipped)