feat(poetry update):

This commit is contained in:
Alexander Myasoedov
2025-11-30 14:21:20 +02:00
parent c45778f196
commit 8ddfec303f
5 changed files with 851 additions and 512 deletions
Generated
+816 -484
View File
File diff suppressed because it is too large Load Diff
+23 -24
View File
@@ -28,50 +28,49 @@ agentic_security = "agentic_security.__main__:main"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.11" python = "^3.11"
fastapi = "^0.116.1" fastapi = "^0.122.0"
uvicorn = "^0.35.0" uvicorn = "^0.38.0"
fire = "0.7.0" fire = "0.7.1"
loguru = "^0.7.3" loguru = "^0.7.3"
httpx = "^0.28.1" httpx = "^0.28.1"
cache-to-disk = "^2.0.0" cache-to-disk = "^2.0.0"
pandas = ">=1.4,<3.0" pandas = ">=1.4,<3.0"
datasets = "^4.0.0" datasets = "^4.4.1"
tabulate = ">=0.8.9,<0.10.0" tabulate = ">=0.8.9,<0.10.0"
colorama = "^0.4.4" colorama = "^0.4.4"
matplotlib = "^3.10.5" matplotlib = "^3.10.7"
pydantic = "^2.11.7" pydantic = "^2.12.5"
scikit-optimize = "^0.10.2" scikit-optimize = "^0.10.2"
scikit-learn = "^1.7.1" scikit-learn = "^1.7.2"
numpy = ">=1.24.3,<3.0.0" numpy = ">=1.24.3,<3.0.0"
jinja2 = "^3.1.4" jinja2 = "^3.1.4"
python-multipart = "^0.0.20" python-multipart = "^0.0.20"
tomli = "^2.2.1" tomli = "^2.3.0"
rich = "^14.1.0" rich = "^14.2.0"
gTTS = "^2.5.4" gTTS = "^2.5.4"
sentry_sdk = "^2.34.1" sentry_sdk = "^2.46.0"
orjson = "^3.11.2" orjson = "^3.11.4"
pyfiglet = "^1.0.3" pyfiglet = "^1.0.4"
termcolor = "^3.1.0" termcolor = "^3.2.0"
mcp = "^1.12.4" mcp = "^1.22.0"
# garak = { version = "*", optional = true } # garak = { version = "*", optional = true }
pytest-xdist = "^3.8.0" pytest-xdist = "^3.8.0"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
# Pytest # Pytest
pytest = "^8.4.1" pytest = "^9.0.1"
pytest-asyncio = "^1.1.0" pytest-asyncio = "^1.3.0"
inline-snapshot = ">=0.13.3,<0.27.2" inline-snapshot = "^0.31.1"
pytest-httpx = "^0.35.0" pytest-mock = "^3.15.1"
pytest-mock = "^3.14.1"
# Rest # Rest
black = ">=24.10,<26.0" black = ">=24.10,<26.0"
mypy = "^1.17.1" mypy = "^1.19.0"
pre-commit = "^4.3.0" pre-commit = "^4.5.0"
huggingface-hub = ">=0.25.1,<0.34.4" huggingface-hub = "^1.1.6"
# Docs # Docs
mkdocs = ">=1.4.2" mkdocs = ">=1.4.2"
mkdocs-material = "^9.6.16" mkdocs-material = "^9.7.0"
mkdocstrings = ">=0.29.0" mkdocstrings = "^1.0.0"
mkdocs-jupyter = ">=0.25.1" mkdocs-jupyter = ">=0.25.1"
+4 -1
View File
@@ -1,9 +1,12 @@
from fastapi import FastAPI
from fastapi.testclient import TestClient from fastapi.testclient import TestClient
import agentic_security.test_spec_assets as test_spec_assets import agentic_security.test_spec_assets as test_spec_assets
from agentic_security.routes.scan import router from agentic_security.routes.scan import router
client = TestClient(router) app = FastAPI()
app.include_router(router)
client = TestClient(app)
def test_upload_csv_and_run(): def test_upload_csv_and_run():
+4 -1
View File
@@ -2,11 +2,14 @@ from pathlib import Path
from unittest.mock import patch from unittest.mock import patch
import pytest import pytest
from fastapi import FastAPI
from fastapi.testclient import TestClient from fastapi.testclient import TestClient
from agentic_security.routes.report import router from agentic_security.routes.report import router
client = TestClient(router) app = FastAPI()
app.include_router(router)
client = TestClient(app)
@pytest.fixture @pytest.fixture
+4 -2
View File
@@ -1,13 +1,15 @@
from pathlib import Path from pathlib import Path
import pytest import pytest
from fastapi import HTTPException from fastapi import FastAPI, HTTPException
from fastapi.testclient import TestClient from fastapi.testclient import TestClient
from agentic_security.primitives import Settings from agentic_security.primitives import Settings
from agentic_security.routes.static import get_static_file, router from agentic_security.routes.static import get_static_file, router
client = TestClient(router) app = FastAPI()
app.include_router(router)
client = TestClient(app)
def test_root_route(): def test_root_route():