Projet

Général

Profil

Development #30608

mise à niveau pour debian buster

Ajouté par Nicolas Roche il y a environ 5 ans. Mis à jour il y a environ 5 ans.

Statut:
Fermé
Priorité:
Bas
Assigné à:
Version cible:
-
Début:
13 février 2019
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

Sur buster apt installe ansible en 2.7.6 à présent basé sur python3 :
- Warning sur la syntaxe "apt" avec ansible 2.7.6 (python2 ou python3)
- Erreur sur la fonction "iteritems" avec ansible basé sur python3


Fichiers

0001-upgrade-to-buster-30608.patch (1,79 ko) 0001-upgrade-to-buster-30608.patch Nicolas Roche, 13 février 2019 14:54
0001-upgrade-to-buster-30608.patch (1,8 ko) 0001-upgrade-to-buster-30608.patch Nicolas Roche, 13 février 2019 16:17

Révisions associées

Révision 8c059c95 (diff)
Ajouté par Nicolas Roche il y a environ 5 ans

upgrade to buster (#30608)

correct :
- warning on apt
- error on iteritems(): replaced by items() when running under python3

Historique

#2

Mis à jour par Nicolas Roche il y a environ 5 ans

(en effet...)

- corrige l'erreur sur "iteritems" lorsque ansible utilise python3 (version installée via apt sur buster)
fatal: [localhost]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'iteritems'"}

- corrige le warning sur "apt" qui s'affiche sur la version 2.7 d'ansible (absent sur la dernière 2.6)
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated.

#3

Mis à jour par Emmanuel Cazenave il y a environ 5 ans

Manque des retours à la ligne dans ton message de commit :

commit ee0e845cdb4035b58a9aa73a943d784c03474352 (HEAD -> wip/30608-buster)
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Wed Feb 13 14:36:17 2019 +0100

    upgrade to buster (#30608) - warning on apt - error on iteritems(): replaced by items() when running under python3

Il faudrait que ce soit un truc dans le genre :

commit ee0e845cdb4035b58a9aa73a943d784c03474352 (HEAD -> wip/30608-buster)
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Wed Feb 13 14:36:17 2019 +0100

    upgrade to buster (#30608)

- warning on apt
- error on iteritems(): replaced by items() when running under python3
#5

Mis à jour par Emmanuel Cazenave il y a environ 5 ans

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

Ok.

Tu peux l'appliquer sur master, puis git push origin master, et ensuite tu passes le ticket en "résolu à déployer" en mettant dans le ticket le commit comme je l'ai fait dans mon commentaire précédent.

#6

Mis à jour par Nicolas Roche il y a environ 5 ans

  • Statut changé de Solution validée à Résolu (à déployer)
#7

Mis à jour par Paul Marillonnet il y a environ 5 ans

commit 8c059c95dc2eb5b414e1f3b5f31bc4e699ee28cd
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Wed Feb 13 16:11:56 2019 +0100

    upgrade to buster (#30608)

    correct :
    - warning on apt
    - error on iteritems(): replaced by items() when running under python3

#8

Mis à jour par Nicolas Roche il y a environ 5 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF