Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-langgraph for 
openSUSE:Factory checked in at 2026-11-20 14:48:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-langgraph (Old)
 and      /work/SRC/openSUSE:Factory/.python-langgraph.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-langgraph"

Fri Nov 20 14:48:01 2026 rev:18 rq:1398807 version:1.2.23

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-langgraph/python-langgraph.changes        
2026-11-16 09:13:27.098328909 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-langgraph.new.1251/python-langgraph.changes  
    2026-11-20 14:50:39.788376799 +0100
@@ -1,0 +2,10 @@
+Thu Nov 19 07:28:19 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 1.2.23:
+  * Give Send-dispatched tool calls the same state as an edge,
+    so Pydantic and dataclass graphs no longer hand tools
+    a plain dict of channel values
+  * Avoid warning races in dynamic schema creation across threads
+  * Raise python-langgraph-prebuilt floor to >= 1.1.3 per upstream
+
+-------------------------------------------------------------------

Old:
----
  langgraph-1.2.22.tar.gz

New:
----
  langgraph-1.2.23.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-langgraph.spec ++++++
--- /var/tmp/diff_new_pack.6uuBTW/_old  2026-11-20 14:50:40.837421206 +0100
+++ /var/tmp/diff_new_pack.6uuBTW/_new  2026-11-20 14:50:40.839421291 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python-langgraph
-Version:        1.2.22
+Version:        1.2.23
 Release:        0
 Summary:        Library for building stateful, multi-actor applications with 
LLMs
 License:        MIT
@@ -32,7 +32,7 @@
 Requires:       python-langgraph-checkpoint < 5
 Requires:       python-langgraph-checkpoint >= 4.3.0
 Requires:       python-langgraph-prebuilt < 1.2
-Requires:       python-langgraph-prebuilt >= 1.1.0
+Requires:       python-langgraph-prebuilt >= 1.1.3
 Requires:       python-langgraph-sdk < 0.5
 Requires:       python-langgraph-sdk >= 0.4.6
 Requires:       python-pydantic >= 2.7.4

++++++ langgraph-1.2.22.tar.gz -> langgraph-1.2.23.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/langgraph-1.2.22/PKG-INFO 
new/langgraph-1.2.23/PKG-INFO
--- old/langgraph-1.2.22/PKG-INFO       2020-02-02 01:00:00.000000000 +0100
+++ new/langgraph-1.2.23/PKG-INFO       2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.5
 Name: langgraph
-Version: 1.2.22
+Version: 1.2.23
 Summary: Building stateful, multi-actor applications with LLMs
 Project-URL: Homepage, https://docs.langchain.com/oss/python/langgraph/overview
 Project-URL: Documentation, https://reference.langchain.com/python/langgraph/
@@ -24,7 +24,7 @@
 Requires-Python: >=3.10
 Requires-Dist: langchain-core<2,>=1.4.7
 Requires-Dist: langgraph-checkpoint<5.0.0,>=4.3.0
-Requires-Dist: langgraph-prebuilt<1.2.0,>=1.1.0
+Requires-Dist: langgraph-prebuilt<1.2.0,>=1.1.3
 Requires-Dist: langgraph-sdk<0.5.0,>=0.4.6
 Requires-Dist: pydantic>=2.7.4
 Requires-Dist: xxhash>=3.5.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/langgraph-1.2.22/langgraph/_internal/_constants.py 
new/langgraph-1.2.23/langgraph/_internal/_constants.py
--- old/langgraph-1.2.22/langgraph/_internal/_constants.py      2020-02-02 
01:00:00.000000000 +0100
+++ new/langgraph-1.2.23/langgraph/_internal/_constants.py      2020-02-02 
01:00:00.000000000 +0100
@@ -37,6 +37,10 @@
 # holds the `write` function that accepts writes to state/edges/reserved keys
 CONFIG_KEY_READ = sys.intern("__pregel_read")
 # holds the `read` function that returns a copy of the current state
+CONFIG_KEY_READ_STATE = sys.intern("__pregel_read_state")
+# holds a function that returns the state as the task's node gets it from an 
edge,
+# set on Send tasks, whose input is the Send arg instead. Other tasks set it 
to None
+# so a graph running inside a Send task never reads its parent's state
 CONFIG_KEY_CALL = sys.intern("__pregel_call")
 # holds the `call` function that accepts a node/func, args and returns a future
 CONFIG_KEY_CHECKPOINTER = sys.intern("__pregel_checkpointer")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/langgraph-1.2.22/langgraph/_internal/_pydantic.py 
