Development #25222
Quelques warning de dépréciation
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
Révisions associées
Historique
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é
Mis à jour par Emmanuel Cazenave il y a presque 6 ans
- Fichier 0001-quiet-some-RemovedInDjango19Warning-warnings-25222.patch 0001-quiet-some-RemovedInDjango19Warning-warnings-25222.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
A appliquer après #24866, rien de spectaculaire ici.
Mis à jour par Benjamin Dauvergne il y a presque 6 ans
- Statut changé de Solution proposée à Solution validée
Ack.
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)
Mis à jour par Emmanuel Cazenave il y a plus de 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Benjamin Dauvergne il y a plus de 5 ans
- Statut changé de Solution déployée à Fermé
quiet some RemovedInDjango19Warning warnings (#25222)