fix: Update all pipelines to Python 3.14
Some checks failed
CI/CD Pipeline / Lint Code (push) Failing after 47s
CI/CD Pipeline / Run Tests (push) Has been skipped
CI/CD Pipeline / Security Scanning (push) Has been skipped
CI/CD Pipeline / Build and Push Docker Images (api) (push) Has been skipped
CI/CD Pipeline / Build and Push Docker Images (chat) (push) Has been skipped
CI/CD Pipeline / Build and Push Docker Images (frontend) (push) Has been skipped
CI/CD Pipeline / Build and Push Docker Images (worker) (push) Has been skipped
CI/CD Pipeline / Deploy to Staging (push) Has been skipped
CI/CD Pipeline / Deploy to Production (push) Has been skipped
CI/CD Pipeline / Generate Documentation (push) Has been cancelled

Python 3.13 is causing installation errors in CI/CD runners.
Upgrading to Python 3.14 which is the latest stable version.

Changes:
- pyproject.toml: Update python requirement to ^3.14
- pyproject.toml: Update MyPy python_version to 3.14
- pyproject.toml: Update Black target-version to py314
- .gitlab-ci.yml: Update PYTHON_VERSION to 3.14
- .github/workflows/build-deploy.yml: Update PYTHON_VERSION to 3.14
- .gitea/workflows/ci.yml: Update PYTHON_VERSION to 3.14

This fixes the CI/CD error:
"rm: cannot remove '/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/__pycache__': Directory not empty"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-19 14:22:17 +02:00
parent ac90dff43a
commit cebd69c780
4 changed files with 6 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ on:
env:
DOCKER_REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}/docs-server
PYTHON_VERSION: '3.13'
PYTHON_VERSION: '3.14'
jobs:
# Job 1: Linting e validazione