@@ -219,25 +219,25 @@ jobs:
219219 pip install dash-package/dash-package.tar.gz[ci,dev,testing,celery,diskcache] --progress-bar off
220220 pip list
221221 - run :
222- name : DEBUG - Python Environment and Redis Importability
223- command : |
224- # Activate your virtualenv (e.g., source venv/bin/activate)
225- echo "Python Executable: $(which python)"
226- echo "Python Version: $(python --version)"
227- echo "Setuptools Version: $(python -c 'import setuptools; print(setuptools.__version__)' || echo 'Setuptools not found')"
228- echo "Pip Version: $(pip --version)"
229- echo "--- sys.path ---"
230- python -c "import sys; print(sys.path)"
231- echo "--- Current Directory (pwd): $(pwd) ---"
232- ls -la
233- echo "--- Looking for local redis.py (potential shadowing) ---"
234- find . -name "redis.py" -print
235- echo "--- Full pip freeze ---"
236- pip freeze
237- echo "--- Attempting direct import of 'redis' ---"
238- python -c "import redis; print(f'Successfully imported redis version {redis.__version__} from {redis.__file__}')" || echo "Direct import of 'redis' FAILED"
239- echo "--- Attempting to access Celery's Redis backend module (conceptual check) ---"
240- python -c "from celery.backends import redis as celery_redis_backend; print(f'Celery was able to access its redis backend module: {celery_redis_backend.__file__}')" || echo "Accessing Celery's redis backend module FAILED"
222+ name : DEBUG - Python Environment and Redis Importability
223+ command : |
224+ # Activate your virtualenv (e.g., source venv/bin/activate)
225+ echo "Python Executable: $(which python)"
226+ echo "Python Version: $(python --version)"
227+ echo "Setuptools Version: $(python -c 'import setuptools; print(setuptools.__version__)' || echo 'Setuptools not found')"
228+ echo "Pip Version: $(pip --version)"
229+ echo "--- sys.path ---"
230+ python -c "import sys; print(sys.path)"
231+ echo "--- Current Directory (pwd): $(pwd) ---"
232+ ls -la
233+ echo "--- Looking for local redis.py (potential shadowing) ---"
234+ find . -name "redis.py" -print
235+ echo "--- Full pip freeze ---"
236+ pip freeze
237+ echo "--- Attempting direct import of 'redis' ---"
238+ python -c "import redis; print(f'Successfully imported redis version {redis.__version__} from {redis.__file__}')" || echo "Direct import of 'redis' FAILED"
239+ echo "--- Attempting to access Celery's Redis backend module (conceptual check) ---"
240+ python -c "from celery.backends import redis as celery_redis_backend; print(f'Celery was able to access its redis backend module: {celery_redis_backend.__file__}')" || echo "Accessing Celery's redis backend module FAILED"
241241 - run :
242242 name : 🧪 Run Integration Tests
243243 command : |
0 commit comments