All of lore.kernel.org
 help / color / mirror / Atom feed
From: ratbert90 <aduskett@gmail.com>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>,
	Samuel Martin <s.martin49@gmail.com>,
	Philippe Proulx <eeppeliteloop@gmail.com>,
	Asaf Kahlon <asafka7@gmail.com>,
	Matt Weber <matthew.weber@collins.com>,
	Julien Olivain <ju.o@free.fr>,
	"buildroot@buildroot.org" <buildroot@buildroot.org>,
	Mauro Condarelli <mc5686@mclink.it>,
	Oli Vogt <oli.vogt.pub01@gmail.com>
Subject: Re: [Buildroot] [PATCH 00/20] package/python3: bump to version 3.10
Date: Mon, 11 Oct 2021 04:45:15 +0000	[thread overview]
Message-ID: <BY5PR19MB3668F598352B7532E5E4D414FBB59@BY5PR19MB3668.namprd19.prod.outlook.com> (raw)
In-Reply-To: <20211010193025.GP2081069@scaer>


[-- Attachment #1.1: Type: text/plain, Size: 3792 bytes --]

Hello
________________________________
Da: Yann E. MORIN <yann.morin.1998@free.fr>
Inviato: domenica, ottobre 10, 2021 12:30
A: Thomas Petazzoni
Cc: Adam Duskett; Jugurtha BELKALEM; Samuel Martin; Philippe Proulx; Asaf Kahlon; Oli Vogt; Julien Olivain; buildroot@buildroot.org; Mauro Condarelli; Matt Weber
Oggetto: Re: [Buildroot] [PATCH 00/20] package/python3: bump to version 3.10

Thomas, All,

On 2021-10-10 15:55 +0200, Thomas Petazzoni spake thusly:
> On Sat,  9 Oct 2021 13:55:03 -0700
> Adam Duskett <aduskett@gmail.com> wrote:
> > In the following patch series python3 (eventually) gets bumped to version 3.10
> >
> > - The first parts involve updating packages that are not compatible with 3.10.
> >   Either by updating versions or adding patches.
> >
> > - Then I fix a typo in python-pathvalidate
> > - Then I complain about python-setuptools and split add support for both
> >   setuptools 48 (compatible with python2) and 58 (compatible with python3.10)
> > - Finally I update python3 to 3.10
> >
> > This patch series has been tested against every python2 and python3 unit-test
> > available in buildroot, including against https://patchwork.ozlabs.org/project/buildroot/patch/20211006203823.2740442-1-yann.morin.1998@free.fr/
> >
> > In addition, I also selected *EVERY* python module to ensure all of them at
> > least build against python3.10, and everything passes.
>
> Thanks a lot for this effort!
You’re very welcome!

> Should we have a configuration, or a test
> case that builds all Python modules, to facilitate this kind of testing
> in the future ?
It would save my thumb some pain from having to select all the modules! :D
>
> Also, should we drop Python 2.x entirely before merging this, to avoid
> the complexity on the setuptools package? Or do we consider the
> complexity to be reasonable, and therefore we handle the Python 2.x
> removal later?
I am fine with dropping Python 2 support all together. The only major package left that requires Python 2 for building is nodejs and that has a pending patch anyways.

> I've done a (quick) inventory of all the things we have > that still
require python2; no package requires python2, but for some optional
parts:

    avahi           -> auto support
    cracklib        -> auto support
    jailhouse       -> opt scripts
    libdnet         -> opt module
    libpwquality    -> auto support
    nfs-utils       -> auto script
    nmap            -> opt script
    owfs            -> auto support
    pcm-tools       -> opt script

    'opt': explicit with Config.in option
    'auto': implicit with .mk conditions
    'module': builds one+ python module
    'script': installs one+ python script
    'support': generic python support (ie. bindings?)

I am totally fine with dropping python2, if we accept the loss of the
features above, an d I think the loss is acceptable.

Note: I haven't had a look at the python-packages. For those that are
python2-only, and that have a python3-compatible version, we bump to
that version, otherwise we drop the package.

Regards,
>  Yann E. MORIN.

Agreed, there isn’t a lot left. I was working on the larger packages first (node, Polkit) before I sent a patch removing python2 altogether.

Adam

--
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

[-- Attachment #1.2: Type: text/html, Size: 6989 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2021-10-11  4:45 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-09 20:55 [Buildroot] [PATCH 00/20] package/python3: bump to version 3.10 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 01/20] package/dbus-python: bump to version 1.2.18 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 02/20] package/kmod: bump to version 29 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 03/20] package/python-crossbar: bump to version 21.3.1 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 04/20] package/python-git: bump to version 3.1.24 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 05/20] package/python-gobject: bump to version 3.42.0 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 06/20] package/python-ipython: bump to version 7.28.0 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 07/20] package/python-libusb1: bump to version 2.0.1 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 08/20] package/python-lmdb: bump to version 1.2.1 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 09/20] package/python-dataclasses: new package Adam Duskett
2021-10-10  3:31   ` Asaf Kahlon
2021-10-09 20:55 ` [Buildroot] [PATCH 10/20] package/python-pydantic: bump to version 1.8.2 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 11/20] package/python-txtorcon: bump to version 21.1.0 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 12/20] package/python-watchdog: bump to version 2.1.6 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 13/20] package/util-linux: bump to version 2.37.2 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 14/20] package/python-certifi: add host variant Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 15/20] package/python-matplotlib: bump to version 3.4.3 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 16/20] package/python-numpy: bump to version 1.21.2 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 17/20] package/python-django-enumfields: bump to version 2.1.1 Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 18/20] package/python-pyalsa: add 0001-fix-pytuple-set-item-usage-no-return-value.patch Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 19/20] package/python-setuptools: bump to version 58.2.0 and split python2 version Adam Duskett
2021-10-09 20:55 ` [Buildroot] [PATCH 20/20] package/python3: bump to version 3.10 Adam Duskett
2021-10-10 13:55 ` [Buildroot] [PATCH 00/20] " Thomas Petazzoni
2021-10-10 17:38   ` James Hilliard
2021-10-10 19:30   ` Yann E. MORIN
2021-10-11  4:45     ` ratbert90 [this message]
2021-10-14 21:38 ` Arnout Vandecappelle
2021-10-14 22:44   ` Adam Duskett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BY5PR19MB3668F598352B7532E5E4D414FBB59@BY5PR19MB3668.namprd19.prod.outlook.com \
    --to=aduskett@gmail.com \
    --cc=asafka7@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=eeppeliteloop@gmail.com \
    --cc=ju.o@free.fr \
    --cc=jugurtha.belkalem@smile.fr \
    --cc=matthew.weber@collins.com \
    --cc=mc5686@mclink.it \
    --cc=oli.vogt.pub01@gmail.com \
    --cc=s.martin49@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yann.morin.1998@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.