Package Details: python-mcp 1.10.1-1

Git Clone URL: https://aur.archlinux.org/python-mcp.git (read-only, click to copy)
Package Base: python-mcp
Description: Model Context Protocol SDK.
Upstream URL: https://github.com/modelcontextprotocol/python-sdk
Licenses: MIT
Submitter: medaminezghal
Maintainer: medaminezghal
Last Packager: medaminezghal
Votes: 2
Popularity: 0.82
First Submitted: 2025-02-04 16:43 (UTC)
Last Updated: 2025-06-27 13:59 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

medaminezghal commented on 2025-06-15 08:11 (UTC)

@Auerhuhn why should I add python-requests to checkdepends to checkdepends?

Auerhuhn commented on 2025-06-14 23:29 (UTC)

Hi @medaminezghal,

Thanks for maintaining this PKGBUILD.
Would you mind adding python-requests to checkdepends?

gwuensch commented on 2025-06-12 19:50 (UTC)

+1 on the freeze @FabioCosta0305 experienced. Strangely enough, doing a clean rebuild fixed it for me. No idea what caused it the first time.

FabioCosta0305 commented on 2025-05-28 00:56 (UTC) (edited on 2025-05-28 16:34 (UTC) by FabioCosta0305)

@medaminezghal

When I try ot build, it freezes on the test for tests/shared/test_streamable_http.py::test_streamablehttp_client_resumption

=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.6.0 -- /home/fabioec/.cache/paru/clone/python-mcp/src/mcp-1.9.0/test-env/bin/python
cachedir: .pytest_cache
hypothesis profile 'default'
rootdir: /home/fabioec/.cache/paru/clone/python-mcp/src/mcp-1.9.0
configfile: pyproject.toml
plugins: asyncio-0.26.0, cov-6.1.1, nbval-0.11.0, timeout-2.4.0, aiohttp-1.0.5, flakefinder-1.1.0, xdist-3.6.1, anyio-4.9.0, mock-3.14.0, hypothesis-6.131.28, examples-0.0.18
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 313 items / 1 deselected / 312 selected                                                                                                                                                                 

tests/client/test_config.py::test_command_execution PASSED                                                                                                                                                  [  0%]
... lines ...

tests/shared/test_streamable_http.py::test_streamablehttp_client_basic_connection PASSED                                                                                                                    [ 87%]
tests/shared/test_streamable_http.py::test_streamablehttp_client_resource_read PASSED                                                                                                                       [ 88%]
tests/shared/test_streamable_http.py::test_streamablehttp_client_tool_invocation PASSED                                                                                                                     [ 88%]
tests/shared/test_streamable_http.py::test_streamablehttp_client_error_handling PASSED                                                                                                                      [ 88%]
tests/shared/test_streamable_http.py::test_streamablehttp_client_session_persistence PASSED                                                                                                                 [ 89%]
tests/shared/test_streamable_http.py::test_streamablehttp_client_json_response PASSED                                                                                                                       [ 89%]
tests/shared/test_streamable_http.py::test_streamablehttp_client_get_stream PASSED                                                                                                                          [ 89%]
tests/shared/test_streamable_http.py::test_streamablehttp_client_session_termination PASSED                                                                                                                 [ 90%]
tests/shared/test_streamable_http.py::test_streamablehttp_client_session_termination_204 PASSED                                                                                                             [ 90%]
tests/shared/test_streamable_http.py::test_streamablehttp_client_resumption 

medaminezghal commented on 2025-05-22 14:45 (UTC)

@saruman sorry the dependency should be python-python-multipart not python-multipart

saruman commented on 2025-05-22 14:07 (UTC) (edited on 2025-05-22 14:14 (UTC) by saruman)

Latest update (1.9.0-1) does fail building with following messages:

===============================short test summary info========================

FAILED tests/server/auth/test_error_handling.py::TestTokenErrorHandling::test_token_error_handling_auth_code - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/auth/test_error_handling.py::TestTokenErrorHandling::test_token_error_handling_refresh_token - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_token_validation_error - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_token_invalid_auth_code - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_token_expired_auth_code - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_token_redirect_uri_mismatch[registered_client0] - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_token_code_verifier_mismatch - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_token_invalid_refresh_token - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_token_expired_refresh_token - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_token_invalid_scope - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_authorize_form_post - assert 400 == 302 + where 400 = <Response [400 Bad Request]>.status_code

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_authorization_get - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_revoke_invalid_token - AssertionError: The python-multipart library must be installed to use form parsing.

FAILED tests/server/fastmcp/auth/test_auth_integration.py::TestAuthEndpoints::test_revoke_with_malformed_token - AssertionError: The python-multipart library must be installed to use form parsing.

============================================================================= 14 failed, 297 passed, 1 skipped, 1 deselected in 8.33s ==============================================================================

python-multipart is installed on the system.

medaminezghal commented on 2025-04-09 04:50 (UTC)

@frederikv Make new issue in GitHub issues to inform the developers about the problem. I've built it using Pydantic 2.10 and it works.

frederikv commented on 2025-04-09 03:45 (UTC)

makepkg -si fails in the check() stage of the process:

Error executing tool delete_file: Accessing the 'model_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.

Overall, 35 tests fail.

medaminezghal commented on 2025-03-25 13:12 (UTC)

@dreieck it's not needed to use specific version of uv so I made it download always the latest version and skip it checksum verification.