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-07-01 16:36:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-langsmith (Old)
and /work/SRC/openSUSE:Factory/.python-langsmith.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-langsmith"
Wed Jul 1 16:36:02 2026 rev:3 rq:1362932 version:0.9.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-langsmith/python-langsmith.changes
2025-09-15 19:56:37.896487245 +0200
+++
/work/SRC/openSUSE:Factory/.python-langsmith.new.11887/python-langsmith.changes
2026-07-01 16:36:21.588480236 +0200
@@ -1,0 +2,19 @@
+Sun Jun 28 20:31:13 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 0.9.3:
+ * Client library for the LangSmith observability and evaluation
+ platform; many releases of fixes and new tracing/evaluation
+ features since 0.1.52.
+ * websockets is now a core runtime dependency.
+- Switch Source to the PyPI sdist (langsmith-%{version}.tar.gz)
+ instead of the GitHub archive; the sdist ships only the Python
+ client and its unit tests.
+- Build with the hatchling backend (upstream moved away from poetry).
+- Drop the langsmith console-script and its update-alternatives
+ handling; upstream no longer ships a CLI entry point.
+- Add new runtime dependencies required by this release: python-anyio,
+ python-distro, python-sniffio, python-typing_extensions,
+ python-uuid-utils, python-websockets and python-xxhash; tighten the
+ existing dependency floors.
+
+-------------------------------------------------------------------
Old:
----
python-langsmith-0.1.52.tar.gz
New:
----
langsmith-0.9.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-langsmith.spec ++++++
--- /var/tmp/diff_new_pack.K6xILu/_old 2026-07-01 16:36:22.512512383 +0200
+++ /var/tmp/diff_new_pack.K6xILu/_new 2026-07-01 16:36:22.516512523 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-langsmith
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,31 +18,53 @@
%{?sle15_python_module_pythons}
Name: python-langsmith
-Version: 0.1.52
+Version: 0.9.3
Release: 0
-Summary: Interact with langsmitt platform
+Summary: Client library for the LangSmith LLM tracing and evaluation
platform
License: MIT
URL: https://github.com/langchain-ai/langsmith-sdk
-Source:
https://github.com/langchain-ai/langsmith-sdk/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/l/langsmith/langsmith-%{version}.tar.gz
+BuildRequires: %{python_module hatchling}
+BuildRequires: %{python_module pip}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+Requires: python-anyio >= 3.5.0
+Requires: python-distro >= 1.7.0
+Requires: python-httpx >= 0.23.0
+Requires: python-orjson >= 3.9.14
+Requires: python-packaging >= 23.2
+Requires: python-pydantic >= 2
+Requires: python-requests >= 2.0.0
+Requires: python-requests-toolbelt >= 1.0.0
+Requires: python-sniffio >= 1.1
+Requires: python-typing_extensions >= 4.0.0
+Requires: python-uuid-utils >= 0.12.0
+Requires: python-websockets >= 15.0
+Requires: python-xxhash >= 3.0.0
+Requires: python-zstandard >= 0.23.0
+BuildArch: noarch
+# SECTION test requirements
+BuildRequires: %{python_module anyio >= 3.5.0}
BuildRequires: %{python_module attrs}
BuildRequires: %{python_module dataclasses-json}
+BuildRequires: %{python_module distro >= 1.7.0}
BuildRequires: %{python_module freezegun}
-BuildRequires: %{python_module httpx}
-BuildRequires: %{python_module marshmallow}
-BuildRequires: %{python_module orjson}
-BuildRequires: %{python_module pip}
-BuildRequires: %{python_module poetry}
-BuildRequires: %{python_module pydantic}
+BuildRequires: %{python_module httpx >= 0.23.0}
+BuildRequires: %{python_module multipart}
+BuildRequires: %{python_module orjson >= 3.9.14}
+BuildRequires: %{python_module packaging >= 23.2}
+BuildRequires: %{python_module pydantic >= 2}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module typing-inspect}
-BuildRequires: fdupes
-Requires: python-orjson
-Requires: python-pydantic
-Requires: python-requests
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
-BuildArch: noarch
+BuildRequires: %{python_module requests >= 2.0.0}
+BuildRequires: %{python_module requests-toolbelt >= 1.0.0}
+BuildRequires: %{python_module sniffio >= 1.1}
+BuildRequires: %{python_module typing_extensions >= 4.0.0}
+BuildRequires: %{python_module uuid-utils >= 0.12.0}
+BuildRequires: %{python_module websockets >= 15.0}
+BuildRequires: %{python_module xxhash >= 3.0.0}
+BuildRequires: %{python_module zstandard >= 0.23.0}
+# /SECTION
%python_subpackages
%description
@@ -51,32 +73,33 @@
integration with the LangChain Python and LangChain JS open source libraries.
%prep
-%autosetup -n langsmith-sdk-%{version}
+%autosetup -p1 -n langsmith-%{version}
+# Drop the doctest conftest that pulls in vcrpy and patches network libraries
+rm -f conftest.py
%build
-cd python
%pyproject_wheel
%install
-cd python
%pyproject_install
-%python_clone -a %{buildroot}/%{_bindir}/langsmith
-%python_expand %fdupes %{buildroot}/%{$python_sitelib}/
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-cd python/tests/unit_tests
-%pytest -k 'not test_client_gc and not test_git_info and not test_as_runnable'
-
-%post
-%{python_install_alternative langsmith}
-
-%postun
-%{python_uninstall_alternative langsmith}
+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 -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.
+%python_expand $python -m compileall -q -f --invalidation-mode=unchecked-hash
-o 0 -o 1 -s %{buildroot} %{buildroot}%{$python_sitelib}/langsmith
+# Re-link the freshly compiled identical .pyc/.opt-1.pyc (brp-python-hardlink
+# already ran before %%check).
+%python_expand %fdupes %{buildroot}%{$python_sitelib}/langsmith
%files %{python_files}
-%license LICENSE
%doc README.md
%{python_sitelib}/langsmith
%{python_sitelib}/langsmith-%{version}.dist-info
-%python_alternative %{_bindir}/langsmith