Skip to content

armgit / ARES

Public Imported from GitHub
0

ARES - authorized red-team engagement automation with dashboard, campaign scope, module orchestration, OPSEC controls, encrypted vault, and reporting.

fix(ci): declare greenlet and sqlalchemy[asyncio] dependencies for async migrations

Mafifrizi935b11f6b6f2
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e308153..10c3c25 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -25,6 +25,7 @@ jobs:
with:
python-version: "3.12"
- run: python -m pip install --upgrade pip
+ - run: pip install greenlet "sqlalchemy[asyncio]>=2.0"
- run: pip install -e ".[dev]"
- run: python -m compileall ares tests
- run: pytest tests/unit -q --tb=short --timeout=60 --timeout-method=thread --maxfail=1
@@ -56,6 +57,7 @@ jobs:
with:
python-version: "3.12"
- run: python -m pip install --upgrade pip
+ - run: pip install greenlet "sqlalchemy[asyncio]>=2.0"
- run: pip install -e ".[dev,postgres]"
- env:
ARES_TEST_POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
diff --git a/pyproject.toml b/pyproject.toml
index 160c27e..7da5e58 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -50,7 +50,8 @@ dependencies = [
# Database (async + sync SQLite + migrations)
"aiosqlite>=0.20",
- "sqlalchemy>=2.0",
+ "sqlalchemy[asyncio]>=2.0",
+ "greenlet>=3.0",
"aiofiles>=23.2",
"alembic>=1.13", # DB migrations - required for revoked_access_tokens table