All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [RFC] Minimum Python 3 version?
@ 2019-09-27 16:05 Tom Rini
  2019-09-27 16:36 ` Peter Robinson
  2019-10-01 16:32 ` Matthias Brugger
  0 siblings, 2 replies; 5+ messages in thread
From: Tom Rini @ 2019-09-27 16:05 UTC (permalink / raw
  To: u-boot

Hey all,

I'm currently kicking test.py to use Python 3 instead of Python 2.7 and
seeing places where it would (seemingly) be nice to be able to say that
we have Python 3.6 as our minimum version.  To do this however we'll
have to tell people using older LTS distributions that they need to
figure out the best way for them to install a newer Python is, if they
want to run tests at least.

This will also mean moving GitLab to "bionic" rather than "xenial", but
that's not too bad and I've done so for trying to get all of the fs
tests to run (they don't, but I think that's down to needing to kick
gitlab-runner harder) and also moving Travis-CI to bionic but that too
is now just a few-line change to .travis.yml

So, does anyone object to saying that for everything that uses Python to
work, Python 3.6 or newer is needed, and for more common tools we'll
make best-effort to support older?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190927/0632d7a2/attachment.sig>

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

* [U-Boot] [RFC] Minimum Python 3 version?
  2019-09-27 16:05 [U-Boot] [RFC] Minimum Python 3 version? Tom Rini
@ 2019-09-27 16:36 ` Peter Robinson
  2019-09-27 21:20   ` [U-Boot] [U-Boot-Custodians] " Heinrich Schuchardt
  2019-10-01 16:32 ` Matthias Brugger
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Robinson @ 2019-09-27 16:36 UTC (permalink / raw
  To: u-boot

>
> I'm currently kicking test.py to use Python 3 instead of Python 2.7 and
> seeing places where it would (seemingly) be nice to be able to say that
> we have Python 3.6 as our minimum version.  To do this however we'll
> have to tell people using older LTS distributions that they need to
> figure out the best way for them to install a newer Python is, if they
> want to run tests at least.
>
> This will also mean moving GitLab to "bionic" rather than "xenial", but
> that's not too bad and I've done so for trying to get all of the fs
> tests to run (they don't, but I think that's down to needing to kick
> gitlab-runner harder) and also moving Travis-CI to bionic but that too
> is now just a few-line change to .travis.yml
>
> So, does anyone object to saying that for everything that uses Python to
> work, Python 3.6 or newer is needed, and for more common tools we'll
> make best-effort to support older?

That makes sense to me, the el8 distros (RHEL, CentOS etc) have 3.6
and el7 has 3.6 available by means, Fedora is at least 3.6 everywhere
for current releases so I don't think we should have any issues.

Peter

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

* [U-Boot] [U-Boot-Custodians]  [RFC] Minimum Python 3 version?
  2019-09-27 16:36 ` Peter Robinson
@ 2019-09-27 21:20   ` Heinrich Schuchardt
  2019-09-27 21:57     ` Vagrant Cascadian
  0 siblings, 1 reply; 5+ messages in thread
From: Heinrich Schuchardt @ 2019-09-27 21:20 UTC (permalink / raw
  To: u-boot

On 9/27/19 6:36 PM, Peter Robinson wrote:
>>
>> I'm currently kicking test.py to use Python 3 instead of Python 2.7 and
>> seeing places where it would (seemingly) be nice to be able to say that
>> we have Python 3.6 as our minimum version.  To do this however we'll
>> have to tell people using older LTS distributions that they need to
>> figure out the best way for them to install a newer Python is, if they
>> want to run tests at least.
>>
>> This will also mean moving GitLab to "bionic" rather than "xenial", but
>> that's not too bad and I've done so for trying to get all of the fs
>> tests to run (they don't, but I think that's down to needing to kick
>> gitlab-runner harder) and also moving Travis-CI to bionic but that too
>> is now just a few-line change to .travis.yml
>>
>> So, does anyone object to saying that for everything that uses Python to
>> work, Python 3.6 or newer is needed, and for more common tools we'll
>> make best-effort to support older?
>
> That makes sense to me, the el8 distros (RHEL, CentOS etc) have 3.6
> and el7 has 3.6 available by means, Fedora is at least 3.6 everywhere
> for current releases so I don't think we should have any issues.

Debian Stretch has Python 3.4.2.
End of life in 2020, end of long term support in 2022

Debian Buster has Python 3.7.3
End of life in 2022.

I would not expect expect Debian Stretch moving to current U-Boot. So
requiring Python 3.6 to build current U-Boot seems ok for Debian.

Best regards

Heinrich

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

* [U-Boot] [U-Boot-Custodians]  [RFC] Minimum Python 3 version?
  2019-09-27 21:20   ` [U-Boot] [U-Boot-Custodians] " Heinrich Schuchardt
@ 2019-09-27 21:57     ` Vagrant Cascadian
  0 siblings, 0 replies; 5+ messages in thread
From: Vagrant Cascadian @ 2019-09-27 21:57 UTC (permalink / raw
  To: u-boot

On 2019-09-27, Heinrich Schuchardt wrote:
> On 9/27/19 6:36 PM, Peter Robinson wrote:
>>> I'm currently kicking test.py to use Python 3 instead of Python 2.7 and
>>> seeing places where it would (seemingly) be nice to be able to say that
>>> we have Python 3.6 as our minimum version.  To do this however we'll
>>> have to tell people using older LTS distributions that they need to
>>> figure out the best way for them to install a newer Python is, if they
>>> want to run tests at least.
...
>>> So, does anyone object to saying that for everything that uses Python to
>>> work, Python 3.6 or newer is needed, and for more common tools we'll
>>> make best-effort to support older?
>>
>> That makes sense to me, the el8 distros (RHEL, CentOS etc) have 3.6
>> and el7 has 3.6 available by means, Fedora is at least 3.6 everywhere
>> for current releases so I don't think we should have any issues.
>
> Debian Stretch has Python 3.4.2.
> End of life in 2020, end of long term support in 2022
>
> Debian Buster has Python 3.7.3
> End of life in 2022.
>
> I would not expect expect Debian Stretch moving to current U-Boot. So
> requiring Python 3.6 to build current U-Boot seems ok for Debian.

Python 3.6+ seems good to me, yes. Not planning on backporting anything
new to older Debian releases.

Thanks for working on the update to python3!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190927/5256401c/attachment.sig>

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

* [U-Boot] [U-Boot-Custodians] [RFC] Minimum Python 3 version?
  2019-09-27 16:05 [U-Boot] [RFC] Minimum Python 3 version? Tom Rini
  2019-09-27 16:36 ` Peter Robinson
@ 2019-10-01 16:32 ` Matthias Brugger
  1 sibling, 0 replies; 5+ messages in thread
From: Matthias Brugger @ 2019-10-01 16:32 UTC (permalink / raw
  To: u-boot



On 27/09/2019 18:05, Tom Rini wrote:
> Hey all,
> 
> I'm currently kicking test.py to use Python 3 instead of Python 2.7 and
> seeing places where it would (seemingly) be nice to be able to say that
> we have Python 3.6 as our minimum version.  To do this however we'll
> have to tell people using older LTS distributions that they need to
> figure out the best way for them to install a newer Python is, if they
> want to run tests at least.
> 
> This will also mean moving GitLab to "bionic" rather than "xenial", but
> that's not too bad and I've done so for trying to get all of the fs
> tests to run (they don't, but I think that's down to needing to kick
> gitlab-runner harder) and also moving Travis-CI to bionic but that too
> is now just a few-line change to .travis.yml
> 
> So, does anyone object to saying that for everything that uses Python to
> work, Python 3.6 or newer is needed, and for more common tools we'll
> make best-effort to support older?
> 

I just checked openSUSE in that regard and we should be fine. The oldest
version, openSUSE Leap 15.0 provides python 3.6.5

Thanks for working on that!
Matthias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191001/aa42a009/attachment.sig>

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

end of thread, other threads:[~2019-10-01 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-27 16:05 [U-Boot] [RFC] Minimum Python 3 version? Tom Rini
2019-09-27 16:36 ` Peter Robinson
2019-09-27 21:20   ` [U-Boot] [U-Boot-Custodians] " Heinrich Schuchardt
2019-09-27 21:57     ` Vagrant Cascadian
2019-10-01 16:32 ` Matthias Brugger

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.