Skip to content

Commit 4f1ce6d

Browse files
committed
fix(ci): replace python-jose/ecdsa/rsa with PyJWT in workflow pip installs
Both Test Suite and Integration Tests steps were installing python-jose, ecdsa, and rsa. Now they install PyJWT>=2.9 (no ecdsa dependency). Also bumps the cryptography floor to >=50 in the integration step. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018H6joKwZduARSMACcqjZQA
1 parent c80500f commit 4f1ce6d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
pip install --upgrade pip
2626
# Install only what the tests need — avoids building heavy native
2727
# extensions (asyncpg, cryptography/bcrypt, etc.) that are mocked.
28-
# python-jose and passlib are installed without extras to avoid cffi/C-extension issues.
29-
# HS256 only needs Python stdlib hmac; bcrypt is handled by passlib's pbkdf2 fallback.
28+
# PyJWT uses stdlib hmac for HS256 — no cffi/C-extension needed.
29+
# bcrypt is handled by passlib's pbkdf2 fallback in test environments.
3030
pip install \
3131
pytest>=8 pytest-asyncio>=0.23 httpx>=0.27 ruff>=0.4 \
3232
fastapi>=0.111 pydantic>=2.7 "pydantic-settings>=2.3" \
3333
"sqlalchemy[asyncio]>=2.0" pyyaml>=6.0 \
3434
jinja2>=3.1 \
35-
"passlib>=1.7" "python-jose>=3.3" "ecdsa>=0.18" "rsa>=4.0"
35+
"passlib>=1.7" "PyJWT>=2.9"
3636
3737
- name: Lint (ruff)
3838
run: ruff check .
@@ -194,8 +194,8 @@ jobs:
194194
fastapi>=0.111 pydantic>=2.7 "pydantic-settings>=2.3" \
195195
"sqlalchemy[asyncio]>=2.0" "asyncpg>=0.29" "alembic>=1.13" \
196196
pyyaml>=6.0 jinja2>=3.1 \
197-
"passlib>=1.7" "python-jose>=3.3" "ecdsa>=0.18" "rsa>=4.0" \
198-
"cryptography>=42"
197+
"passlib>=1.7" "PyJWT>=2.9" \
198+
"cryptography>=50"
199199
200200
- name: Run Alembic migrations
201201
run: alembic upgrade head

0 commit comments

Comments
 (0)