Skip to content

fix: unbreak CI (requirements, redis 8, workflow cleanup) - #11

Merged
steady41 merged 2 commits into
mainfrom
fix/ci-green
Aug 7, 2026
Merged

fix: unbreak CI (requirements, redis 8, workflow cleanup)#11
steady41 merged 2 commits into
mainfrom
fix/ci-green

Conversation

@steady41

@steady41 steady41 commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Fixes the broken CI on main.

Root cause: requirements.txt was a full pip freeze lock including test-only deps; dependabot major bumps (pytest 9, pytest-asyncio 1.4, redis 8) produced an unresolvable pydantic/pydantic_core conflict, so CI's test job could not even install.

Changes:

  • requirements.txt: direct production deps with ~ ranges (fastapi, uvicorn, pydantic-settings, redis, cryptography)
  • requirements-dev.txt: prod + test deps (pytest, pytest-asyncio, httpx, fakeredis)
  • app/storage.py: await pipe.reset() (redis-py 8 made Pipeline.reset async)
  • ci.yml: drop unused redis service (tests use fakeredis) and redundant pip install
  • .gitignore/.dockerignore: ignore .venv-ci

Verified locally: 10 tests pass on the new versions; pip-audit and bandit clean; docker build succeeds; real Redis 7 + redis-py 8 WATCH-transaction works.

@steady41
steady41 merged commit f98e8a2 into main Aug 7, 2026
4 checks passed
@steady41
steady41 deleted the fix/ci-green branch August 7, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant