Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fastmcp for openSUSE:Factory 
checked in at 2026-08-05 17:49:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fastmcp (Old)
 and      /work/SRC/openSUSE:Factory/.python-fastmcp.new.16738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fastmcp"

Wed Aug  5 17:49:11 2026 rev:6 rq:1369572 version:3.4.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fastmcp/python-fastmcp.changes    
2026-07-28 18:18:54.884641577 +0200
+++ /work/SRC/openSUSE:Factory/.python-fastmcp.new.16738/python-fastmcp.changes 
2026-08-05 17:50:08.825526673 +0200
@@ -1,0 +2,18 @@
+Tue Aug  4 17:55:58 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Build all three fastmcp distributions from this one source package:
+  * the fastmcp-slim subpackage is now produced here instead of from
+    a separate python-fastmcp-slim source package; its file list and
+    its dependencies are unchanged, so nothing consuming it breaks
+  * retires the lockstep that required bumping and staging both
+    source packages together for every upstream release
+  * slim now ships a license file, which the upstream fastmcp_slim
+    sdist does not contain at all
+- Package fastmcp-remote: the standalone stdio bridge that lets MCP
+  clients which spawn local processes reach servers hosted over
+  Streamable HTTP or SSE
+- Set UV_DYNAMIC_VERSIONING_BYPASS so the subprojects are versioned
+  correctly instead of falling back to 0.0.0 outside a git checkout
+- Update URL to the current upstream project location
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-fastmcp.spec ++++++
--- /var/tmp/diff_new_pack.c1UtHU/_old  2026-08-05 17:50:09.433548006 +0200
+++ /var/tmp/diff_new_pack.c1UtHU/_new  2026-08-05 17:50:09.437548147 +0200
@@ -21,16 +21,44 @@
 Release:        0
 Summary:        The fast, Pythonic way to build MCP servers and clients
 License:        Apache-2.0
-URL:            https://github.com/jlowin/fastmcp
+URL:            https://github.com/PrefectHQ/fastmcp
 Source:         
https://files.pythonhosted.org/packages/source/f/fastmcp/fastmcp-%{version}.tar.gz
-BuildRequires:  %{python_module fastmcp-slim = %{version}}
+BuildRequires:  %{python_module Authlib >= 1.6.11}
+BuildRequires:  %{python_module PyYAML >= 6.0}
+BuildRequires:  %{python_module anyio}
+BuildRequires:  %{python_module cyclopts >= 4.0.0}
+BuildRequires:  %{python_module email-validator}
+BuildRequires:  %{python_module exceptiongroup >= 1.2.2}
+BuildRequires:  %{python_module griffelib >= 2.0.0}
 BuildRequires:  %{python_module hatchling}
+BuildRequires:  %{python_module httpx >= 0.28.1}
+BuildRequires:  %{python_module joserfc >= 1.1.0}
+BuildRequires:  %{python_module jsonref >= 1.1.0}
+BuildRequires:  %{python_module jsonschema-path >= 0.3.4}
+BuildRequires:  %{python_module mcp >= 1.24.0}
+BuildRequires:  %{python_module openapi-pydantic >= 0.5.1}
+BuildRequires:  %{python_module opentelemetry-api >= 1.20.0}
+BuildRequires:  %{python_module packaging >= 24.0}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module uv-dynamic-versioning}
+BuildRequires:  %{python_module platformdirs >= 4.0.0}
+BuildRequires:  %{python_module py-key-value-aio >= 0.4.4}
+BuildRequires:  %{python_module pydantic >= 2.11.7}
+BuildRequires:  %{python_module pydantic-settings >= 2.0.0}
+BuildRequires:  %{python_module pyperclip >= 1.9.0}
+BuildRequires:  %{python_module python-dotenv >= 1.1.0}
+BuildRequires:  %{python_module python-multipart >= 0.0.26}
+BuildRequires:  %{python_module rich >= 13.9.4}
+BuildRequires:  %{python_module starlette >= 1.0.1}
+BuildRequires:  %{python_module typing_extensions >= 4.0.0}
+BuildRequires:  %{python_module uncalled-for >= 0.2.0}
+BuildRequires:  %{python_module uv-dynamic-versioning >= 0.7.0}
+BuildRequires:  %{python_module uvicorn >= 0.35}
+BuildRequires:  %{python_module watchfiles >= 1.0.0}
+BuildRequires:  %{python_module websockets >= 15.0.1}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-fastmcp-slim = %{version}
+Requires:       %{python_flavor}-fastmcp-slim = %{version}
 BuildArch:      noarch
 %python_subpackages
 
@@ -40,21 +68,126 @@
 with the client and server integrations enabled; the importable "fastmcp"
 module is provided by fastmcp-slim.
 
