Skip to content

Commit d1899fc

Browse files
authored
chore: update starlette dependency (#161)
This pull request updates dependencies in several Python project files to ensure compatibility with newer versions of `fastapi` and `starlette`. These changes help keep the codebase secure and up-to-date with the latest features and bug fixes in these frameworks. fixes #160 **Dependency upgrades for API libraries:** * Upgraded `fastapi` from version `^0.118.0` to `^0.121.2` in `libs/admin-api-lib/pyproject.toml`, `libs/extractor-api-lib/pyproject.toml`, and `libs/rag-core-api/pyproject.toml`. [[1]](diffhunk://#diff-9c5aeb0db77c2eec077d07ddc3b3810ae1a4a1e50ee7061fba37a46706c513fbL110-R110) [[2]](diffhunk://#diff-dede389bcfb615c4b45cd1da7ac14cbe9535305f41f19cce09e321c91a8bb323L85-R85) [[3]](diffhunk://#diff-9c4162cc1c16dd4c7ec5e95e79df285e8c0882a1db7ff2892c746a0537d26c36L27-R27) * Updated `starlette` version constraints from `>=0.47.2,<0.49.0` to `>=0.49.1` in `libs/admin-api-lib/pyproject.toml`, `libs/extractor-api-lib/pyproject.toml`, `libs/rag-core-api/pyproject.toml`, and `services/mcp-server/pyproject.toml`. [[1]](diffhunk://#diff-9c5aeb0db77c2eec077d07ddc3b3810ae1a4a1e50ee7061fba37a46706c513fbL120-R122) [[2]](diffhunk://#diff-dede389bcfb615c4b45cd1da7ac14cbe9535305f41f19cce09e321c91a8bb323L116-R116) [[3]](diffhunk://#diff-9c4162cc1c16dd4c7ec5e95e79df285e8c0882a1db7ff2892c746a0537d26c36R45) [[4]](diffhunk://#diff-a32cd883126f65652f92c8ecc411d949b7bcf95edb2156c36dc2c1b7063ee690L24-R24)
1 parent 271758f commit d1899fc

11 files changed

Lines changed: 146 additions & 66 deletions

File tree

libs/admin-api-lib/poetry.lock

Lines changed: 22 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/admin-api-lib/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pytest-asyncio = "^1.0.0"
107107
rag-core-lib = {path = "../rag-core-lib"}
108108
python = "^3.13"
109109
uvicorn = "^0.37.0"
110-
fastapi = "^0.118.0"
110+
fastapi = "^0.121.2"
111111
dependency-injector = "^4.46.0"
112112
python-dateutil = "^2.9.0.post0"
113113
tenacity = "9.1.2"
@@ -117,9 +117,9 @@ langfuse = "3.6.1"
117117
redis = "^6.0.0"
118118
pyyaml = "^6.0.2"
119119
python-multipart = "^0.0.20"
120-
starlette = ">=0.47.2,<0.49.0"
121120
langchain-experimental = "^0.3.4"
122121
nltk = "^3.9.2"
122+
starlette = ">=0.49.1"
123123

124124
[tool.pytest.ini_options]
125125
log_cli = true

libs/extractor-api-lib/poetry.lock

Lines changed: 21 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/extractor-api-lib/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ wheel = "^0.45.1"
8282
botocore = "^1.38.10"
8383
fasttext = "^0.9.3"
8484
pytesseract = "^0.3.10"
85-
fastapi = "^0.118.0"
85+
fastapi = "^0.121.2"
8686
uvicorn = "^0.37.0"
8787
dependency-injector = "^4.46.0"
8888
pydantic-settings = "^2.9.1"
@@ -113,7 +113,7 @@ camelot-py = {extras = ["cv"], version = "^1.0.0"}
113113
fake-useragent = "^2.2.0"
114114
pypdfium2 = "4.30.0"
115115
pypandoc-binary = "^1.15"
116-
starlette = ">=0.47.2,<0.49.0"
116+
starlette = ">=0.49.1"
117117
markitdown = {version = "^0.1.3", extras = ["all"]}
118118
docling = "2.61.2"
119119
torch = { version = "2.9.0+cpu", source = "pytorch_cpu" }

libs/rag-core-api/poetry.lock

Lines changed: 22 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/rag-core-api/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ rag-core-lib = { path = "../rag-core-lib", develop = true}
2424
uvicorn = "^0.37.0"
2525
langchain-qdrant = "^0.2.0"
2626
dependency-injector = "^4.46.0"
27-
fastapi = "^0.118.0"
27+
fastapi = "^0.121.2"
2828
requests-oauthlib = "^2.0.0"
2929
qdrant-client = "^1.14.2"
3030
deprecated = "^1.2.18"
@@ -42,6 +42,7 @@ fastembed = "^0.7.0"
4242
langdetect = "^1.0.9"
4343
langfuse = "3.6.1"
4444
langchain-text-splitters = ">=0.3.9"
45+
starlette = ">=0.49.1"
4546

4647
[tool.poetry.group.dev.dependencies]
4748
debugpy = "^1.8.14"

services/admin-backend/poetry.lock

Lines changed: 23 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)