Projet

Général

Profil

Development #25222

Quelques warning de dépréciation

Ajouté par Emmanuel Cazenave il y a presque 6 ans. Mis à jour il y a plus de 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
11 juillet 2018
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

Une série de warning a contourner :

src/authentic2_provisionning_ldap/tests/test_ldap.py::ProvisionTest::test_ldap_provisionning
  /tmp/tox-cazino/authentic/coverage-dj18-authentic-pg-fast/local/lib/python2.7/site-packages/django/core/management/base.py:260: RemovedInDjango19Warning: "requires_model_validation" is deprecated in favor of " 
requires_system_checks".
    RemovedInDjango19Warning)

tests/test_commands.py::test_cleanupauthentic
  /home/cazino/src/authentic/src/authentic2/idp/management/commands/cleanupauthentic.py:12: RemovedInDjango19Warning: django.db.models.get_apps is deprecated.                                                    
    for app in models.get_apps():
  /tmp/tox-cazino/authentic/coverage-dj18-authentic-pg-fast/local/lib/python2.7/site-packages/django/db/models/__init__.py:55: RemovedInDjango19Warning: The utilities in django.db.models.loading are deprecated i
n favor of the new application loading system.
    from . import loading
  /tmp/tox-cazino/authentic/coverage-dj18-authentic-pg-fast/local/lib/python2.7/site-packages/django/db/models/__init__.py:56: RemovedInDjango19Warning: [a.models_module for a in get_app_configs()] supersedes ge
t_apps().
    return getattr(loading, function_name)(*args, **kwargs)
  /home/cazino/src/authentic/src/authentic2/idp/management/commands/cleanupauthentic.py:13: RemovedInDjango19Warning: django.db.models.get_models is deprecated.                                                  
    for model in models.get_models(app):
  /tmp/tox-cazino/authentic/coverage-dj18-authentic-pg-fast/local/lib/python2.7/site-packages/django/utils/lru_cache.py:101: RemovedInDjango19Warning: The app_mod argument of get_models is deprecated.          
    result = user_function(*args, **kwds)


Fichiers


Demandes liées

Lié à Authentic 2 - Development #24870: Ne plus utiliser de fonctionnalités dépréciées en django 1.7Fermé28 juin 2018

Actions

Révisions associées

Révision 5afd362b (diff)
Ajouté par Emmanuel Cazenave il y a presque 6 ans

quiet some RemovedInDjango19Warning warnings (#25222)

Historique

#1

Mis à jour par Emmanuel Cazenave il y a presque 6 ans

  • Lié à Development #24870: Ne plus utiliser de fonctionnalités dépréciées en django 1.7 ajouté
#2

Mis à jour par Emmanuel Cazenave il y a presque 6 ans

A appliquer après #24866, rien de spectaculaire ici.

#3

Mis à jour par Benjamin Dauvergne il y a presque 6 ans

  • Statut changé de Solution proposée à Solution validée

Ack.

#4

Mis à jour par Emmanuel Cazenave il y a presque 6 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 5afd362bc3eaaa4f9b5839e57b365089d299ba29
Author: Emmanuel Cazenave <ecazenave@entrouvert.com>
Date:   Thu Jul 12 18:45:27 2018 +0200

    quiet some RemovedInDjango19Warning warnings (#25222)
#5

Mis à jour par Emmanuel Cazenave il y a plus de 5 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#6

Mis à jour par Benjamin Dauvergne il y a plus de 5 ans

  • Statut changé de Solution déployée à Fermé

Formats disponibles : Atom PDF