+%package slim
+Summary:        The fast, Pythonic way to build MCP servers and clients (slim)
+# uv-backend wheels don't expose deps to pythondistdeps, so require them by 
hand
+Requires:       python-Authlib >= 1.6.11
+Requires:       python-PyYAML >= 6.0
+Requires:       python-cyclopts >= 4.0.0
+Requires:       python-email-validator
+Requires:       python-exceptiongroup >= 1.2.2
+Requires:       python-griffelib >= 2.0.0
+Requires:       python-httpx >= 0.28.1
+Requires:       python-joserfc >= 1.1.0
+Requires:       python-jsonref >= 1.1.0
+Requires:       python-jsonschema-path >= 0.3.4
+Requires:       python-mcp >= 1.24.0
+Requires:       python-openapi-pydantic >= 0.5.1
+Requires:       python-opentelemetry-api >= 1.20.0
+Requires:       python-packaging >= 24.0
+Requires:       python-platformdirs >= 4.0.0
+Requires:       python-py-key-value-aio >= 0.4.4
+Requires:       python-pydantic >= 2.11.7
+Requires:       python-pydantic-settings >= 2.0.0
+Requires:       python-pyperclip >= 1.9.0
+Requires:       python-python-dotenv >= 1.1.0
+Requires:       python-python-multipart >= 0.0.26
+Requires:       python-rich >= 13.9.4
+Requires:       python-starlette >= 1.0.1
+Requires:       python-typing_extensions >= 4.0.0
+Requires:       python-uncalled-for >= 0.2.0
+Requires:       python-uvicorn >= 0.35
+Requires:       python-watchfiles >= 1.0.0
+Requires:       python-websockets >= 15.0.1
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+
+%description slim
+FastMCP is the fast, Pythonic way to build Model Context Protocol (MCP)
+servers and clients. This "slim" distribution provides the importable
+"fastmcp" module and the fastmcp command, with the full client and server
+stack and the standard set of optional integrations enabled.
+
+%package remote
+Summary:        Stdio bridge for remote MCP servers
+Requires:       %{python_flavor}-fastmcp-slim = %{version}
+# imported directly by fastmcp_remote.cli, not just pulled in via fastmcp-slim
+Requires:       python-anyio
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+
+%description remote
+fastmcp-remote is FastMCP's standalone stdio bridge for remote MCP servers.
+It lets MCP clients that launch local stdio processes connect to MCP servers
+hosted over Streamable HTTP or SSE, filling the role of the mcp-remote npm
+project. It builds one FastMCP client for the URL it is given and exposes
+that client as a local stdio proxy.
+
 %prep
 %autosetup -p1 -n fastmcp-%{version}
 
 %build
+# the subprojects are versioned from git tags, which an sdist build has no
+# access to; without this they fall back to the 0.0.0 fallback-version
+export UV_DYNAMIC_VERSIONING_BYPASS=%{version}
+# Each dist has to be built from its own directory rather than via
+# "%%pyproject_wheel <subdir>": the macro caches the first noarch wheel it
+# builds in ./dist and blindly reuses it for every later call made from the
+# same directory, which would package the empty fastmcp wheel three times.
+%pyproject_wheel
+pushd fastmcp_slim
+%pyproject_wheel
+popd
+pushd fastmcp_remote
 %pyproject_wheel
+popd
 
 %install
 %pyproject_install
+pushd fastmcp_slim
+%pyproject_install
+popd
+pushd fastmcp_remote
+%pyproject_install
+popd
+%python_clone -a %{buildroot}%{_bindir}/fastmcp
+%python_clone -a %{buildroot}%{_bindir}/fastmcp-remote
+# force hash-based .pyc (avoid python-bytecode-inconsistent-mtime)
+%python_expand $python -m compileall -q -f -o 0 -o 1 --invalidation-mode 
unchecked-hash %{buildroot}%{$python_sitelib}/fastmcp 
%{buildroot}%{$python_sitelib}/fastmcp_remote
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -B -c "import 
fastmcp"
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -B -c "import 
fastmcp_remote"
+
+%post slim
+%python_install_alternative fastmcp
+
+%postun slim
+%python_uninstall_alternative fastmcp
+
+%post remote
+%python_install_alternative fastmcp-remote
+
+%postun remote
+%python_uninstall_alternative fastmcp-remote
 
 %files %{python_files}
-%doc README.md
 %license LICENSE
+%doc README.md
 %{python_sitelib}/fastmcp-%{version}.dist-info
 
+%files %{python_files slim}
+%license LICENSE
+%doc fastmcp_slim/README.md
+%python_alternative %{_bindir}/fastmcp
+%{python_sitelib}/fastmcp
+%{python_sitelib}/fastmcp_slim-%{version}.dist-info
+
+%files %{python_files remote}
+%license LICENSE
+%doc fastmcp_remote/README.md
+%python_alternative %{_bindir}/fastmcp-remote
+%{python_sitelib}/fastmcp_remote
+%{python_sitelib}/fastmcp_remote-%{version}.dist-info
+

Reply via email to