Projet

Général

Profil

Bug #74843

compatibilité django 3.2

Ajouté par Frédéric Péters il y a environ un an. Mis à jour il y a environ un an.

Statut:
Fermé
Priorité:
Haut
Assigné à:
Version cible:
-
Début:
24 février 2023
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non
Tags:

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

Révision 88c3a415 (diff)
Ajouté par Benjamin Dauvergne il y a environ un an

setup.py: update django requirement (#74843)

Allow django<3.3.

Révision 04fba9a0 (diff)
Ajouté par Benjamin Dauvergne il y a environ un an

dj32: update pyscopg2 requirement (#74843)

  • use psycopg2-binary for 2.x compatibility
  • use any version after

Révision 4ba9701d (diff)
Ajouté par Benjamin Dauvergne il y a environ un an

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

Révision 2d7f7ed9 (diff)
Ajouté par Benjamin Dauvergne il y a environ un an

dj32: replace use of ugettext_lazy (#74843)

Révision ba197a4b (diff)
Ajouté par Benjamin Dauvergne il y a environ un an

dj32: update use of default_app_config (#74843)

Use a version condition as it's still necessary for Django 2.x.

Révision 2d64de04 (diff)
Ajouté par Benjamin Dauvergne il y a environ un an

misc: remove use of python_2_unicode_compatible decorator (#74843)

Python2 is not supported for a long time.

Révision 4d2e935f (diff)
Ajouté par Benjamin Dauvergne il y a environ un an

dj32: remove use of six (#74843)

Révision 7b6df2d5 (diff)
Ajouté par Benjamin Dauvergne il y a environ un an

dj32: remove use of force_text (#74843)

Révision 9dc5a2d8 (diff)
Ajouté par Benjamin Dauvergne il y a environ un an

dj32: remove use of force_bytes (#74843)

Révision 470fea47 (diff)
Ajouté par Benjamin Dauvergne il y a environ un an

dj32: replace use of url by re_path (#74843)

Révision 0440e461 (diff)
Ajouté par Benjamin Dauvergne il y a environ un an

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

#2

Mis à jour par Benjamin Dauvergne il y a environ un an

  • Assigné à mis à Benjamin Dauvergne
#3

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 :

#4

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.

#5

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 :

#6

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 :

#7

Mis à jour par Transition automatique il y a environ 2 mois

Automatic expiration

Formats disponibles : Atom PDF