diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index fac732e..8d40fa4 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,7 +17,13 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11"] + python-version: [ + "3.11", + "3.12.3", + "3.13", + "3.14", + # "3.15", + ] checker: [ "flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics", "flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics", diff --git a/Dockerfile b/Dockerfile index cba6413..2532319 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Use official Python image with uv pre-installed -FROM python:3.11-slim +FROM python:3.12.3-slim # Install uv (if not present) RUN pip install uv diff --git a/mypy.ini b/mypy.ini index b3e4d20..7829833 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,6 +1,6 @@ [mypy] # Specify Python version -python_version = 3.11 +python_version = 3.12 # Import discovery mypy_path = backend diff --git a/pyproject.toml b/pyproject.toml index c0fe11e..6683fc9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "brencher" version = "0.1.0" description = "Brencher project" -requires-python = ">=3.9" +requires-python = ">=3.12.3" [tool.pyright] reportMissingModuleSource = false diff --git a/pyrightconfig.json b/pyrightconfig.json index eea39b4..5944880 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -11,7 +11,7 @@ "extraPaths": [ "backend" ], - "pythonVersion": "3.11", + "pythonVersion": "3.12", "pythonPlatform": "Linux", "typeCheckingMode": "basic", "reportMissingImports": true, diff --git a/tests/README.md b/tests/README.md index 001e018..0af4127 100644 --- a/tests/README.md +++ b/tests/README.md @@ -65,7 +65,7 @@ This script will: ### Option 2: Run Locally -If you prefer to run tests locally (requires Python 3.11+ and git): +If you prefer to run tests locally (requires Python 3.12.3+ and git): ```bash # Install dependencies @@ -108,7 +108,7 @@ These tests are integrated into the CI pipeline through the `python-package.yml` ## Dependencies -- Python 3.11+ +- Python 3.12.3+ - pytest - gitpython - git (system package)