Bug #74843
compatibilité django 3.2
0%
Description
#72941 annonce le faire mais fail classique :
py3-dj32 installed: ...,Django==2.2.28,...
et donc, on passe à côté du fait que ça soit cassé :
File "/usr/lib/python3/dist-packages/zoo/zoo_data/models.py", line 31, in <module> from django.utils.six import python_2_unicode_compatible ModuleNotFoundError: No module named 'django.utils.six'
Révisions associées
dj32: update pyscopg2 requirement (#74843)
- use psycopg2-binary for 2.x compatibility
- use any version after
dj32: update django-rest-framework requirement (#74843)
- declare latest supported version in setup.py
- set limit in tox.ini for test with django 2.x
dj32: replace use of ugettext_lazy (#74843)
dj32: update use of default_app_config (#74843)
Use a version condition as it's still necessary for Django 2.x.
misc: remove use of python_2_unicode_compatible decorator (#74843)
Python2 is not supported for a long time.
dj32: remove use of six (#74843)
dj32: remove use of force_text (#74843)
dj32: remove use of force_bytes (#74843)
dj32: replace use of url by re_path (#74843)
dj32: adapts lookups/transforms (#74843)
- remove django <2.x compatibility code
- use Lower transform/function from Django
- register Lower on CharField
- register text lookup transforms on non contrib JSONField
- declare text transform as outputting CharField type
- fix declaration of timestamp lookup output type
Historique
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Nouveau à Solution proposée
Benjamin Dauvergne (bdauvergne) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/zoo/pulls/1
- Titre : wip/74843-compatibilite-django
- Modifications : https://git.entrouvert.org/entrouvert/zoo/pulls/1/files
Mis à jour par Benjamin Dauvergne il y a environ un an
Tout est ok notamment sur les parties du code contenant des requêtes ORM un peu complexe, c'est bien couvert par les tests.
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution proposée à Solution validée
Thomas NOËL (tnoel) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution validée à Résolu (à déployer)
Benjamin Dauvergne (bdauvergne) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/zoo/pulls/1
- Titre : wip/74843-compatibilite-django
- Modifications : https://git.entrouvert.org/entrouvert/zoo/pulls/1/files
setup.py: update django requirement (#74843)
Allow django<3.3.