new/langgraph-1.2.23/langgraph/_internal/_pydantic.py
--- old/langgraph-1.2.22/langgraph/_internal/_pydantic.py       2020-02-02 
01:00:00.000000000 +0100
+++ new/langgraph-1.2.23/langgraph/_internal/_pydantic.py       2020-02-02 
01:00:00.000000000 +0100
@@ -2,8 +2,6 @@
 
 import sys
 import typing
-import warnings
-from contextlib import nullcontext
 from dataclasses import is_dataclass
 from functools import lru_cache
 from typing import (
@@ -105,8 +103,7 @@
 
     if default_ is not NO_DEFAULT:
         base_class_attributes["root"] = default_
-    with warnings.catch_warnings():
-        custom_root_type = type(name, (RootModel,), base_class_attributes)
+    custom_root_type = type(name, (RootModel,), base_class_attributes)
     return cast("type[BaseModel]", custom_root_type)
 
 
@@ -225,28 +222,15 @@
             )
         return named_root_model
 
-    # No root, just field definitions
-    names = set(field_definitions.keys())
-
-    capture_warnings = False
-
-    for name in names:
-        # Also if any non-reserved name is used (e.g., model_id or model_name)
-        if name.startswith("model"):
-            capture_warnings = True
-
-    with warnings.catch_warnings() if capture_warnings else nullcontext():
-        if capture_warnings:
-            warnings.filterwarnings(action="ignore")
-        try:
-            return _create_model_cached(model_name, **field_definitions)
-        except TypeError:
-            # something in field definitions is not hashable
-            return _create_model_base(
-                model_name,
-                __config__=_SchemaConfig,
-                **_remap_field_definitions(field_definitions),
-            )
+    try:
+        return _create_model_cached(model_name, **field_definitions)
+    except TypeError:
+        # something in field definitions is not hashable
+        return _create_model_base(
+            model_name,
+            __config__=_SchemaConfig,
+            **_remap_field_definitions(field_definitions),
+        )
 
 
 def is_supported_by_pydantic(type_: Any) -> bool:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/langgraph-1.2.22/langgraph/pregel/_algo.py 
new/langgraph-1.2.23/langgraph/pregel/_algo.py
--- old/langgraph-1.2.22/langgraph/pregel/_algo.py      2020-02-02 
01:00:00.000000000 +0100
+++ new/langgraph-1.2.23/langgraph/pregel/_algo.py      2020-02-02 
01:00:00.000000000 +0100
@@ -42,6 +42,7 @@
     CONFIG_KEY_CHECKPOINTER,
     CONFIG_KEY_NODE_ERROR,
     CONFIG_KEY_READ,
+    CONFIG_KEY_READ_STATE,
     CONFIG_KEY_RESUME_MAP,
     CONFIG_KEY_RUNTIME,
     CONFIG_KEY_SCRATCHPAD,
@@ -734,6 +735,7 @@
                                         triggers,
                                     ),
                                 ),
+                                CONFIG_KEY_READ_STATE: None,
                                 CONFIG_KEY_CHECKPOINTER: (
                                     checkpointer
                                     or 
configurable.get(CONFIG_KEY_CHECKPOINTER)
@@ -911,6 +913,7 @@
                         managed,
                         PregelTaskWrites(in_progress_task_path, name, writes, 
triggers),
                     ),
+                    CONFIG_KEY_READ_STATE: None,
                     CONFIG_KEY_CHECKPOINTER: (
                         checkpointer or 
configurable.get(CONFIG_KEY_CHECKPOINTER)
                     ),
@@ -1081,6 +1084,15 @@
                             translated_task_path, packet.node, writes, triggers
                         ),
                     ),
+                    CONFIG_KEY_READ_STATE: partial(
+                        _proc_input,
+                        proc,
+                        managed,
+                        channels,
+                        for_execution=True,
+                        scratchpad=scratchpad,
+                        input_cache=None,
+                    ),
                     CONFIG_KEY_CHECKPOINTER: (
                         checkpointer or 
configurable.get(CONFIG_KEY_CHECKPOINTER)
                     ),
@@ -1222,6 +1234,7 @@
                         PUSH_TRIGGER,
                     ),
                 ),
+                CONFIG_KEY_READ_STATE: None,
                 CONFIG_KEY_CHECKPOINTER: (
                     checkpointer or configurable.get(CONFIG_KEY_CHECKPOINTER)
                 ),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/langgraph-1.2.22/pyproject.toml 
new/langgraph-1.2.23/pyproject.toml
--- old/langgraph-1.2.22/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/langgraph-1.2.23/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -4,7 +4,7 @@
 
 [project]
 name = "langgraph"
