[Buildroot] [PATCH] package/python-flup: update dependency to python3

Matthew Weber matthew.weber at collins.com
Tue Apr 13 13:22:12 UTC 2021


Thomas,

On Mon, Apr 12, 2021 at 3:39 PM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> On Mon, 12 Apr 2021 11:44:05 -0500
> Matt Weber <matthew.weber at rockwellcollins.com> wrote:
>
> > From: Jared Bents <jared.bents at rockwellcollins.com>
> >
> > Dependency incorrectly calls out python, should be python3
> >
> > Signed-off-by: Jared Bents <jared.bents at rockwellcollins.com>
> > Signed-off-by: Ryan Barnett <ryan.barnett at rockwellcollins.com>
> > Signed-off-by: Matt Weber <matthew.weber at rockwellcollins.com>
> > ---
> >  package/python-flup/Config.in | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/package/python-flup/Config.in b/package/python-flup/Config.in
> > index 2c21323515..f40f250163 100644
> > --- a/package/python-flup/Config.in
> > +++ b/package/python-flup/Config.in
> > @@ -1,6 +1,6 @@
> >  config BR2_PACKAGE_PYTHON_FLUP
> >       bool "python-flup"
> > -     depends on BR2_PACKAGE_PYTHON
> > +     depends on BR2_PACKAGE_PYTHON3
>
> Do we know since when this is the case? This package was introduced in
> 2014 as version 1.0.3.dev-20110405, and back then the commit log said
> "Tested with ARM and Python 2.7.6". Then it was bumped to
> 1.0.3.dev20161029 by Adam in 2017, and again to 1.0.3 in 2019. Is it
> this latest update that brought the python3 requirement ?

Looking at the release notes (https://pypi.org/pypi/flup/json), I see
the last py2 was "flup-1.0.3.dev_20110405-py2.7.egg" and then
"flup-1.0.3.dev20151210-py3-none-any.whl" onward py3.5/3.6.  So on the
Buildroot side, it looks like this was a bug back in 2017 for the
1.0.3.dev20161029 bump (it required 3.5) and then the 1.0.3 bump
required py3.6.

Regards,
Matt



More information about the buildroot mailing list