File tree Expand file tree Collapse file tree 7 files changed +36
-29
lines changed
Expand file tree Collapse file tree 7 files changed +36
-29
lines changed Original file line number Diff line number Diff line change 1212 - uses : actions/checkout@v3
1313 - uses : actions/setup-python@v4
1414 with :
15- python-version : ' 3.11 '
15+ python-version : ' 3.14 '
1616 cache : ' pip'
1717 - run : pip install -r requirements.txt
1818 - name : ruff
Original file line number Diff line number Diff line change 1- FROM python:3.10.2 -slim-bullseye
1+ FROM python:3.14.3 -slim-trixie
22
33ENV PIP_DISABLE_PIP_VERSION_CHECK 1
44ENV PYTHONDONTWRITEBYTECODE 1
Original file line number Diff line number Diff line change 88 ./manage.py runserver 0.0.0.0:8000
99
1010build :
11+ npm install
1112 make styles-build
1213 make generate_app_links_client
1314
Original file line number Diff line number Diff line change 11from django .template .loader import get_template
2- from unfold .admin import UnfoldAdminTextareaWidget
3- from unfold .widgets import TEXTAREA_CLASSES , PROSE_CLASSES
2+ from unfold .widgets import TEXTAREA_CLASSES , PROSE_CLASSES , UnfoldAdminTextareaWidget
43
54from now_u_api .settings import BASE_URL
65
Original file line number Diff line number Diff line change @@ -93,9 +93,6 @@ def get_required_env(name: str) -> str:
9393
9494 # Health checks
9595 'health_check' ,
96- 'health_check.db' ,
97- 'health_check.storage' ,
98- 'health_check.contrib.migrations' ,
9996]
10097
10198MIDDLEWARE = [
Original file line number Diff line number Diff line change 2626from django .conf .urls .static import static
2727from rest_framework import routers
2828from drf_spectacular .views import SpectacularAPIView , SpectacularRedocView
29+ from health_check .views import HealthCheckView
2930
3031router = routers .DefaultRouter ()
3132router .register (r'actions' , causeViews .ActionViewSet , basename = 'action' )
5354 re_path (r'^saml2_auth/' , include ('django_saml2_auth.urls' )),
5455 re_path (r'^admin/login/$' , django_saml2_auth .views .signin ),
5556
56- path (r'health/' , include ('health_check.urls' )),
57+ path (
58+ r'health/' ,
59+ HealthCheckView .as_view (
60+ checks = [
61+ "health_check.Database" ,
62+ "health_check.Storage" ,
63+ ]
64+ ),
65+ ),
5766]
5867
5968# In debug mode we serve static files
Original file line number Diff line number Diff line change 1- django == 5.1
2- djangorestframework == 3.14.0
3- Pillow == 9.5.0
4- grafana-django-saml2-auth == 3.11 .0
5- pyjwt == 2.7.0
1+ django == 6.0.2
2+ djangorestframework == 3.16.1
3+ Pillow == 12.1.1
4+ grafana-django-saml2-auth == 3.20 .0
5+ pyjwt == 2.10.1
66# TODO This adds 200mb to the image!! Is there a better way?
7- psycopg2-binary == 2.9.6
7+ psycopg2-binary == 2.9.11
88
9- meilisearch == 0.31.5
9+ meilisearch == 0.40.0
1010mailchimp-marketing == 3.0.80
11- supabase == 2.7.3
11+ supabase == 2.28.0
12+ websockets == 15
1213
13- django-log-request-id == 2.1.0
14+ django-log-request-id == 2.1.1
1415
1516## Openapi generator (probably dev/build dep)
1617pyyaml
1718uritemplate
1819drf-spectacular
1920
20- python-dotenv == 1.0.0
21- django-storages [azure ]== 1.13
21+ python-dotenv == 1.2.1
22+ django-storages [azure ]== 1.14.6
2223
2324## Admin
2425django-unfold == 0.81.0
2526
26- django-cors-headers == 4.2 .0
27+ django-cors-headers == 4.9 .0
2728
28- sentry-sdk [django ]== 1.38 .0
29+ sentry-sdk [django ]== 2.53 .0
2930
30- django-health-check == 3.18.3
31+ django-health-check == 4.0.6
3132
3233## dev deps TODO move
3334
3435### Testing deps
35- pytest == 7.4.0
36- pytest-django == 4.5.2
37- factory_boy == 3.2.1
36+ pytest == 9.0.2
37+ pytest-django == 4.12.0
38+ factory-boy == 3.3.3
3839
3940## Linting deps
40- mypy == 1.11.0
41- django-stubs [compatible-mypy ]== 5.1.0
42- djangorestframework-stubs == 3.15.1
41+ mypy == 1.19.1
42+ django-stubs [compatible-mypy ]== 5.2.9
43+ djangorestframework-stubs == 3.16.8
4344
44- ruff == 0.0.287
45+ ruff == 0.15.4
You can’t perform that action at this time.
0 commit comments