-version = "1.2.22"
+version = "1.2.23"
 description = "Building stateful, multi-actor applications with LLMs"
 authors = []
 requires-python = ">=3.10"
@@ -27,7 +27,7 @@
     "langchain-core>=1.4.7,<2",
     "langgraph-checkpoint>=4.3.0,<5.0.0",
     "langgraph-sdk>=0.4.6,<0.5.0",
-    "langgraph-prebuilt>=1.1.0,<1.2.0",
+    "langgraph-prebuilt>=1.1.3,<1.2.0",
     "xxhash>=3.5.0",
     "pydantic>=2.7.4",
 ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/langgraph-1.2.22/tests/test_pydantic.py 
new/langgraph-1.2.23/tests/test_pydantic.py
--- old/langgraph-1.2.22/tests/test_pydantic.py 2020-02-02 01:00:00.000000000 
+0100
+++ new/langgraph-1.2.23/tests/test_pydantic.py 2020-02-02 01:00:00.000000000 
+0100
@@ -6,10 +6,14 @@
 import sys
 import typing
 import uuid
+import warnings
+from concurrent.futures import ThreadPoolExecutor
 from enum import Enum
+from threading import Event
 from typing import Annotated, Literal, Optional
 
 import pydantic
+import pytest
 import typing_extensions
 from langgraph.checkpoint.base import BaseCheckpointSaver
 from pydantic import (
@@ -25,7 +29,7 @@
     model_validator,
 )
 
-from langgraph._internal._pydantic import is_supported_by_pydantic
+from langgraph._internal._pydantic import create_model, 
is_supported_by_pydantic
 from langgraph.constants import END, START
 from langgraph.func import entrypoint, task
 from langgraph.graph.state import StateGraph
@@ -33,6 +37,124 @@
 from tests.any_str import AnyStr
 
 
[email protected]("root_model", [False, True], ids=["fields", "root"])
[email protected]("default", [None, []], ids=["cached", "uncached"])
+def test_create_model_preserves_concurrent_warnings(root_model, default) -> 
None:
+    schema_started = Event()
+    warning_emitted = Event()
+
+    class PausedSchema:
+        @classmethod
+        def __get_pydantic_core_schema__(cls, source, handler):
+            schema_started.set()
+            assert warning_emitted.wait(timeout=10)
+            return handler(source)
+
+    type_ = Annotated[list[int] | None, PausedSchema]
+    kwargs = (
+        {"root": (type_, default)}
+        if root_model
+        else {"field_definitions": {"model_values": (type_, default)}}
+    )
+    with warnings.catch_warnings(record=True) as captured:
+        warnings.simplefilter("always")
+        with ThreadPoolExecutor(max_workers=1) as executor:
+            future = executor.submit(create_model, "ConcurrentSchema", 
**kwargs)
+            try:
+                assert schema_started.wait(timeout=10)
+                warnings.warn("unrelated concurrent warning", UserWarning)
+                warnings.simplefilter("error", DeprecationWarning)
+            finally:
+                warning_emitted.set()
+            model = future.result(timeout=10)
+
+        assert [str(warning.message) for warning in captured] == [
+            "unrelated concurrent warning"
+        ]
+        with pytest.raises(DeprecationWarning, match="retained warning 
filter"):
+            warnings.warn("retained warning filter", DeprecationWarning)
+
+    instance = model.model_validate(["1"] if root_model else {"model_values": 
["1"]})
+    assert instance.model_dump() == ([1] if root_model else {"model_values": 
[1]})
+
+
[email protected]("default", [0, []], ids=["cached", "uncached"])
+def test_create_model_model_fields(default) -> None:
+    with warnings.catch_warnings():
+        warnings.simplefilter("error")
+        model = create_model(
+            "ModelFields",
+            field_definitions={
+                "model_id": (int, ...),
+                "model_name": (str, "default"),
+                "model_dump": (str, ...),
+                "_private": (int, 0),
+                "model_value": (int | list[int], default),
+            },
+        )
+
+    instance = model.model_validate(
+        {"model_id": "1", "model_dump": "data", "_private": "2"}
+    )
+    assert model.__name__ == "ModelFields"
+    assert instance.model_dump(by_alias=True) == {
+        "model_id": 1,
+        "model_name": "default",
+        "model_dump": "data",
+        "_private": 2,
+        "model_value": default,
+    }
+    with pytest.raises(pydantic.ValidationError, match="model_id"):
+        model.model_validate({"model_id": "invalid", "model_dump": "data"})
+    with pytest.raises(pydantic.ValidationError, match="frozen_instance"):
+        instance.model_id = 2
+
+    schema = model.model_json_schema()
+    assert schema["title"] == "ModelFields"
+    assert schema["required"] == ["model_id", "model_dump"]
+    assert set(schema["properties"]) == {
+        "model_id",
+        "model_name",
+        "model_dump",
+        "_private",
+        "model_value",
+    }
+    assert schema["properties"]["model_dump"] == {
+        "title": "Model Dump",
+        "type": "string",
+    }
+    assert schema["properties"]["model_value"]["default"] == default
+
+
[email protected]("default", [0, []], ids=["cached", "uncached"])
+def test_create_root_model_defaults(default) -> None:
+    model = create_model("RootSchema", root=(int | list[int], default))
+    assert model.__name__ == "RootSchema"
+    assert model().model_dump() == default
+    assert model.model_validate("2").model_dump() == 2
+    schema = model.model_json_schema()
+    assert schema == {
+        "anyOf": [{"type": "integer"}, {"items": {"type": "integer"}, "type": 
"array"}],
+        "default": default,
+        "title": "RootSchema",
+    }
+    with pytest.warns(pydantic.PydanticDeprecatedSince20, match="deprecated"):
+        assert model.schema() == schema
+
+
+def test_create_model_preserves_schema_warnings() -> None:
+    class WarningSchema:
+        @classmethod
+        def __get_pydantic_core_schema__(cls, source, handler):
+            warnings.warn("custom schema warning", UserWarning)
+            return handler(source)
+
+    with pytest.warns(UserWarning, match="custom schema warning"):
+        create_model(
+            "WarningSchema", field_definitions={"model_value": (WarningSchema, 
...)}
+        )
+
+
 def test_is_supported_by_pydantic() -> None:
     """Test if types are supported by pydantic."""
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/langgraph-1.2.22/uv.lock new/langgraph-1.2.23/uv.lock
--- old/langgraph-1.2.22/uv.lock        2020-02-02 01:00:00.000000000 +0100
+++ new/langgraph-1.2.23/uv.lock        2020-02-02 01:00:00.000000000 +0100
@@ -1440,7 +1440,7 @@
 
 [[package]]
 name = "langgraph"
-version = "1.2.22"
+version = "1.2.23"
 source = { editable = "." }
 dependencies = [
     { name = "langchain-core" },
@@ -1827,7 +1827,7 @@
 
 [[package]]
 name = "langgraph-prebuilt"
-version = "1.1.2"
+version = "1.1.3"
 source = { editable = "../prebuilt" }
 dependencies = [
     { name = "langchain-core" },
@@ -2182,14 +2182,14 @@
 
 [[package]]
 name = "opentelemetry-api"
-version = "1.45.1"
+version = "1.45.2"
 source = { registry = "https://pypi.org/simple"; }
 dependencies = [
     { name = "typing-extensions" },
 ]
-sdist = { url = 
"https://files.pythonhosted.org/packages/2e/02/6e0ae9cc61bd3169d401077b507b3ebc344745171e1051ab430be012dcd9/opentelemetry_api-1.45.1.tar.gz";,
 hash = 
"sha256:aa38ed19bcc084ba42782a73255b3582283eced7ad6dddbd6695189e69adfb75", size 
= 72804, upload-time = "2026-10-06T17:32:58.133Z" }
+sdist = { url = 
"https://files.pythonhosted.org/packages/19/14/cf3a6b6448849656e1e5f4e2101f3988dc6789724050096aba1bc5ccf592/opentelemetry_api-1.45.2.tar.gz";,
 hash = 
"sha256:d7b0008e21e5fd61cbe7a7f34ca3b6905a78ab677d9bc395e299359c75cda6b4", size 
= 73277, upload-time = "2026-10-29T17:29:37.888Z" }
 wheels = [
-    { url = 
"https://files.pythonhosted.org/packages/1e/41/f7dcf80b81ee8e71c1a2b59f14208bc723edbd89ed027a73b175abf6348e/opentelemetry_api-1.45.1-py3-none-any.whl";,
 hash = 
"sha256:b31553efa588ae44bc306f863c785c5333a9ecc091248c6ee68b4b6c87fdedfb", size 
= 60256, upload-time = "2026-10-06T17:32:33.506Z" },
+    { url = 
"https://files.pythonhosted.org/packages/a9/2d/610db864d7513158cebb8f36cc88e67e73bd6c7aa1905ef18d89e1281c81/opentelemetry_api-1.45.2-py3-none-any.whl";,
 hash = 
"sha256:2cbd737377e710ee740d261c94e93fa0f08e6d037c18f17513cc0a2d94479a34", size 
= 60335, upload-time = "2026-10-29T17:29:06.955Z" },
 ]
 
 [[package]]
@@ -2281,29 +2281,29 @@
 
 [[package]]
 name = "opentelemetry-sdk"
-version = "1.45.1"
+version = "1.45.2"
 source = { registry = "https://pypi.org/simple"; }
 dependencies = [
     { name = "opentelemetry-api" },
     { name = "opentelemetry-semantic-conventions" },
     { name = "typing-extensions" },
 ]
-sdist = { url = 
"https://files.pythonhosted.org/packages/a1/79/7392e21a1c8f0c61d90b223e31c7e48cb9d452e91a6b820ad24cca5f23c4/opentelemetry_sdk-1.45.1.tar.gz";,
 hash = 
"sha256:63d24a6ca645019a631e6a51999c73e93adcac1196ca640b8ae78a7cc4762bf3", size 
= 218324, upload-time = "2026-10-06T17:33:13.26Z" }
+sdist = { url = 
"https://files.pythonhosted.org/packages/7b/1a/74a21d4d6969fb8b432ac397e66112a8167a6deb267ea4559dbaf2fe91ef/opentelemetry_sdk-1.45.2.tar.gz";,
 hash = 
"sha256:7eec4de13dd21ff3a1670dcb0e02079e692736f94d733dfdce5af461d884248d", size 
= 221705, upload-time = "2026-10-29T17:29:54.685Z" }
 wheels = [
-    { url = 
"https://files.pythonhosted.org/packages/95/3c/87c42b4bd6dd297536f04cd9383d212ac557ecd49f2cbdcd46da1c9ef5c8/opentelemetry_sdk-1.45.1-py3-none-any.whl";,
 hash = 
"sha256:c604c11dc429810812348989115fa44bd558772a3d7442afc43d024f2c250ca4", size 
= 140063, upload-time = "2026-10-06T17:32:55.04Z" },
+    { url = 
"https://files.pythonhosted.org/packages/9f/a5/9a3b793ef48245f2336a16beb2324c2397dbb3f987cd68942f77cca06156/opentelemetry_sdk-1.45.2-py3-none-any.whl";,
 hash = 
"sha256:ff974ea70ee4f1d51e2ec152db37c2b626c7bf82bb3f7d86114fd8704e7199c6", size 
= 141756, upload-time = "2026-10-29T17:29:33.722Z" },
 ]
 
 [[package]]
 name = "opentelemetry-semantic-conventions"
-version = "0.66b1"
+version = "0.66b2"
 source = { registry = "https://pypi.org/simple"; }
 dependencies = [
     { name = "opentelemetry-api" },
     { name = "typing-extensions" },
 ]
-sdist = { url = 
"https://files.pythonhosted.org/packages/46/e4/dbbfb2a010c4db2224a5114638acede6fe563d33cc20fb1752cebcbe6298/opentelemetry_semantic_conventions-0.66b1.tar.gz";,
 hash = 
"sha256:497ca63bf383723411e8eaf60c8779e9877633c936bb641080adab59d0eb6ec8", size 
= 150250, upload-time = "2026-10-06T17:33:14.073Z" }
+sdist = { url = 
"https://files.pythonhosted.org/packages/37/3f/50f95972b50e8e353f5b9342034c9cd17730f1956f009ce6a3fbbd89f9ce/opentelemetry_semantic_conventions-0.66b2.tar.gz";,
 hash = 
"sha256:7da5f1a5dc4383eb66711d4d3d3e71824d9403ac1559fea021cc103c1a4c4976", size 
= 150246, upload-time = "2026-10-29T17:29:55.682Z" }
 wheels = [
-    { url = 
"https://files.pythonhosted.org/packages/bc/14/67f8aa798857f8cf686f515bf93d9bb877ce952ddc8efae0fa25b45ce0d6/opentelemetry_semantic_conventions-0.66b1-py3-none-any.whl";,
 hash = 
"sha256:d4cddeb4315490b35213f55e2bdc9ac54bb1e4d318927475bed62b35545e581b", size 
= 206279, upload-time = "2026-10-06T17:32:56.103Z" },
+    { url = 
"https://files.pythonhosted.org/packages/67/bd/6bf33ed31521c565931c037e9e81bac47c1acb000e850c6e24220e2a0c00/opentelemetry_semantic_conventions-0.66b2-py3-none-any.whl";,
 hash = 
"sha256:4cbe61e5f9275d57ab31708446e7938ef4291ebbe6a7fca6f7a629c5acae87d8", size 
= 206280, upload-time = "2026-10-29T17:29:35.062Z" },
 ]
 
 [[package]]

Reply via email to