# GNS3 Server Core Dependencies
uvicorn==0.52.4
pydantic==2.13.4
fastapi==0.141.1
python-multipart==0.0.32
websockets==16.1.1  # version 16.1.1 is the last version that supports Python 3.10
aiohttp>=3.14.3,<3.15
aiofiles>=25.1.0,<26.0
Jinja2>=3.1.6,<3.2
sentry-sdk>=2.68.0,<3  # optional dependency
psutil>=7.2.2
async-timeout>=5.0.1,<5.1; python_version < '3.11'  # this library has effectively been upstreamed into Python 3.11+
distro>=1.9.0
py-cpuinfo>=9.0.0,<10.0
greenlet==3.5.3; python_version >= '3.13' # necessary to run sqlalchemy on Python >= 3.13
sqlalchemy==2.0.52
aiosqlite==0.22.1
alembic==1.19.1
bcrypt==5.0.0
joserfc==1.7.4
email-validator==2.3.0
watchdog==6.0.0
zstandard==0.25.0
platformdirs>=2.4.0  # fastmcp-slim >=3.4 requires >=4.0.0; upper bound removed for compatibility
truststore>=0.10.4; python_version >= '3.10'

# Shared dependencies (also used by AI Copilot)
telnetlib3==5.0.0
asyncssh>=2.24.0,<3
typing-extensions>=4.16.0
requests>=2.34.2
urllib3>=2.7.0

# ==============================================================================
# File type detection
python-magic>=0.4.27

# Optional AI Features (AI Copilot + MCP)
# ==============================================================================
# AI Copilot and MCP features are now optional. Install with:
#   pip install gns3-server[ai-features]
# Or:
#   pip install -r ai-requirements.txt
#   pip install -r mcp-requirements.txt
#
# This reduces installation size and supports restricted environments where
# AI dependencies may not be allowed.
# ==============================================================================
