fix: resolve Python 3.8/3.9 compatibility issues

- Fix incorrect os.sys.version_info to sys.version_info
- Add missing sys import
- Update setup.py version to match __version__
- Fix author name consistency (Fahad Gilani)
- Add typing-extensions for Python <3.10 compatibility
- Apply black formatting to fix whitespace issues
- Add debug workflow to help diagnose CI failures

This should resolve the failing tests on Python 3.8 and 3.9.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Fahad
2025-06-08 21:11:58 +04:00
parent 873354864a
commit ead177fe8a
3 changed files with 73 additions and 9 deletions

View File

@@ -13,17 +13,18 @@ if readme_path.exists():
setup(
name="gemini-mcp-server",
version="1.0.0",
version="2.2.0",
description="Model Context Protocol server for Google Gemini",
long_description=long_description,
long_description_content_type="text/markdown",
author="Fahad Yousaf",
author="Fahad Gilani",
python_requires=">=3.8",
py_modules=["gemini_server"],
install_requires=[
"mcp>=1.0.0",
"google-generativeai>=0.8.0",
"python-dotenv>=1.0.0",
"typing-extensions>=4.0.0;python_version<'3.10'",
],
extras_require={
"dev": [