DPDK patches and discussions
 help / color / mirror / Atom feed
* [RFC] Python Version for DTS
@ 2022-01-20 14:42 Owen Hilyard
  2022-01-20 15:53 ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Owen Hilyard @ 2022-01-20 14:42 UTC (permalink / raw)
  To: dts, dev; +Cc: Honnappa Nagarahalli

[-- Attachment #1: Type: text/plain, Size: 881 bytes --]

Hello Everyone,

DTS has operated using the version of python available in the oldest
supported Ubuntu LTS for a while now, but after some discussion in the
working group, we decided that DTS should designate a Python version
explicitly for the sake of compatibility. My initial proposal is Python
3.6, due to Ubuntu 18.04 LTS shipping with it by default. Currently, the
Community CI Lab runs Python 3.8 on all testers (Ubuntu 20.04 LTS), but for
the sake of compatibility a lower python version might be desirable.

The working group is specifically looking for reasons to not use Python 3.6.

The Community CI Lab perspective is that versions higher than 3.8 are not
acceptable due to the issues with changing the default Python installation
on Ubuntu. This may be raised to 3.10 in June of this year after we have
had time to evaluate the 22.04 release of Ubuntu.

Owen Hilyard

[-- Attachment #2: Type: text/html, Size: 1003 bytes --]

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

* Re: [RFC] Python Version for DTS
  2022-01-20 14:42 [RFC] Python Version for DTS Owen Hilyard
@ 2022-01-20 15:53 ` Stephen Hemminger
  2022-01-21  1:00   ` Honnappa Nagarahalli
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Hemminger @ 2022-01-20 15:53 UTC (permalink / raw)
  To: Owen Hilyard; +Cc: dts, dev, Honnappa Nagarahalli

On Thu, 20 Jan 2022 09:42:51 -0500
Owen Hilyard <ohilyard@iol.unh.edu> wrote:

> Hello Everyone,
> 
> DTS has operated using the version of python available in the oldest
> supported Ubuntu LTS for a while now, but after some discussion in the
> working group, we decided that DTS should designate a Python version
> explicitly for the sake of compatibility. My initial proposal is Python
> 3.6, due to Ubuntu 18.04 LTS shipping with it by default. Currently, the
> Community CI Lab runs Python 3.8 on all testers (Ubuntu 20.04 LTS), but for
> the sake of compatibility a lower python version might be desirable.
> 
> The working group is specifically looking for reasons to not use Python 3.6.
> 
> The Community CI Lab perspective is that versions higher than 3.8 are not
> acceptable due to the issues with changing the default Python installation
> on Ubuntu. This may be raised to 3.10 in June of this year after we have
> had time to evaluate the 22.04 release of Ubuntu.
> 
> Owen Hilyard

Python 3.6 reached end of life in 2021.

https://lwn.net/Articles/880859/

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

* RE: [RFC] Python Version for DTS
  2022-01-20 15:53 ` Stephen Hemminger
@ 2022-01-21  1:00   ` Honnappa Nagarahalli
  2022-02-02 13:37     ` Owen Hilyard
  0 siblings, 1 reply; 4+ messages in thread
From: Honnappa Nagarahalli @ 2022-01-21  1:00 UTC (permalink / raw)
  To: Stephen Hemminger, Owen Hilyard; +Cc: dts, dev, nd, nd

<snip>

> 
> On Thu, 20 Jan 2022 09:42:51 -0500
> Owen Hilyard <ohilyard@iol.unh.edu> wrote:
> 
> > Hello Everyone,
> >
> > DTS has operated using the version of python available in the oldest
> > supported Ubuntu LTS for a while now, but after some discussion in the
> > working group, we decided that DTS should designate a Python version
> > explicitly for the sake of compatibility. My initial proposal is
> > Python 3.6, due to Ubuntu 18.04 LTS shipping with it by default.
> > Currently, the Community CI Lab runs Python 3.8 on all testers (Ubuntu
> > 20.04 LTS), but for the sake of compatibility a lower python version might be
> desirable.
> >
> > The working group is specifically looking for reasons to not use Python 3.6.
> >
> > The Community CI Lab perspective is that versions higher than 3.8 are
> > not acceptable due to the issues with changing the default Python
> > installation on Ubuntu. This may be raised to 3.10 in June of this
> > year after we have had time to evaluate the 22.04 release of Ubuntu.
I guess only reason to specify a (max) supported Python version is the environment in community lab. So, if someone submits a patch that requires a newer version, it should be caught in the CI. This should enable us to reject such a patch.

> >
> > Owen Hilyard
> 
> Python 3.6 reached end of life in 2021.
> 
> https://lwn.net/Articles/880859/

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

* Re: [RFC] Python Version for DTS
  2022-01-21  1:00   ` Honnappa Nagarahalli
@ 2022-02-02 13:37     ` Owen Hilyard
  0 siblings, 0 replies; 4+ messages in thread
From: Owen Hilyard @ 2022-02-02 13:37 UTC (permalink / raw)
  To: Honnappa Nagarahalli; +Cc: Stephen Hemminger, dts, dev, nd

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

After some discussion in the working group, we decided that this is mostly
a question of what the labs can support. The UNH Lab uses the version of
python that ships with the latest Ubuntu LTS, which is 3.8. The Intel Lab
is in a similar situation. Are there any objections to python 3.8 with
updates trailing Ubuntu LTS by a few months for stability reasons?

[-- Attachment #2: Type: text/html, Size: 382 bytes --]

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

end of thread, other threads:[~2022-02-02 13:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 14:42 [RFC] Python Version for DTS Owen Hilyard
2022-01-20 15:53 ` Stephen Hemminger
2022-01-21  1:00   ` Honnappa Nagarahalli
2022-02-02 13:37     ` Owen Hilyard

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).