20
0

Update to 0.9.7; enable OTEL span tests; drop sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-langsmith?expand=0&rev=10
This commit is contained in:
2026-07-03 06:46:41 +00:00
committed by Git OBS Bridge
parent b9ad5f6a40
commit 881a76bea4
4 changed files with 22 additions and 8 deletions
+13
View File
@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Jul 3 06:39:47 UTC 2026 - Martin Pluskal <mpluskal@suse.com>
- Update to 0.9.7:
* Add an optional Google ADK Live voice tracing integration
(new google-adk-live extra; not enabled in this package)
* Attribute voice traces via ls_integration metadata and set
provider/model metadata on voice LLM runs for cost tracking
- Enable the OpenTelemetry span utility unit tests (new
BuildRequires on python-opentelemetry-sdk)
- Drop obsolete %{?sle15_python_module_pythons} (SLE 15 /
Leap 15.x is out of support)
-------------------------------------------------------------------
Thu Jul 2 16:43:22 UTC 2026 - Martin Pluskal <mpluskal@suse.com>
+6 -5
View File
@@ -16,9 +16,8 @@
#
%{?sle15_python_module_pythons}
Name: python-langsmith
Version: 0.9.6
Version: 0.9.7
Release: 0
Summary: Client library for the LangSmith LLM tracing and evaluation platform
License: MIT
@@ -51,6 +50,7 @@ BuildRequires: %{python_module distro >= 1.7.0}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module httpx >= 0.23.0}
BuildRequires: %{python_module multipart}
BuildRequires: %{python_module opentelemetry-sdk >= 1.30.0}
BuildRequires: %{python_module orjson >= 3.9.14}
BuildRequires: %{python_module packaging >= 23.2}
BuildRequires: %{python_module pydantic >= 2}
@@ -87,9 +87,10 @@ rm -f conftest.py
%check
export LANGSMITH_TRACING=false
# Run unit tests only; skip integration/network tests and modules that need
# optional providers (LLM wrappers, sandbox websockets client, CLI,
# opentelemetry) or langchain-core (which depends on langsmith -> build cycle).
%pytest tests/unit_tests -p no:langsmith_plugin --ignore tests/unit_tests/wrappers --ignore tests/unit_tests/sandbox --ignore tests/unit_tests/cli --ignore tests/unit_tests/evaluation --ignore tests/unit_tests/test_async_client.py --ignore tests/unit_tests/test_client.py --ignore tests/unit_tests/test_run_helpers.py --ignore tests/unit_tests/test_hybrid_tracing.py --ignore tests/unit_tests/test_span_utils.py -k 'not test_client_gc and not test_git_info and not test_as_runnable'
# optional providers (LLM wrappers, sandbox websockets client, CLI) or
# langchain-core (which depends on langsmith -> build cycle);
# test_hybrid_tracing.py carries an upstream module-level pytest.skip.
%pytest tests/unit_tests -p no:langsmith_plugin --ignore tests/unit_tests/wrappers --ignore tests/unit_tests/sandbox --ignore tests/unit_tests/cli --ignore tests/unit_tests/evaluation --ignore tests/unit_tests/test_async_client.py --ignore tests/unit_tests/test_client.py --ignore tests/unit_tests/test_run_helpers.py --ignore tests/unit_tests/test_hybrid_tracing.py -k 'not test_client_gc and not test_git_info and not test_as_runnable'
# Recompile the installed modules as hash-based bytecode: this package ships
# many modules, so timestamp-based .pyc desync from the reproducibility-clamped
# .py mtimes and trip python-bytecode-inconsistent-mtime.
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1df590a40352b2f40a36229d90e2ef6af276a0bc9f1e44a87b829f879eed2130
size 4714803
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40f8a66a466a7abd991a9df1b50de0a9d30c48ee0d3da46ce00516b68e41c9d7
size 4711142