Skip to content

Conversation

@YuriZmytrakov
Copy link
Collaborator

@YuriZmytrakov YuriZmytrakov commented Nov 22, 2025

Description:

When running tests locally, in dev environement, we are encountering redis import error, because it is not being installed:

ImportError while loading conftest '/app/stac_fastapi/tests/conftest.py'.
conftest.py:16: in <module>
    from stac_fastapi.core.core import (
../core/stac_fastapi/core/core.py:27: in <module>
    from stac_fastapi.core.redis_utils import redis_pagination_links
../core/stac_fastapi/core/redis_utils.py:11: in <module>
    from redis import asyncio as aioredis
E   ModuleNotFoundError: No module named 'redis'

PR Checklist:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable
  • Changes are added to the changelog

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.

2 participants