Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mcp for openSUSE:Factory 
checked in at 2026-04-17 20:54:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mcp (Old)
 and      /work/SRC/openSUSE:Factory/.python-mcp.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mcp"

Fri Apr 17 20:54:13 2026 rev:2 rq:1346950 version:1.27.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mcp/python-mcp.changes    2026-02-03 
21:30:16.341543281 +0100
+++ /work/SRC/openSUSE:Factory/.python-mcp.new.11940/python-mcp.changes 
2026-04-17 20:54:15.173050151 +0200
@@ -1,0 +2,43 @@
+Tue Apr 14 14:52:21 UTC 2026 - Matej Cepl <[email protected]>
+
+- Update to 1.27.0:
+  - fix: remove unused requests dependency from simple-chatbot
+    example
+  - ci: backport conformance tests from main to v1.x
+  - fix: add RFC 8707 resource validation to OAuth client
+  - feat: add idle timeout for StreamableHTTP sessions
+  - [v1.x] fix: prevent command injection in example URL opening
+  - Add VERSIONING.md, ROADMAP.md, and DEPENDENCY_POLICY.md
+  - docs: restructure README into docs/ pages
+  - docs: comprehensive feature documentation for SEP-1730 Tier 1
+  - docs: fix stub pages and improve docs structure
+  - docs: fix GitHub links to point to v1.x branch
+  - docs: add snippet verification for docs/ pages
+  - docs: add server-side tool error handling documentation
+  - Backport: Add missing TasksCallCapability to v1.x
+  - [v1.x] fix: handle non-UTF-8 bytes in stdio server stdin
+  - [v1.x] fix: handle ClosedResourceError when transport closes
+    mid-request
+
+-------------------------------------------------------------------
+Mon Feb  2 17:31:21 UTC 2026 - Matej Cepl <[email protected]>
+
+- Restore tests again.
+
+-------------------------------------------------------------------
+Mon Feb  2 11:47:16 UTC 2026 - Egbert Eich <[email protected]>
+
+- Update to v1.26.0
+  * Backport: Support for Resource and ResourceTemplate metadata.
+  * fix: return HTTP 404 for unknown session IDs instead of 400.
+  From v.1.25.0:
+  * Fix for Url Elicitation issue.
+  From v1.24.0:
+  * feat: client-side support for SEP-1577 sampling with tools.
+  * Fix JSON-RPC error response ID matching.
+  * Add `streamable_http_client` which accepts `httpx.AsyncClient`
+  instead of `httpx_client_factory`.
+  * Fix: use correct python command name in `test_stdio.py`.
+- Add Recommends for python-uv and npm to devel package.
+
+-------------------------------------------------------------------

Old:
----
  mcp-1.23.3.tar.gz

New:
----
  _multibuild
  mcp-1.27.0.tar.gz

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

Other differences:
------------------
++++++ python-mcp.spec ++++++
--- /var/tmp/diff_new_pack.cxraVp/_old  2026-04-17 20:54:16.669111545 +0200
+++ /var/tmp/diff_new_pack.cxraVp/_new  2026-04-17 20:54:16.669111545 +0200
@@ -15,8 +15,18 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 
 
-Name:           python-mcp
-Version:        1.23.3
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+%bcond_without libalternatives
+%{?sle15_python_module_pythons}
+Name:           python-mcp%{psuffix}
+Version:        1.27.0
 Release:        0
 Summary:        Python implementation of the Model Context Protocol
 License:        MIT
@@ -34,6 +44,9 @@
 Requires:       python-anyio >= 4.5
 Requires:       python-httpx >= 0.27
 Requires:       python-httpx-sse >= 0.4
+# From PyJWT[crypto]
+Requires:       python-cryptography >= 3.4.0
+Requires:       python-jsonschema >= 4.20.0
 Requires:       python-pydantic >= 2.7.2
 Requires:       python-pydantic-settings >= 2.5.2
 Requires:       python-python-multipart >= 0.0.9
@@ -41,6 +54,23 @@
 Requires:       python-starlette >= 0.27
 Requires:       python-uvicorn >= 0.23.1
 BuildArch:      noarch
+%if %{with test}
+BuildRequires:  %{python_module PyJWT}
+BuildRequires:  %{python_module dirty-equals}
+BuildRequires:  %{python_module inline-snapshot}
+BuildRequires:  %{python_module jsonschema}
+BuildRequires:  %{python_module mcp = %{version}}
+BuildRequires:  %{python_module pytest-asyncio}
+BuildRequires:  %{python_module pytest-examples}
+BuildRequires:  %{python_module pytest-timeout}
+BuildRequires:  %{python_module pytest-xdist}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module requests >= 2.32.3}
+BuildRequires:  %{python_module trio}
+BuildRequires:  %{python_module typer}
+BuildRequires:  %{python_module uv >= 0.7.2}
+BuildRequires:  %{python_module websockets}
+%endif
 %python_subpackages
 
 %description
@@ -49,9 +79,12 @@
 
 %package devel
 Summary:        Executables for %{name}
-Conflicts:      mmv
+BuildRequires:  alts
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+Recommends: python-uv
+Recommends: npm
+Conflicts:      mmv
 
 %description devel
 This package contains the executables for %{name}.
@@ -60,13 +93,40 @@
 %autosetup -p1 -n mcp-%{version}
 
 %build
+%if %{without test}
+# This is an ugly hack, should not be necessary, but is to build on SLE 15 
with Python 3.11
+# MgE, 2025-06-19
+%if 0%{?suse_version} < 1600
+sed -i -e "s/3.12/3.11/g" pyproject.toml
+sed -i -e "s/3.13/3.11/g" pyproject.toml
+%endif
+
 %pyproject_wheel
+%endif
 
 %install
+%if %{without test}
 %pyproject_install
 %fdupes %{buildroot}%{python_sitelib}
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_clone -a %{buildroot}%{_bindir}/mcp
+%endif
+
+%check
+%if %{with test}
+sed -i 's/"python"/"python3"/' tests/client/test_stdio.py
+# test_command_execution needs full package including docs
+donttest="test_command_execution"
+# 
https://github.com/modelcontextprotocol/python-sdk/commit/17f9c00c53b4463ac1a449d601c2d181664ab857
 dropped test_build_metadata[with-path-param]
+donttest+=" or test_build_metadata[with-path-param]"
+# test_client_session_version_negotiation_failure failure probably related to 
https://github.com/modelcontextprotocol/python-sdk/issues/1018
+donttest+=" or test_client_session_version_negotiation_failure"
+# flaky tests on aarch64
+donttest+=" or test_streamablehttp_client_get_stream or 
test_streamablehttp_client_resumption"
+%pytest -k "not ($donttest or OAuth)"
+# problems with unawaited coroutines
+%pytest -k "OAuth" --asyncio-mode=auto
+%endif
 
 %post devel
 %python_expand %python_install_alternative mcp
@@ -74,6 +134,7 @@
 %postun devel
 %python_expand %python_uninstall_alternative mcp
 
+%if %{without test}
 %files %{python_files}
 %license LICENSE
 %doc README.md
@@ -83,4 +144,5 @@
 %files %{python_files devel}
 %license LICENSE
 %python_alternative %{_bindir}/mcp
+%endif
 

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.cxraVp/_old  2026-04-17 20:54:16.725113843 +0200
+++ /var/tmp/diff_new_pack.cxraVp/_new  2026-04-17 20:54:16.729114007 +0200
@@ -1,5 +1,5 @@
-mtime: 1770028283
-commit: b596951a5b694987430f16c8e0b64fd2b6820e9154d84a8c6a94ba8fdb4d6bfa
+mtime: 1776178632
+commit: 6c52a8ad445a1d4865134bf7705797bd4ed8b0c4b0b229847f357e906a96e39a
 url: https://src.opensuse.org/AI_MCP/python-mcp
 revision: main
 

++++++ build.specials.obscpio ++++++
--- old/.gitignore      2026-02-02 12:34:47.000000000 +0100
+++ new/.gitignore      2026-04-14 21:24:26.000000000 +0200
@@ -1,5 +1,6 @@
+_build.*
 *.obscpio
 *.osc
-_build.*
-_service:*
 .pbuild
+_service:*
+python-mcp-*-build/

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-04-14 21:24:26.000000000 +0200
@@ -0,0 +1,6 @@
+_build.*
+*.obscpio
+*.osc
+.pbuild
+_service:*
+python-mcp-*-build/

++++++ mcp-1.23.3.tar.gz -> mcp-1.27.0.tar.gz ++++++
++++ 12979 lines of diff (skipped)

Reply via email to