Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-anthropic for 
openSUSE:Factory checked in at 2026-08-21 16:53:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-anthropic (Old)
 and      /work/SRC/openSUSE:Factory/.python-anthropic.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-anthropic"

Fri Aug 21 16:53:29 2026 rev:12 rq:1372692 version:1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-anthropic/python-anthropic.changes        
2026-08-20 16:15:30.113687536 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-anthropic.new.1258/python-anthropic.changes  
    2026-08-21 16:54:55.238356620 +0200
@@ -1,0 +2,22 @@
+Fri Aug 21 05:38:01 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 1.0.0:
+  * Switch the HTTP client from python-httpx to
+    python-httpx2 >= 2.0.0; passing an httpx.Client now
+    raises TypeError
+  * Drop the python-distro runtime dependency
+  * Raise the Python floor from 3.9 to 3.10
+  * Remove the legacy Text Completions API
+    (client.completions.create and HUMAN_PROMPT/AI_PROMPT)
+  * .with_raw_response now returns APIResponse /
+    AsyncAPIResponse (async parse/read/text/json are
+    coroutines; .text and .content became methods)
+  * Bedrock clients now require a region; unknown
+    streaming events are skipped
+  * Stop warning about output_format= on the parse,
+    stream and tool_runner helpers
+  * Vendor httpx_aiohttp under anthropic/_vendor;
+    License is now MIT AND BSD-3-Clause
+  * Ship MIGRATION.md as documentation
+
+-------------------------------------------------------------------

Old:
----
  anthropic-0.125.0.tar.gz

New:
----
  anthropic-1.0.0.tar.gz

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

Other differences:
------------------
++++++ python-anthropic.spec ++++++
--- /var/tmp/diff_new_pack.3F1yQF/_old  2026-08-21 16:54:56.160389116 +0200
+++ /var/tmp/diff_new_pack.3F1yQF/_new  2026-08-21 16:54:56.162389187 +0200
@@ -18,10 +18,12 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-anthropic
-Version:        0.125.0
+Version:        1.0.0
 Release:        0
 Summary:        The official Python library for the Anthropic API
-License:        MIT
+# Legal-Review-Notice: ships vendored httpx_aiohttp (BSD-3-Clause)
+# under src/anthropic/_vendor; the SDK itself is MIT.
+License:        BSD-3-Clause AND MIT
 URL:            https://github.com/anthropics/anthropic-sdk-python
 Source:         
https://files.pythonhosted.org/packages/source/a/anthropic/anthropic-%{version}.tar.gz
 BuildRequires:  %{python_module hatch-fancy-pypi-readme}
@@ -30,9 +32,8 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-anyio >= 3.5.0
-Requires:       python-distro >= 1.7.0
 Requires:       python-docstring-parser >= 0.15
-Requires:       python-httpx >= 0.25.0
+Requires:       python-httpx2 >= 2.0.0
 Requires:       python-jiter >= 0.4.0
 Requires:       python-pydantic >= 1.9.0
 Requires:       python-sniffio >= 1
@@ -40,9 +41,8 @@
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module anyio >= 3.5.0}
-BuildRequires:  %{python_module distro >= 1.7.0}
 BuildRequires:  %{python_module docstring-parser >= 0.15}
-BuildRequires:  %{python_module httpx >= 0.25.0}
+BuildRequires:  %{python_module httpx2 >= 2.0.0}
 BuildRequires:  %{python_module jiter >= 0.4.0}
 BuildRequires:  %{python_module pydantic >= 1.9.0}
 BuildRequires:  %{python_module pytest}
@@ -53,12 +53,14 @@
 
 %description
 The Anthropic Python library provides convenient access to the
-Anthropic REST API from any Python 3.9+ application. It includes type
+Anthropic REST API from any Python 3.10+ application. It includes type
 definitions for all request params and response fields, and offers both
-synchronous and asynchronous clients powered by httpx.
+synchronous and asynchronous clients powered by httpx2.
 
 %prep
 %autosetup -p1 -n anthropic-%{version}
+# Distinct basename so %%license does not overwrite the SDK MIT LICENSE.
+cp -a src/anthropic/_vendor/httpx_aiohttp/LICENSE httpx_aiohttp.LICENSE
 
 %build
 %pyproject_wheel
@@ -84,8 +86,8 @@
 %pytest -o addopts="" -W default --noconftest tests/test_models.py 
tests/test_qs.py tests/test_required_args.py tests/test_extract_files.py 
tests/test_utils
 
 %files %{python_files}
-%license LICENSE
-%doc README.md
+%license LICENSE httpx_aiohttp.LICENSE
+%doc README.md MIGRATION.md
 %{python_sitelib}/anthropic
 %{python_sitelib}/anthropic-%{version}.dist-info
 

++++++ anthropic-0.125.0.tar.gz -> anthropic-1.0.0.tar.gz ++++++
++++ 19697 lines of diff (skipped)

Reply via email to