geyanggang opened a new pull request, #14950:
URL: https://github.com/apache/gravitino/pull/14950

   ### What changes were proposed in this pull request?
   
   Raise the minimum Python version of the MCP server from 3.10 to 3.11:
   
   - `mcp-server/pyproject.toml`: `requires-python = ">=3.11"`.
   - `mcp-server/.python-version`: 3.11.
   - `dev/docker/mcp-server/Dockerfile`: base image `python:3.11`.
   - `docs/gravitino-mcp-server.md`: requirement is now Python 3.11+.
   - `mcp-server/uv.lock`: re-resolved with uv 0.12.14 (the version pinned in 
the Dockerfile). The Python 3.10 only entries are dropped: dnspython 2.8.0, 
joserfc 1.7.7, python-multipart 0.0.32, starlette 1.7.0, aiofile 3.9.0 (and its 
dependency chain) and tomli. The lock keeps one version of each package.
   
   This PR is stacked on #14948 (the first commit belongs to it); please merge 
that one first, then I will rebase.
   
   ### Why are the changes needed?
   
   Python 3.10 reaches end of life in October 2026 and newer dependency 
releases (such as dnspython 2.9) no longer support it. With 3.11+ the lock 
needs no per-version duplicates and the image ships the latest releases.
   
   Fixes #14949
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. The MCP server now requires Python 3.11 or later, and the Docker image 
uses Python 3.11.
   
   ### How was this patch tested?
   
   - `uv lock --check` passes with uv 0.12.14; `uv sync --frozen` works on 
Python 3.11 and 3.14.
   - `pytest tests`: 329 passed, 11 skipped on Python 3.11 and 3.14; `pylint 
mcp_server` 10.00/10. `test_tls_end_to_end.py` (3 tests) was excluded: its TLS 
tests fail in my local macOS environment and fail the same way on the 
unmodified lock.
   - I did not build the Docker image locally (the base image is large).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to