>From <ka...@redhat.com>:

ka...@redhat.com has uploaded this change for review. ( 
https://review.gerrithub.io/407755


Change subject: python: prepare for python2->python3, explicit python2 in 
shebang
......................................................................

python: prepare for python2->python3, explicit python2 in shebang

Python2 will reach EOL in 2020. Red Hat has announced that the next
major version of RHEL (8?) will use python3 by default. We can only
guess what python2's status will be. Possibly deprecated, perhaps
available but strongly discouraged, maybe even completely unavailable.

For Fedora (and RHEL, CentOS, Sci Linux) at least, we're not supposed
to use '#!/usr/bin/env python', see
 
https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Shebang_lines

2) we're strongly suggested to not use '!/usr/bin/python', see
 
https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out
We can use a magic environment variable when building RPMs to delay the
inevitable for this. (But I believe many would prefer not to to put it off.)

The eventual goal is that eventually everything is made explicitly python3
in the shebangs and in any build and run-time invocations of python.

Change-Id: I4f6c529a1dcbb67f99dc57cde199fd13a58a4ea4
Signed-off-by: Kaleb S. KEITHLEY <kkeit...@redhat.com>
---
M src/scripts/ganeshactl/Ganesha/config_editor.py
M src/scripts/ganeshactl/Ganesha/ganesha_mgr_utils.py
M src/scripts/ganeshactl/Ganesha/glib_dbus_stats.py
M src/scripts/ganeshactl/client_stats_9pOps.py
M src/scripts/ganeshactl/export_stats_9pOps.py
M src/scripts/ganeshactl/fake_recall.py
M src/scripts/ganeshactl/ganesha-admin.py
M src/scripts/ganeshactl/ganesha_conf.py
M src/scripts/ganeshactl/ganesha_mgr.py
M src/scripts/ganeshactl/ganesha_stats.py
M src/scripts/ganeshactl/ganeshactl.py
M src/scripts/ganeshactl/get_clientids.py
M src/scripts/ganeshactl/grace_period.py
M src/scripts/ganeshactl/manage_clients.py
M src/scripts/ganeshactl/manage_exports.py
M src/scripts/ganeshactl/manage_logger.py
M src/scripts/gpfs-epoch
17 files changed, 18 insertions(+), 17 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/55/407755/1
--
To view, visit https://review.gerrithub.io/407755
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4f6c529a1dcbb67f99dc57cde199fd13a58a4ea4
Gerrit-Change-Number: 407755
Gerrit-PatchSet: 1
Gerrit-Owner: ka...@redhat.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to