[74] Update dependencies and fix Python 3.13 compatibility#75
Merged
Conversation
* Updated requirements.txt to modern Python 3.13-compatible versions (Django 5.2, numpy 2.x, Pillow 10+, etc.); removed dev tools and Python 3.6 backports * Fixed server/urls.py: replaced removed url() with re_path() from django.urls (url() was dropped in Django 4.0) * Added DEFAULT_AUTO_FIELD to settings.py to silence Django 5.x warning * Updated Dockerfile base image from EOL python:3.6-alpine to python:3.13-alpine; fixed ENV and CMD syntax Resolves #74
Django 5.x requires Python 3.10+; pip on Python 3.8 cannot resolve Django>=5.1 at all. Also bumped actions/checkout and setup-python to their latest major versions (v4/v5). Resolves #74
nirlipo
commented
Jun 10, 2026
nirlipo
left a comment
Contributor
Author
There was a problem hiding this comment.
Checked all steps work in my local machine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
requirements.txtto Python 3.13-compatible versions (Django 5.2, numpy 2.x, Pillow 10+, djangorestframework 3.15+, etc.); removed dev-only tools (pipenv,virtualenv) and thezipfile36Python 3.6 backportserver/urls.py: replaced the removeddjango.conf.urls.url()withre_path()fromdjango.urls(dropped in Django 4.0)DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'tosettings.pyto silence Django 5.x auto-field warningDockerfilebase image from EOLpython:3.6-alpinetopython:3.13-alpine; fixedENVkey=value syntax and JSONCMDformTest plan
pip install -r requirements.txtcompletes without errors on Python 3.13python manage.py migrateruns cleanly (0 issues)python manage.py runserverstarts andGET /api/returns HTTP 200docker build -t planimation-backend:latest -f server/docker/release/Dockerfile serversucceeds with no warningsGET /api/returns HTTP 200 on port 8000Resolves #74
🤖 Generated with Claude Code