+Rob Herring too in case you are not on this list On Sun, 11 Aug 2024 at 09:02, Simon Glass <sjg@xxxxxxxxxxxx> wrote: > > We don't need to support Python 2 anymore, so drop the comment and add > the minimum required version. Use version 3.8 since I am not sure that > it works on older versions and 3.7 has reached end-of-life. > > Signed-off-by: Simon Glass <sjg@xxxxxxxxxxxx> > --- > > setup.py | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/setup.py b/setup.py > index 293bb6b..749bf1b 100755 > --- a/setup.py > +++ b/setup.py > @@ -1,9 +1,6 @@ > #!/usr/bin/env python3 > # SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) > > -# While Python 3 is the default, it's also possible to invoke > -# this setup.py script with Python 2. > - > """ > setup.py file for SWIG libfdt > Copyright (C) 2017 Google, Inc. > @@ -60,6 +57,7 @@ setup( > ext_modules=[libfdt_module], > package_dir={'': os.path.join(srcdir, 'pylibfdt')}, > py_modules=['libfdt'], > + python_requires=">=3.8", > > long_description=long_description, > long_description_content_type="text/plain", > -- > 2.34.1 >