Conversation
352dd6a to
dfdf577
Compare
dfdf577 to
c21c3fa
Compare
There was a problem hiding this comment.
Pull request overview
This PR addresses UUID serialization warnings by serializing uuid.UUID values as strings, and updates CI to adjust the Python/Django test matrix and GitHub Actions versions.
Changes:
- Serialize
uuid.UUIDfields asstrin_serialize_fieldto avoid JSON serialization warnings. - Remove Python 3.7 from the GitHub Actions matrix and update Actions used in the workflow.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
tracking_fields/tracking.py |
Adds explicit UUID handling in field serialization. |
.github/workflows/python-app.yml |
Updates Python version matrix and bumps GitHub Actions versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
.github/workflows/python-app.yml
Outdated
| - django_version: '4.0' | ||
| python_version: '3.7' | ||
| python_version: '3.8' | ||
|
|
||
| - django_version: '4.1' | ||
| python_version: '3.7' | ||
| python_version: '3.8' | ||
|
|
||
| - django_version: '4.2' | ||
| python_version: '3.7' | ||
| python_version: '3.8' |
There was a problem hiding this comment.
The matrix exclude list was previously excluding Python 3.7 for Django 4.x (unsupported). Now that 3.7 is removed from the matrix, these entries were changed to exclude Python 3.8 instead, which is a supported combination for Django 4.0/4.1/4.2 and is also covered in tox. This unintentionally drops CI coverage for Python 3.8 on Django 4.x; remove these exclude items (or adjust them to only exclude truly unsupported pairs, e.g. Django 4.0 with Python 3.11).
77e4013 to
b4510a6
Compare
Gagaro
left a comment
There was a problem hiding this comment.
Il faudrait mettre le README à jour au passage pour changer la version minimal de Django et enlever la mention de django-cuser + ajouter un passage sur le middleware à rajouter dans les settings pour avoir le user.
80c0bc2 to
8cd2198
Compare
8cd2198 to
2376b88
Compare
Il y avait des warnings lors de la sérialization d'un objet UUID.