mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-06-23 21:59:57 +02:00
feat(poetry update):
This commit is contained in:
Generated
+816
-484
File diff suppressed because it is too large
Load Diff
+23
-24
@@ -28,50 +28,49 @@ agentic_security = "agentic_security.__main__:main"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.11"
|
||||
fastapi = "^0.116.1"
|
||||
uvicorn = "^0.35.0"
|
||||
fire = "0.7.0"
|
||||
fastapi = "^0.122.0"
|
||||
uvicorn = "^0.38.0"
|
||||
fire = "0.7.1"
|
||||
loguru = "^0.7.3"
|
||||
httpx = "^0.28.1"
|
||||
cache-to-disk = "^2.0.0"
|
||||
pandas = ">=1.4,<3.0"
|
||||
datasets = "^4.0.0"
|
||||
datasets = "^4.4.1"
|
||||
tabulate = ">=0.8.9,<0.10.0"
|
||||
colorama = "^0.4.4"
|
||||
matplotlib = "^3.10.5"
|
||||
pydantic = "^2.11.7"
|
||||
matplotlib = "^3.10.7"
|
||||
pydantic = "^2.12.5"
|
||||
scikit-optimize = "^0.10.2"
|
||||
scikit-learn = "^1.7.1"
|
||||
scikit-learn = "^1.7.2"
|
||||
numpy = ">=1.24.3,<3.0.0"
|
||||
jinja2 = "^3.1.4"
|
||||
python-multipart = "^0.0.20"
|
||||
tomli = "^2.2.1"
|
||||
rich = "^14.1.0"
|
||||
tomli = "^2.3.0"
|
||||
rich = "^14.2.0"
|
||||
gTTS = "^2.5.4"
|
||||
sentry_sdk = "^2.34.1"
|
||||
orjson = "^3.11.2"
|
||||
pyfiglet = "^1.0.3"
|
||||
termcolor = "^3.1.0"
|
||||
mcp = "^1.12.4"
|
||||
sentry_sdk = "^2.46.0"
|
||||
orjson = "^3.11.4"
|
||||
pyfiglet = "^1.0.4"
|
||||
termcolor = "^3.2.0"
|
||||
mcp = "^1.22.0"
|
||||
# garak = { version = "*", optional = true }
|
||||
pytest-xdist = "^3.8.0"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
# Pytest
|
||||
pytest = "^8.4.1"
|
||||
pytest-asyncio = "^1.1.0"
|
||||
inline-snapshot = ">=0.13.3,<0.27.2"
|
||||
pytest-httpx = "^0.35.0"
|
||||
pytest-mock = "^3.14.1"
|
||||
pytest = "^9.0.1"
|
||||
pytest-asyncio = "^1.3.0"
|
||||
inline-snapshot = "^0.31.1"
|
||||
pytest-mock = "^3.15.1"
|
||||
# Rest
|
||||
black = ">=24.10,<26.0"
|
||||
mypy = "^1.17.1"
|
||||
pre-commit = "^4.3.0"
|
||||
huggingface-hub = ">=0.25.1,<0.34.4"
|
||||
mypy = "^1.19.0"
|
||||
pre-commit = "^4.5.0"
|
||||
huggingface-hub = "^1.1.6"
|
||||
# Docs
|
||||
mkdocs = ">=1.4.2"
|
||||
mkdocs-material = "^9.6.16"
|
||||
mkdocstrings = ">=0.29.0"
|
||||
mkdocs-material = "^9.7.0"
|
||||
mkdocstrings = "^1.0.0"
|
||||
mkdocs-jupyter = ">=0.25.1"
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
from fastapi import FastAPI
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
import agentic_security.test_spec_assets as test_spec_assets
|
||||
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():
|
||||
|
||||
@@ -2,11 +2,14 @@ from pathlib import Path
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
from fastapi import FastAPI
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
from agentic_security.routes.report import router
|
||||
|
||||
client = TestClient(router)
|
||||
app = FastAPI()
|
||||
app.include_router(router)
|
||||
client = TestClient(app)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
from fastapi import HTTPException
|
||||
from fastapi import FastAPI, HTTPException
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
from agentic_security.primitives import Settings
|
||||
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():
|
||||
|
||||
Reference in New Issue
Block a user