selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Switch to Python 3 by default
@ 2019-02-20 16:04 Petr Lautrbach
  2019-02-20 16:04 ` [PATCH 1/3] Always use /usr/bin/python3 in Python scripts Petr Lautrbach
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Petr Lautrbach @ 2019-02-20 16:04 UTC (permalink / raw)
  To: selinux


Default instalation seems to be inconsistent a little when PYTHON
variable is not used during build. Python 2 versions of selinux and
semanage modules are built and installed, but /usr/sbin/semanage and
other tools are already changed to use /usr/bin/python3.

I'd like to propose to change to Python 3 by default and leave it on a
maintainer to use PYTHON=/usr/bin/python2 when they doesn't have Python
3 available. They would also need to change shebangs of some tools, but
this is the same situation as used to be when default was Python 2 and
maintainers needed to change shebangs to /usr/bin/python3.

Do you have any objections?



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-02-26 13:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-20 16:04 [RFC] Switch to Python 3 by default Petr Lautrbach
2019-02-20 16:04 ` [PATCH 1/3] Always use /usr/bin/python3 in Python scripts Petr Lautrbach
2019-02-21 20:17   ` Nicolas Iooss
2019-02-26 13:21     ` Petr Lautrbach
2019-02-20 16:04 ` [PATCH 2/3] Switch to python3 by default Petr Lautrbach
2019-02-20 16:04 ` [PATCH 3/3] README: Update Fedora python 3 dependencies Petr Lautrbach
2019-02-20 21:17 ` [RFC] Switch to Python 3 by default Stephen Smalley
2019-02-21 19:00   ` Nicolas Iooss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).