On Sun, Aug 11, 2024 at 09:02:43AM -0600, Simon Glass 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> Applied, thanks. > --- > > 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", -- David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson
Attachment:
signature.asc
Description: PGP signature