Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-langsmith for 
openSUSE:Factory checked in at 2026-08-01 18:35:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-langsmith (Old)
 and      /work/SRC/openSUSE:Factory/.python-langsmith.new.16738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-langsmith"

Sat Aug  1 18:35:14 2026 rev:17 rq:1368959 version:0.10.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-langsmith/python-langsmith.changes        
2026-07-31 16:10:01.038085375 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-langsmith.new.16738/python-langsmith.changes 
    2026-08-01 18:38:02.305816787 +0200
@@ -1,0 +2,18 @@
+Sat Aug  1 06:35:59 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 0.10.15:
+  * Apply the caller-supplied session's configuration to the v2 API
+    endpoints
+  * Prioritize the API key over OAuth profile authentication
+  * Deprecate the legacy SmithDB-migration and run-sharing SDK
+    methods
+  * Stop supported APIs from emitting nested deprecation warnings
+    for the deprecated methods they call internally
+  * Use a common backend-detection helper and refresh the bundled
+    OpenAPI client
+- Add langsmith-python314-iscoroutinefunction.patch: switch to
+  inspect.iscoroutinefunction(); the asyncio alias is deprecated in
+  Python 3.14, and the newly deprecated client methods trip it at
+  import time
+
+-------------------------------------------------------------------

Old:
----
  langsmith-0.10.14.tar.gz

New:
----
  langsmith-0.10.15.tar.gz
  langsmith-python314-iscoroutinefunction.patch

----------(New B)----------
  New:    OpenAPI client
- Add langsmith-python314-iscoroutinefunction.patch: switch to
  inspect.iscoroutinefunction(); the asyncio alias is deprecated in
----------(New E)----------

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

Other differences:
------------------
++++++ python-langsmith.spec ++++++
--- /var/tmp/diff_new_pack.E45L5W/_old  2026-08-01 18:38:02.825834680 +0200
+++ /var/tmp/diff_new_pack.E45L5W/_new  2026-08-01 18:38:02.829834817 +0200
@@ -17,12 +17,14 @@
 
 
 Name:           python-langsmith
-Version:        0.10.14
+Version:        0.10.15
 Release:        0
 Summary:        Client library for the LangSmith LLM tracing and evaluation 
platform
 License:        MIT
 URL:            https://github.com/langchain-ai/langsmith-sdk
 Source:         
https://files.pythonhosted.org/packages/source/l/langsmith/langsmith-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM langsmith-python314-iscoroutinefunction.patch 
[email protected] -- use inspect.iscoroutinefunction(), the asyncio alias is 
deprecated in Python 3.14
+Patch0:         langsmith-python314-iscoroutinefunction.patch
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes

++++++ langsmith-0.10.14.tar.gz -> langsmith-0.10.15.tar.gz ++++++
++++ 3221 lines of diff (skipped)

++++++ langsmith-python314-iscoroutinefunction.patch ++++++
From: Martin Pluskal <[email protected]>
Subject: Use inspect.iscoroutinefunction() instead of the asyncio alias

Python 3.14 deprecates asyncio.iscoroutinefunction() (removal scheduled
for 3.16) and tells callers to use inspect.iscoroutinefunction()
instead.  The deprecated() decorator runs at class-definition time, so
merely importing langsmith.client emits a DeprecationWarning per
decorated method on 3.14 - which makes the import fail outright under
-W error (tests/unit_tests/test_otel_url.py).

inspect.iscoroutinefunction() unwraps functools.partial the same way, so
this is a drop-in replacement on every Python this package supports
(>= 3.10).

--- langsmith-0.10.15.orig/langsmith/_internal/_beta_decorator.py
+++ langsmith-0.10.15/langsmith/_internal/_beta_decorator.py
@@ -1,7 +1,7 @@
-import asyncio
 import contextlib
 import contextvars
 import functools
+import inspect
 import warnings
 from collections.abc import Iterator
 from typing import Any, Callable
@@ -67,7 +67,7 @@
     """
 
     def decorator(func: Callable) -> Callable:
-        if asyncio.iscoroutinefunction(func):
+        if inspect.iscoroutinefunction(func):
 
             @functools.wraps(func)
             async def async_wrapper(*args: Any, **kwargs: Any) -> Any:

Reply via email to