Oryx build cannot find Django module in requirements.txt when it's actually listed.
Bug Report
-
At what date and time did you most recently experience the problem? This evening
-
Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use. Multiple different Azure App Service instances (spread across two appservice plans)
-
If your repo is publicly available please share its URL: Not publicly listed
-
What happened? Deployed app service as we always do, no changes to pipeline or requirements.txt, then run into this error.
-
What did you expect or want to happen? Oryx to actually see that Django is listed in the requirements.txt
-
How can we reproduce it? Hard to tell, as this appears to be an intermittent issue to us too. Sometimes a restart or redeploy makes it work again.
-
Do you have log output? Please include between the backticks:
[19:06:00+0000] Collecting Django==5.1.1 (from -r requirements.txt (line 34))
[19:06:00+0000] Using cached Django-5.1.1-py3-none-any.whl.metadata (4.2 kB)
[19:06:00+0000] Collecting django-appconf==1.0.5 (from -r requirements.txt (line 35))
[19:06:00+0000] Using cached django_appconf-1.0.5-py3-none-any.whl.metadata (5.3 kB)
[19:06:00+0000] Collecting django-auto-prefetch==1.8.0 (from -r requirements.txt (line 36))
[19:06:00+0000] Using cached django_auto_prefetch-1.8.0-py3-none-any.whl.metadata (8.6 kB)
[19:06:00+0000] Collecting django-auto-prefetching==0.2.12 (from -r requirements.txt (line 37))
[19:06:00+0000] Using cached django_auto_prefetching-0.2.12-py2.py3-none-any.whl.metadata (5.3 kB)
[19:06:00+0000] Collecting django-autocomplete-light==3.9.7 (from -r requirements.txt (line 38))
[19:06:00+0000] Using cached django_autocomplete_light-3.9.7-py3-none-any.whl
[19:06:00+0000] Collecting django-bootstrap3==24.2 (from -r requirements.txt (line 39))
[19:06:00+0000] Using cached django_bootstrap3-24.2-py3-none-any.whl.metadata (5.9 kB)
[19:06:00+0000] Collecting django-cors-headers==3.14.0 (from -r requirements.txt (line 40))
[19:06:00+0000] Using cached django_cors_headers-3.14.0-py3-none-any.whl.metadata (17 kB)
[19:06:00+0000] Collecting django-crum==0.7.9 (from -r requirements.txt (line 41))
[19:06:00+0000] Using cached django_crum-0.7.9-py2.py3-none-any.whl.metadata (3.6 kB)
[19:06:00+0000] Collecting django-debug-toolbar==5.2.0 (from -r requirements.txt (line 42))
[19:06:00+0000] Using cached django_debug_toolbar-5.2.0-py3-none-any.whl.metadata (4.5 kB)
[19:06:00+0000] Collecting django-extensions==3.2.3 (from -r requirements.txt (line 43))
[19:06:00+0000] Using cached django_extensions-3.2.3-py3-none-any.whl.metadata (6.3 kB)
[19:06:00+0000] Collecting django-filter==24.3 (from -r requirements.txt (line 44))
[19:06:00+0000] Using cached django_filter-24.3-py3-none-any.whl.metadata (5.2 kB)
[19:06:00+0000] Collecting django-health-check==3.17.0 (from -r requirements.txt (line 45))
[19:06:00+0000] Using cached django_health_check-3.17.0-py2.py3-none-any.whl.metadata (11 kB)
[19:06:00+0000] Collecting django-json-widget==2.0.1 (from -r requirements.txt (line 46))
[19:06:00+0000] Using cached django_json_widget-2.0.1-py2.py3-none-any.whl
[19:06:00+0000] Collecting django-mathfilters==1.0.0 (from -r requirements.txt (line 47))
[19:06:00+0000] Using cached django_mathfilters-1.0.0-py3-none-any.whl.metadata (3.4 kB)
[19:06:00+0000] Collecting django-measurement==3.2.4 (from -r requirements.txt (line 48))
[19:06:00+0000] Using cached django_measurement-3.2.4-py2.py3-none-any.whl.metadata (4.0 kB)
[19:06:00+0000] Collecting django-pgtrigger==4.13.3 (from -r requirements.txt (line 49))
[19:06:00+0000] Using cached django_pgtrigger-4.13.3-py3-none-any.whl.metadata (5.7 kB)
[19:06:00+0000] Collecting django-revproxy==0.12.0 (from -r requirements.txt (line 50))
[19:06:00+0000] Using cached django_revproxy-0.12.0-py3-none-any.whl.metadata (4.0 kB)
[19:06:00+0000] Collecting django-sendgrid-v5==1.2.3 (from -r requirements.txt (line 51))
[19:06:00+0000] Using cached django_sendgrid_v5-1.2.3-py3-none-any.whl.metadata (7.5 kB)
[19:06:00+0000] Collecting django-sequences==3.0 (from -r requirements.txt (line 52))
[19:06:00+0000] Using cached django_sequences-3.0-py3-none-any.whl.metadata (16 kB)
[19:06:00+0000] Collecting django-silk==5.3.0 (from -r requirements.txt (line 53))
[19:06:00+0000] Using cached django_silk-5.3.0-py3-none-any.whl.metadata (19 kB)
[19:06:00+0000] Collecting django-simple-history==3.5.0 (from -r requirements.txt (line 54))
[19:06:00+0000] Using cached django_simple_history-3.5.0-py3-none-any.whl.metadata (21 kB)
[19:06:00+0000] Collecting django-soft-delete==0.9.21 (from -r requirements.txt (line 55))
[19:06:00+0000] Using cached django_soft_delete-0.9.21-py3-none-any.whl.metadata (3.1 kB)
[19:06:00+0000] Collecting django-softdelete==0.10.5 (from -r requirements.txt (line 56))
[19:06:00+0000] Using cached django_softdelete-0.10.5-py3-none-any.whl.metadata (527 bytes)
[19:06:00+0000] Collecting django-storages==1.13.2 (from -r requirements.txt (line 57))
[19:06:00+0000] Using cached django_storages-1.13.2-py3-none-any.whl.metadata (58 kB)
[19:06:00+0000] Collecting django-tables2==2.7.0 (from -r requirements.txt (line 58))
[19:06:00+0000] Using cached django_tables2-2.7.0-py2.py3-none-any.whl.metadata (3.9 kB)
[19:06:00+0000] Collecting djangorestframework==3.14.0 (from -r requirements.txt (line 59))
[19:06:00+0000] Using cached djangorestframework-3.14.0-py3-none-any.whl.metadata (10 kB)
[19:06:00+0000] Collecting djangorestframework-camel-case==1.4.2 (from -r requirements.txt (line 60))
[19:06:00+0000] Using cached djangorestframework_camel_case-1.4.2-py3-none-any.whl
[19:06:01+0000] Collecting djangorestframework-simplejwt==5.2.2 (from -r requirements.txt (line 61))
[19:06:01+0000] Using cached djangorestframework_simplejwt-5.2.2-py3-none-any.whl.metadata (4.1 kB)
[19:06:01+0000] Collecting djangoviz==0.1.1 (from -r requirements.txt (line 62))
[19:06:01+0000] Using cached djangoviz-0.1.1-py3-none-any.whl.metadata (2.2 kB)
28/07/2025, 09:08:14 PM
1. Missing Django module in /tmp/8ddce09c50caca6/requirements.txt
- Next Steps: Add Django to your requirements.txt file.