-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 2 vs 3 #52
Comments
Hi Etienne, I am not working on g5k since 2015. @mimbert @SimonDelamare : What do you think ? I guess it is time to migrate to python3 :) |
J'ai recontré 2 bugs :
Le point commun entre les 2 est effectivement la gestion de python3. |
Ah oui en effet, j'ai confondu execo et funk. C'est effectivement possible que funk n'est jamais été porté en python3 (et perso je ne suis pas certain de trouver le temps de m'en occuper). |
De mon côté pas trop le temps non plus, mais @eduble si tu veux les droits sur le dépot, je t'ajoute comme membre. |
Je veux bien m'occuper de ça (c'est à dire: soit rendre le code compatible
python2/3, soit si trop de boulot, forcer python2 dans le shebang)
je regarde
…On Fri, Apr 2, 2021 at 6:27 PM Laurent Pouilloux ***@***.***> wrote:
De mon côté pas trop le temps non plus, mais @eduble
<https://github.com/eduble> si tu veux les droits sur le dépot, je
t'ajoute comme membre.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#52 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHQALDVGHCKVBGCKVJDF4LTGXV77ANCNFSM42HGXVFA>
.
|
C'est fait, funk est compatible python3 et utilise python3 explicitement. |
Python2 c'est mort donc à mon avis c'est pas la peine. |
je me posais la question dans le cas d'une utilisation dans un vieil environnement (c'est pour la même raison que dans la dernière release execo j'ai continué de générer un .deb compatible avec debian jessie au cas où, même si c'est carrément antédiluvien) |
Bonjour, |
du coup pour éviter tout problème j'ai rendu le code compatible python2 et python3 tout à l'heure. |
OK merci. |
Merci @mimbert . |
Hello,
I noticed the code does not work with python3 (there is at least one print statement to replace).
And the shebang is
#!/usr/bin/env python
which may target python3 nowadays (if not the default on the OS, it is often the case when callingpython
from a virtualenv).Updating the shebang to
#!/usr/bin/env python2
would perhaps be a first workaround.Thanks for your work on this
Etienne
The text was updated successfully, but these errors were encountered: