From 815230d13686ce5f40454b82aee78921fdab978d Mon Sep 17 00:00:00 2001 From: iamprecieee Date: Fri, 21 Feb 2025 03:43:57 +0100 Subject: [PATCH 1/2] fix(ci): fix python version requirement - update python version to 3.12 to fix package installation errors - update python version requirement on readme to 3.12 --- .github/workflows/pytest.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 1add64b..e13a6b4 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -15,7 +15,7 @@ jobs: - name: set up python environment uses: actions/setup-python@v3 with: - python-version: '3.8' + python-version: '3.12' - name: install dependencies run: | diff --git a/README.md b/README.md index fe6f747..9571028 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Git Commit Quality Monitor analyzes commit messages in real-time, providing inst ### Prerequisites -- Python 3.8+ +- Python 3.12 - FastAPI - scikit-learn - Git (for development) From fb907c038543d2bb73c44ba6d782dfb03081b4a1 Mon Sep 17 00:00:00 2001 From: iamprecieee Date: Fri, 21 Feb 2025 03:50:40 +0100 Subject: [PATCH 2/2] fix(ci): fix attempt at installation errors - removed versions from packages in requirements file --- requirements.txt | 112 +++++++++++++++++++++++------------------------ 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/requirements.txt b/requirements.txt index aac14bf..5d8c719 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,56 +1,56 @@ -annotated-types==0.7.0 -anyio==4.8.0 -black==25.1.0 -certifi==2025.1.31 -click==8.1.8 -dnspython==2.7.0 -email_validator==2.2.0 -fastapi==0.115.8 -fastapi-cli==0.0.7 -h11==0.14.0 -httpcore==1.0.7 -httptools==0.6.4 -httpx==0.28.1 -idna==3.10 -iniconfig==2.0.0 -itsdangerous==2.2.0 -Jinja2==3.1.5 -joblib==1.4.2 -markdown-it-py==3.0.0 -MarkupSafe==3.0.2 -mdurl==0.1.2 -mypy-extensions==1.0.0 -nltk==3.9.1 -numpy==2.2.3 -orjson==3.10.15 -packaging==24.2 -pathspec==0.12.1 -platformdirs==4.3.6 -pluggy==1.5.0 -pydantic==2.10.6 -pydantic-extra-types==2.10.2 -pydantic-settings==2.7.1 -pydantic_core==2.27.2 -Pygments==2.19.1 -pytest==8.3.4 -python-dotenv==1.0.1 -python-multipart==0.0.20 -PyYAML==6.0.2 -regex==2024.11.6 -rich==13.9.4 -rich-toolkit==0.13.2 -scikit-learn==1.6.1 -scipy==1.15.2 -shellingham==1.5.4 -sniffio==1.3.1 -starlette==0.45.3 -textblob==0.19.0 -threadpoolctl==3.5.0 -tqdm==4.67.1 -typer==0.15.1 -typing_extensions==4.12.2 -ujson==5.10.0 -uvicorn==0.34.0 -uvloop==0.21.0 -watchfiles==1.0.4 -websockets==15.0 +annotated-types +anyio +black +certifi +click +dnspython +email_validator +fastapi +fastapi-cli +h11 +httpcore +httptools +httpx +idna +iniconfig +itsdangerous +Jinja2 +joblib +markdown-it-py +MarkupSafe +mdurl +mypy-extensions +nltk +numpy +orjson +packaging +pathspec +platformdirs +pluggy +pydantic +pydantic-extra-types +pydantic-settings +pydantic_core +Pygments +pytest +python-dotenv +python-multipart +PyYAML +regex +rich +rich-toolkit +scikit-learn +scipy +shellingham +sniffio +starlette +textblob +threadpoolctl +tqdm +typer +typing_extensions +ujson +uvicorn +uvloop +watchfiles +websockets