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-08-18 16:37:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-langchain-openai (Old)
and /work/SRC/openSUSE:Factory/.python-langchain-openai.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-langchain-openai"
Tue Aug 18 16:37:19 2026 rev:10 rq:1371666 version:1.5.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-langchain-openai/python-langchain-openai.changes
2026-08-15 22:41:40.069786441 +0200
+++
/work/SRC/openSUSE:Factory/.python-langchain-openai.new.1258/python-langchain-openai.changes
2026-08-18 16:38:03.024295929 +0200
@@ -1,0 +2,6 @@
+Tue Aug 18 05:37:10 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Avoid variations from --nocheck: move bytecode recompilation and
+ fdupes from %check to %install (boo#1227364)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-langchain-openai.spec ++++++
--- /var/tmp/diff_new_pack.UykXPt/_old 2026-08-18 16:38:03.802323770 +0200
+++ /var/tmp/diff_new_pack.UykXPt/_new 2026-08-18 16:38:03.805323877 +0200
@@ -63,6 +63,10 @@
%install
%pyproject_install
+# Recompile the installed modules as hash-based bytecode: the timestamp-based
+# .pyc desync from the reproducibility-clamped .py mtimes and trip
+# python-bytecode-inconsistent-mtime.
+%python_expand $python -m compileall -q -f --invalidation-mode=unchecked-hash
-o 0 -o 1 -s %{buildroot} %{buildroot}%{$python_sitelib}/langchain_openai
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -76,11 +80,6 @@
# tiktoken tries to download it from openaipublic.blob.core.windows.net,
# which fails in the offline build.
%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/embeddings/test_base.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[gp
t-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]"
-# Recompile the installed modules as hash-based bytecode: the timestamp-based
-# .pyc desync from the reproducibility-clamped .py mtimes and trip
-# python-bytecode-inconsistent-mtime.
-%python_expand $python -m compileall -q -f --invalidation-mode=unchecked-hash
-o 0 -o 1 -s %{buildroot} %{buildroot}%{$python_sitelib}/langchain_openai
-%python_expand %fdupes %{buildroot}%{$python_sitelib}/langchain_openai
%files %{python_files}
%doc README.md