All of lore.kernel.org
 help / color / mirror / Atom feed
* Status of python3 for fio?
@ 2018-03-28 15:45 Eric Sandeen
  2018-03-28 16:17 ` Sitsofe Wheeler
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Sandeen @ 2018-03-28 15:45 UTC (permalink / raw)
  To: fio

Fedora is moving more and more towards python3.  (TBH, as a non-python
expert, I don't know all the details...)

I see that python2.7 is hardcoded in several scripts, and Jens though
there were possibly some patches "floating out there" to switch
the various scripts to python3.  Does anyone know the status of
this work?

Thanks,
-Eric

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

* Re: Status of python3 for fio?
  2018-03-28 15:45 Status of python3 for fio? Eric Sandeen
@ 2018-03-28 16:17 ` Sitsofe Wheeler
  2018-03-28 21:54   ` Eric Sandeen
  0 siblings, 1 reply; 3+ messages in thread
From: Sitsofe Wheeler @ 2018-03-28 16:17 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: fio

Hi,

On 28 March 2018 at 16:45, Eric Sandeen <sandeen@redhat.com> wrote:
> Fedora is moving more and more towards python3.  (TBH, as a non-python
> expert, I don't know all the details...)
>
> I see that python2.7 is hardcoded in several scripts, and Jens though
> there were possibly some patches "floating out there" to switch
> the various scripts to python3.  Does anyone know the status of
> this work?

fiologparser_hist.py was made Python 3 compatible but it's unknown
whether all the other scripts are as ready (I'm going to guess no). The
hope is that eventually all scripts will be made Python 3 ready but it
will be up to distros to rename the interpreter to use to one they
like at packaging time because it's impossible to satisfy all distros
with a single interpreter line...

You can see the rationale behind the python2.7 rename here:
https://github.com/axboe/fio/commit/60023ade47e7817db1c18d9b7e511839de5c2c99
and here: https://www.spinics.net/lists/fio/msg06746.html (and a
followup here
https://www.spinics.net/lists/fio/msg06748.html ).

-- 
Sitsofe | http://sucs.org/~sits/

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

* Re: Status of python3 for fio?
  2018-03-28 16:17 ` Sitsofe Wheeler
@ 2018-03-28 21:54   ` Eric Sandeen
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Sandeen @ 2018-03-28 21:54 UTC (permalink / raw)
  To: Sitsofe Wheeler; +Cc: fio

On 3/28/18 11:17 AM, Sitsofe Wheeler wrote:
> Hi,
> 
> On 28 March 2018 at 16:45, Eric Sandeen <sandeen@redhat.com> wrote:
>> Fedora is moving more and more towards python3.  (TBH, as a non-python
>> expert, I don't know all the details...)
>>
>> I see that python2.7 is hardcoded in several scripts, and Jens though
>> there were possibly some patches "floating out there" to switch
>> the various scripts to python3.  Does anyone know the status of
>> this work?
> 
> fiologparser_hist.py was made Python 3 compatible but it's unknown
> whether all the other scripts are as ready (I'm going to guess no). The
> hope is that eventually all scripts will be made Python 3 ready but it
> will be up to distros to rename the interpreter to use to one they
> like at packaging time because it's impossible to satisfy all distros
> with a single interpreter line...
> 
> You can see the rationale behind the python2.7 rename here:
> https://github.com/axboe/fio/commit/60023ade47e7817db1c18d9b7e511839de5c2c99
> and here: https://www.spinics.net/lists/fio/msg06746.html (and a
> followup here
> https://www.spinics.net/lists/fio/msg06748.html ).

Ok, thanks.  So, I'm going to try using the automated tools to make them
python3-compatible.

I'm no python guru, so I hope that if I take a semi-dumb approach and send
patches it'll at least be a starting point, if not perfect.

Thanks,
-Eric

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

end of thread, other threads:[~2018-03-28 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-28 15:45 Status of python3 for fio? Eric Sandeen
2018-03-28 16:17 ` Sitsofe Wheeler
2018-03-28 21:54   ` Eric Sandeen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.