bharos opened a new pull request, #20:
URL: https://github.com/apache/gravitino-mcp-gateway/pull/20

   ### What changes were proposed in this pull request?
   
   - A **Unit tests on Python 3.x** job runs the unit tests on 3.12, 3.13, 3.14 
and 3.15. The existing **Unit tests and lint** job still covers 3.11, the 
oldest supported. `pyproject.toml` lists all five.
   - A **Python package** job builds the wheel and sdist, runs `twine check 
--strict` on them, installs the wheel in a fresh environment with the 
dependencies `pip` would choose (not the locked ones), runs `gravitino-mcp 
--help`, and runs `tests/package_check.py`. That script checks that the modules 
come from the installed wheel, that the version is the package's, and that the 
templates are included.
   - CI also runs on pushes to `branch-*`, the release branches.
   
   ### Why are the changes needed?
   
   `requires-python` is `>=3.11`, but CI only tested 3.11. The first release 
publishes the wheel and sdist to PyPI, so CI should catch a broken package 
before then.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Locally, the locked dependencies install and all 1,092 unit tests pass on 
Python 3.12, 3.13, 3.14 and 3.15. On 3.12 and later the tests warn that 
`datetime.utcnow()` is deprecated; a separate change will replace it. The wheel 
and sdist pass `twine check --strict`. The installed wheel passes 
`package_check.py`, which fails, as it should, when run against the checkout 
instead.
   


-- 
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