diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f9bbd75..76d951b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test_debug.yml b/.github/workflows/test_debug.yml deleted file mode 100644 index 516bf92..0000000 --- a/.github/workflows/test_debug.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: Debug Test Failures - -on: - workflow_dispatch: - push: - branches: [ main ] - -jobs: - debug-python38: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: '3.8' - - - name: Show Python version - run: | - python --version - python -c "import sys; print(sys.version_info)" - - - name: Install basic dependencies - run: | - python -m pip install --upgrade pip setuptools wheel - pip --version - - - name: Try installing MCP - continue-on-error: true - run: | - pip install "mcp>=1.0.0" -v - - - name: Try installing google-generativeai - continue-on-error: true - run: | - pip install "google-generativeai>=0.8.0" -v - - - name: Install all dependencies - continue-on-error: true - run: | - pip install -e . -v - pip install -r requirements.txt -v - - - name: Show installed packages - run: | - pip list - - - name: Try importing modules - continue-on-error: true - run: | - python -c "import mcp" && echo "✓ mcp imported successfully" || echo "✗ Failed to import mcp" - python -c "import google.generativeai" && echo "✓ google.generativeai imported successfully" || echo "✗ Failed to import google.generativeai" - python -c "import gemini_server" && echo "✓ gemini_server imported successfully" || echo "✗ Failed to import gemini_server" - - - name: Run a simple test - continue-on-error: true - run: | - python -m pytest tests/test_imports.py -v \ No newline at end of file diff --git a/README.md b/README.md index 1493ae5..73fe81f 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This server acts as a developer assistant that augments Claude Code when you nee Before you begin, ensure you have the following: -1. **Python:** Python 3.8 or newer. Check your version with `python3 --version` +1. **Python:** Python 3.10 or newer. Check your version with `python3 --version` 2. **Claude Desktop:** A working installation of Claude Desktop and the `claude` command-line tool 3. **Gemini API Key:** An active API key from [Google AI Studio](https://aistudio.google.com/app/apikey) - Ensure your key is enabled for the `gemini-2.5-pro-preview` model diff --git a/setup.py b/setup.py index 4dfdce1..44cca72 100644 --- a/setup.py +++ b/setup.py @@ -18,13 +18,12 @@ setup( long_description=long_description, long_description_content_type="text/markdown", author="Fahad Gilani", - python_requires=">=3.8", + python_requires=">=3.10", 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": [ @@ -43,8 +42,6 @@ setup( "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12",