Migration to python 3.13.5

This commit is contained in:
2025-10-19 18:51:02 +02:00
parent aa46612215
commit 704c1b2921
4 changed files with 44 additions and 46 deletions

View File

@@ -1,12 +1,15 @@
# requirements-dev.txt - Python 3.13.5 compatible
# Database migrations
alembic>=1.13.0
# Linting and formatting tools
# Development tools
black>=23.0.0
isort>=5.12.0
flake8>=6.0.0
mypy>=1.5.0
alembic>=1.14.0
# Optional: More advanced linting
flake8-docstrings>=1.7.0
flake8-import-order>=0.18.2
# Linting and formatting tools
black>=24.10.0
isort>=5.13.2
ruff>=0.8.4 # Modern alternative to flake8, faster and Python 3.13 compatible
mypy>=1.13.0
# Optional: More advanced linting (if you prefer flake8 over ruff)
# Note: flake8 itself works with 3.13, but some plugins may not
# flake8>=7.1.0
# flake8-docstrings>=1.7.0
# flake8-import-order>=0.18.2

View File

@@ -1,7 +1,7 @@
# requirements-docs.txt
# requirements-docs.txt - Python 3.13.5 compatible
# Documentation dependencies
mkdocs>=1.5.0
mkdocs-material>=9.4.0
mkdocstrings[python]>=0.24.0
mkdocs-swagger-ui-tag>=0.6.0
pymdown-extensions>=10.4.0
mkdocs>=1.6.1
mkdocs-material>=9.5.48
mkdocstrings[python]>=0.27.0
mkdocs-swagger-ui-tag>=0.6.10
pymdown-extensions>=10.12

View File

@@ -1,10 +1,10 @@
# tests/requirements-test.txt
# requirements-test.txt - Python 3.13.5 compatible
# Testing dependencies
pytest>=7.4.0
pytest-cov>=4.1.0
pytest-asyncio>=0.21.0
pytest-mock>=3.11.0
httpx>=0.24.0
faker>=19.0.0
pytest>=8.3.4
pytest-cov>=6.0.0
pytest-asyncio>=0.24.0
pytest-mock>=3.14.0
httpx>=0.28.1
faker>=33.1.0
pytest-repeat>=0.9.4
pytest-timeout>=2.1.0
pytest-timeout>=2.3.1

View File

@@ -1,31 +1,26 @@
starlette==0.27.0
# requirements.txt
# requirements.txt - Python 3.13.5 compatible
# Core FastAPI and web framework
fastapi==0.104.1
uvicorn[standard]==0.24.0
pydantic==2.5.0
pydantic-settings==2.1.0 # Required for BaseSettings
pydantic[email]==2.5.0
starlette==0.41.3
fastapi==0.115.5
uvicorn[standard]==0.32.1
pydantic==2.10.3
pydantic-settings==2.6.1
pydantic[email]==2.10.3
# Database
sqlalchemy==2.0.23
psycopg2-binary==2.9.7 # PostgreSQL adapter
alembic==1.12.1 # For database migrations
sqlalchemy==2.0.36
psycopg2-binary==2.9.10
alembic==1.14.0
# Authentication and Security
python-jose[cryptography]==3.3.0 # JWT handling
passlib[bcrypt]==1.7.4 # Password hashing with bcrypt
bcrypt==4.0.1 # Explicit bcrypt version for compatibility
python-multipart==0.0.6 # Form data parsing
python-jose[cryptography]==3.3.0
passlib[bcrypt]==1.7.4
bcrypt==4.2.1
python-multipart==0.0.20
# Data processing
pandas==2.1.3
requests==2.31.0
pandas==2.2.3
requests==2.32.3
# Environment and configuration
python-dotenv==1.0.0
# Development and testing (optional)
pytest==7.4.3
pytest-asyncio==0.21.1
httpx==0.25.2 # For testing FastAPI endpoints
python-dotenv==1.0.1