yasithdev opened a new pull request, #126: URL: https://github.com/apache/airavata-portals/pull/126
## Track B (start) — Django 3.2 → 5.2 LTS Move the portal off **EOL Django 3.2** to the **5.2 LTS** line (runs on Python 3.10–3.13). With Wagtail removed (#115), the deprecation surface is tiny: - **requirements** — `Django 3.2.18 → 5.2.15`, `djangorestframework 3.12.4 → 3.16.1`. - **`settings.py`** — drop `USE_L10N` (removed in Django 5.0; localization is on by default). - **`apps/api/apps.py`** — replace `pkg_resources.iter_entry_points` (removed in setuptools 81) with the stdlib `importlib.metadata.entry_points` selectable API (Python 3.10+). Clears the only remaining deprecation warning and the `setuptools<81` pin. No other removed-API usage: `timezone.utc` is `datetime`'s (not the Django one removed in 5.0), and the `django.conf.urls.include` imports are still valid. ### Validation On the baseline venv: **`manage.py check`** and **`makemigrations --check --dry-run`** are both clean on Django 5.2 (zero warnings). Full request-path validation needs the running backend (Track D / tilt); `check` exercises URLconf + app imports. ### Follow-ups (later Track B/C increments) - `requests` / `requests-oauthlib` security bumps (oauthlib changes the auth flow — validated separately). - `django-webpack-loader 0.6 → 3.x` — config-format change; `0.6.0` loads fine on 5.2, but its bump is validated together with the **Track C** frontend (Vite) build. - Python 3.13 runtime switch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
