From afeb30b80e8fc2b49754bc8bd6e0596394b443f1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Oct 2026 02:11:43 +0000 Subject: [PATCH 1/2] chore(deps-backend)(deps): bump the minor-and-patch group Bumps the minor-and-patch group in /backend with 3 updates: [uvicorn](https://github.com/Kludex/uvicorn), [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) and [coverage](https://github.com/coveragepy/coveragepy). Updates `uvicorn` from 0.53.0 to 0.54.0 - [Release notes](https://github.com/Kludex/uvicorn/releases) - [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md) - [Commits](https://github.com/Kludex/uvicorn/compare/0.53.0...0.54.0) Updates `sqlalchemy` from 2.0.54 to 2.1.1 - [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases) - [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst) - [Commits](https://github.com/sqlalchemy/sqlalchemy/commits) Updates `coverage` from 7.16.1 to 7.16.2 - [Release notes](https://github.com/coveragepy/coveragepy/releases) - [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst) - [Commits](https://github.com/coveragepy/coveragepy/compare/7.16.1...7.16.2) --- updated-dependencies: - dependency-name: uvicorn dependency-version: 0.54.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: sqlalchemy dependency-version: 2.1.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: coverage dependency-version: 7.16.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] --- backend/requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/requirements.txt b/backend/requirements.txt index 48896ee..7fac918 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -6,7 +6,7 @@ fastapi==0.141.1 pydantic==2.13.5 pydantic-settings==2.15.0 -uvicorn[standard]==0.53.0 +uvicorn[standard]==0.54.0 python-multipart==0.0.32 # Email parsing @@ -32,7 +32,7 @@ filetype==1.2.0 python-docx==1.2.0 # Database (SQLAlchemy >= 2.0.36 richiesto per Python 3.13+) -sqlalchemy==2.0.54 +sqlalchemy==2.1.1 aiosqlite==0.22.1 # Security / sanitization @@ -45,7 +45,7 @@ defusedxml==0.7.1 pytest==9.1.1 pytest-asyncio==1.4.0 httpx==0.28.1 -coverage==7.16.1 +coverage==7.16.2 # Language detection langdetect==1.0.9 From 359f9d24a3c813ba5ee022f58032dfae541e29ae Mon Sep 17 00:00:00 2001 From: 0verwrite <31691645+overwrite00@users.noreply.github.com> Date: Fri, 2 Oct 2026 11:06:40 +0200 Subject: [PATCH 2/2] fix(deps): require sqlalchemy[asyncio] extra for SQLAlchemy 2.1 SQLAlchemy 2.1 no longer installs greenlet by default, which broke sqlalchemy.ext.asyncio at import time. Use the asyncio extra and update docs/REQUIREMENTS.md accordingly. --- backend/requirements.txt | 3 ++- docs/REQUIREMENTS.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/requirements.txt b/backend/requirements.txt index 7fac918..bb0d7f2 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -32,7 +32,8 @@ filetype==1.2.0 python-docx==1.2.0 # Database (SQLAlchemy >= 2.0.36 richiesto per Python 3.13+) -sqlalchemy==2.1.1 +# L'extra [asyncio] installa greenlet, non piΓΉ dipendenza di default da SQLAlchemy 2.1 +sqlalchemy[asyncio]==2.1.1 aiosqlite==0.22.1 # Security / sanitization diff --git a/docs/REQUIREMENTS.md b/docs/REQUIREMENTS.md index 4aa75ed..cdeef78 100644 --- a/docs/REQUIREMENTS.md +++ b/docs/REQUIREMENTS.md @@ -148,7 +148,7 @@ All dependencies are installed **automatically** during first run via `start.bat - **aiohttp** (3.9.0+) β€” Async HTTP for parallel requests ### πŸ’Ύ Data Persistence -- **sqlalchemy** (2.0.34+) β€” ORM with async support +- **sqlalchemy[asyncio]** (2.1.1+) β€” ORM with async support (the `asyncio` extra pulls in `greenlet`, which SQLAlchemy 2.1 no longer installs by default) - **aiosqlite** (3.1.0+) β€” Async SQLite driver ### πŸ“„ Report Generation