Skip to content

Commit 2192a84

Browse files
committed
Refactor dependencies in pyproject.toml:
- Moved test dependencies to a dedicated group and added pytest and coverage. - Created a separate lint group with flake8 and related plugins. - Added debugpy and rag-core libraries to the dev group. - Updated production dependencies for rag-core libraries to version 2.2.1.
1 parent 4479baf commit 2192a84

17 files changed

Lines changed: 1253 additions & 749 deletions

File tree

libs/admin-api-lib/poetry.lock

Lines changed: 114 additions & 53 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: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "admin-api-lib"
7-
version = "1.0.1"
7+
version = "2.2.1"
88
description = "The admin backend is responsible for the document management. This includes deletion, upload and returning the source document."
99
authors = ["STACKIT Data and AI Consulting <data-ai-consulting@stackit.cloud>"]
1010
packages = [{ include = "admin_api_lib", from = "src" }]
@@ -65,10 +65,12 @@ known_local_folder = ["admin_api_lib", "rag_core_lib"]
6565
[tool.pylint]
6666
max-line-length = 120
6767

68-
[tool.poetry.group.dev.dependencies]
69-
debugpy = "^1.8.14"
68+
[tool.poetry.group.test.dependencies]
7069
pytest = "^8.3.5"
70+
pytest-asyncio = "^1.0.0"
7171
coverage = "^7.8.0"
72+
73+
[tool.poetry.group.lint.dependencies]
7274
flake8 = "^7.2.0"
7375
flake8-black = "^0.3.6"
7476
flake8-pyproject = "^1.2.3"
@@ -90,9 +92,11 @@ flake8-wot = "^0.2.0"
9092
flake8-function-order = "^0.0.5"
9193
flake8-tidy-imports = "^4.10.0"
9294
black = "^25.1.0"
93-
# flake8-logging-format = "^2024.24.12"
94-
# flake8-docstrings = "^1.7.0"
95-
pytest-asyncio = "^1.0.0"
95+
flake8-logging-format = "^2024.24.12"
96+
flake8-docstrings = "^1.7.0"
97+
98+
[tool.poetry.group.dev.dependencies]
99+
debugpy = "^1.8.14"
96100

97101
[tool.poetry.dependencies]
98102
rag-core-lib = {path = "../rag-core-lib"}

libs/extractor-api-lib/poetry.lock

Lines changed: 125 additions & 68 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: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "extractor_api_lib"
7-
version = "1.0.1"
7+
version = "2.2.1"
88
description = "Extracts the content of documents, websites, etc and maps it to a common format."
99
authors = ["STACKIT Data and AI Consulting <data-ai-consulting@stackit.cloud>"]
1010
packages = [{ include = "extractor_api_lib", from = "src" }]
@@ -77,7 +77,6 @@ uvicorn = "^0.34.2"
7777
dependency-injector = "^4.46.0"
7878
pydantic-settings = "^2.9.1"
7979
boto3 = "^1.38.10"
80-
debugpy = "^1.8.14"
8180
python-multipart = "^0.0.20"
8281
oauthlib = "^3.2.2"
8382
requests-oauthlib = "^2.0.0"
@@ -102,10 +101,13 @@ camelot-py = {extras = ["cv"], version = "^1.0.0"}
102101
fake-useragent = "^2.2.0"
103102
pypandoc-binary = "^1.15"
104103

105-
[tool.poetry.group.dev.dependencies]
104+
[tool.poetry.group.test.dependencies]
106105
pytest = "^8.3.5"
107106
pytest-asyncio = "^0.26.0"
108107
coverage = "^7.8.0"
108+
httpx = "^0.28.1"
109+
110+
[tool.poetry.group.lint.dependencies]
109111
flake8 = "^7.2.0"
110112
flake8-black = "^0.3.6"
111113
flake8-pyproject = "^1.2.3"
@@ -127,11 +129,11 @@ flake8-wot = "^0.2.0"
127129
flake8-function-order = "^0.0.5"
128130
flake8-tidy-imports = "^4.10.0"
129131
black = "^25.1.0"
130-
# flake8-logging-format = "^2024.24.12"
131-
# flake8-docstrings = "^1.7.0"
132+
flake8-logging-format = "^2024.24.12"
133+
flake8-docstrings = "^1.7.0"
132134

133-
[tool.poetry.group.tests.dependencies]
134-
httpx = "^0.28.1"
135+
[tool.poetry.group.dev.dependencies]
136+
debugpy = "^1.8.14"
135137

136138
[tool.pytest.ini_options]
137139
log_cli = true

libs/pyproject.toml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ build-backend = "poetry.core.masonry.api"
5656

5757
[tool.poetry.dependencies]
5858
python = "^3.13"
59+
60+
[tool.poetry.group.test.dependencies]
61+
pytest = "^8.3.5"
62+
pytest-asyncio = "^1.0.0"
63+
coverage = "^7.8.0"
64+
65+
[tool.poetry.group.lint.dependencies]
5966
flake8 = "^7.2.0"
6067
flake8-black = "^0.3.6"
6168
flake8-pyproject = "^1.2.3"
@@ -77,5 +84,8 @@ flake8-wot = "^0.2.0"
7784
flake8-function-order = "^0.0.5"
7885
flake8-tidy-imports = "^4.10.0"
7986
black = "^25.1.0"
80-
# flake8-logging-format = "^2024.24.12"
81-
# flake8-docstrings = "^1.7.0"
87+
flake8-logging-format = "^2024.24.12"
88+
flake8-docstrings = "^1.7.0"
89+
90+
[tool.poetry.group.dev.dependencies]
91+
debugpy = "^1.8.14"

libs/rag-core-api/poetry.lock

Lines changed: 64 additions & 3 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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "rag-core-api"
7-
version = "1.0.1"
7+
version = "2.2.1"
88
description = "The core of the rag-template."
99
authors = ["STACKIT Data and AI Consulting <data-ai-consulting@stackit.cloud>"]
1010
packages = [{ include = "rag_core_api", from = "src" }]
@@ -59,8 +59,8 @@ flake8-wot = "^0.2.0"
5959
flake8-function-order = "^0.0.5"
6060
flake8-tidy-imports = "^4.10.0"
6161
black = "^25.1.0"
62-
# flake8-logging-format = "^2024.24.12"
63-
# flake8-docstrings = "^1.7.0"
62+
flake8-logging-format = "^2024.24.12"
63+
flake8-docstrings = "^1.7.0"
6464

6565

6666
[tool.flake8]

libs/rag-core-lib/poetry.lock

Lines changed: 62 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/rag-core-lib/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "rag-core-lib"
7-
version = "1.0.1"
7+
version = "2.2.1"
88
description = "The core library for the RAG. It contains shared components and utilities for the RAG libs."
99
authors = ["STACKIT GmbH & Co. KG"]
1010
packages = [{ include = "rag_core_lib", from = "src" }]
@@ -50,8 +50,8 @@ flake8-wot = "^0.2.0"
5050
flake8-function-order = "^0.0.5"
5151
flake8-tidy-imports = "^4.10.0"
5252
black = "^25.1.0"
53-
# flake8-logging-format = "^2024.24.12"
54-
# flake8-docstrings = "^1.7.0"
53+
flake8-logging-format = "^2024.24.12"
54+
flake8-docstrings = "^1.7.0"
5555

5656

5757
[tool.flake8]

0 commit comments

Comments
 (0)