diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index f694fa8..882a25b 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.12'] steps: - name: Checkout code @@ -121,7 +121,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Install linting tools run: | @@ -193,7 +193,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Install security tools run: | @@ -251,7 +251,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Cache dependencies uses: actions/cache@v3 diff --git a/dockerfile b/dockerfile index e4c72a9..4c178ac 100644 --- a/dockerfile +++ b/dockerfile @@ -1,5 +1,5 @@ # Builder stage using slim Python image -FROM python:3.11-slim as builder +FROM python:3.12-slim as builder # Install system dependencies for building RUN apt-get update && apt-get install -y \ @@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \ pip install --no-cache-dir -r requirements.txt # Final stage - using slim -FROM python:3.11-slim +FROM python:3.12-slim # Install minimal runtime dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ diff --git a/requirements-test.txt b/requirements-test.txt index 8ef58cc..6e74c4e 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,26 +1,26 @@ # Testing Dependencies for Pterodactyl Discord Bot # Core testing framework -pytest>=7.4.0 -pytest-asyncio>=0.21.0 -pytest-cov>=4.1.0 -pytest-mock>=3.11.1 -pytest-timeout>=2.1.0 +pytest>=9.1.1 +pytest-asyncio>=1.4.0 +pytest-cov>=7.1.0 +pytest-mock>=3.17.0 +pytest-timeout>=2.4.0 # Code quality and linting -flake8>=6.0.0 -pylint>=2.17.0 -black>=23.7.0 -isort>=5.12.0 +flake8>=7.4.1 +pylint>=4.1.3 +black>=26.10.1 +isort>=9.0.2 # Security scanning -bandit>=1.7.5 -safety>=2.3.5 +bandit>=1.9.4 +safety>=3.8.1 # Mocking and fixtures pytest-fixtures>=0.1.0 -freezegun>=1.2.2 +freezegun>=1.5.5 # Coverage reporting -coverage>=7.2.7 -coverage-badge>=1.1.0 \ No newline at end of file +coverage>=7.17.0 +coverage-badge>=1.1.2 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index e9b62c2..d3fc812 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -discord.py>=2.3.0 -aiohttp>=3.8.0 -configparser>=5.3.0 -python-dotenv -matplotlib \ No newline at end of file +discord.py>=2.7.1 +aiohttp>=3.14.5 +configparser>=7.3.0 +python-dotenv>=1.2.4 +matplotlib>=3.11.2 \ No newline at end of file