Update all dependencies to latest stable versions: Python 3.12, discord.py 2.7.1, aiohttp 3.14.5, matplotlib 3.11.2, and all test dependencies
CI/CD Pipeline / Code Quality & Linting (push) Successful in 46s
CI/CD Pipeline / Unit Tests (Python 3.12) (push) Successful in 23s
CI/CD Pipeline / Security Scanning (push) Successful in 28s
CI/CD Pipeline / Integration Tests (push) Successful in 30s
CI/CD Pipeline / Generate Test Report (push) Successful in 14s
CI/CD Pipeline / Build Docker Image (push) Successful in 1m11s
CI/CD Pipeline / CI/CD Pipeline Status (push) Successful in 2s
CI/CD Pipeline / Code Quality & Linting (push) Successful in 46s
CI/CD Pipeline / Unit Tests (Python 3.12) (push) Successful in 23s
CI/CD Pipeline / Security Scanning (push) Successful in 28s
CI/CD Pipeline / Integration Tests (push) Successful in 30s
CI/CD Pipeline / Generate Test Report (push) Successful in 14s
CI/CD Pipeline / Build Docker Image (push) Successful in 1m11s
CI/CD Pipeline / CI/CD Pipeline Status (push) Successful in 2s
This commit is contained in:
1 parent
872b016707
commit
1f0a63067b
4 files changed
+25
-25
No files matched your search
@@ -31,7 +31,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ['3.9', '3.10', '3.11']
|
python-version: ['3.12']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -121,7 +121,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
|
|
||||||
- name: Install linting tools
|
- name: Install linting tools
|
||||||
run: |
|
run: |
|
||||||
@@ -193,7 +193,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
|
|
||||||
- name: Install security tools
|
- name: Install security tools
|
||||||
run: |
|
run: |
|
||||||
@@ -251,7 +251,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
# Builder stage using slim Python image
|
# 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
|
# Install system dependencies for building
|
||||||
RUN apt-get update && apt-get install -y \
|
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
|
pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Final stage - using slim
|
# Final stage - using slim
|
||||||
FROM python:3.11-slim
|
FROM python:3.12-slim
|
||||||
|
|
||||||
# Install minimal runtime dependencies
|
# Install minimal runtime dependencies
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
|||||||
+14
-14
@@ -1,26 +1,26 @@
|
|||||||
# Testing Dependencies for Pterodactyl Discord Bot
|
# Testing Dependencies for Pterodactyl Discord Bot
|
||||||
|
|
||||||
# Core testing framework
|
# Core testing framework
|
||||||
pytest>=7.4.0
|
pytest>=9.1.1
|
||||||
pytest-asyncio>=0.21.0
|
pytest-asyncio>=1.4.0
|
||||||
pytest-cov>=4.1.0
|
pytest-cov>=7.1.0
|
||||||
pytest-mock>=3.11.1
|
pytest-mock>=3.17.0
|
||||||
pytest-timeout>=2.1.0
|
pytest-timeout>=2.4.0
|
||||||
|
|
||||||
# Code quality and linting
|
# Code quality and linting
|
||||||
flake8>=6.0.0
|
flake8>=7.4.1
|
||||||
pylint>=2.17.0
|
pylint>=4.1.3
|
||||||
black>=23.7.0
|
black>=26.10.1
|
||||||
isort>=5.12.0
|
isort>=9.0.2
|
||||||
|
|
||||||
# Security scanning
|
# Security scanning
|
||||||
bandit>=1.7.5
|
bandit>=1.9.4
|
||||||
safety>=2.3.5
|
safety>=3.8.1
|
||||||
|
|
||||||
# Mocking and fixtures
|
# Mocking and fixtures
|
||||||
pytest-fixtures>=0.1.0
|
pytest-fixtures>=0.1.0
|
||||||
freezegun>=1.2.2
|
freezegun>=1.5.5
|
||||||
|
|
||||||
# Coverage reporting
|
# Coverage reporting
|
||||||
coverage>=7.2.7
|
coverage>=7.17.0
|
||||||
coverage-badge>=1.1.0
|
coverage-badge>=1.1.2
|
||||||
+5
-5
@@ -1,5 +1,5 @@
|
|||||||
discord.py>=2.3.0
|
discord.py>=2.7.1
|
||||||
aiohttp>=3.8.0
|
aiohttp>=3.14.5
|
||||||
configparser>=5.3.0
|
configparser>=7.3.0
|
||||||
python-dotenv
|
python-dotenv>=1.2.4
|
||||||
matplotlib
|
matplotlib>=3.11.2
|
||||||
Reference in new issue
Block a user