Re: make check without Python 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 20, 2018 at 3:20 AM, Nathan Cutler <ncutler@xxxxxxx> wrote:
> Work is now ongoing to gradually wean Ceph off Python 2.
>
> Currently, Python 2 is a hard requirement - Ceph will not work smoothly
> without it. The goal is to change this so that Python 3 is required and
> Python 2 is optional.
>
> We have Ceph building in environments without Python 2, but it does not yet
> pass "make check". One of the reasons (and possibly the only reason) for the
> "make check" failure is that several test scripts have a shebang
> "#!/usr/bin/env python" which of course fails in a Python 3-only
> environment.
>
> (Yes, there *might* be a symlink from python -> python3, but this is not
> assured and SUSE, at least, is not going in this direction.)

Generalizing, how is SUSE handling all upstream projects that have
"#!/usr/bin/env python"? Are you patching all of those to
#!/usr/bin/python3 ?

- Ken
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux