[sr #110547] AX_PYTHON_DEVEL version checks fail with Python 3.10

Fazal Majid <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/support/?110547>

                 Summary: AX_PYTHON_DEVEL version checks fail with Python 3.10
                 Project: Autoconf
            Submitted by: fazalmajid
            Submitted on: Tue 05 Oct 2021 01:47:47 PM UTC
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None

    _______________________________________________________

Details:

nghttp2 uses the check:

AX_PYTHON_DEVEL([>= '3.8'])

But this fails because '3.10' < '3.8' in lexicographic order:

checking for a Python interpreter with version >= 3.8... python3
checking for python3... /usr/local/bin/python3
checking for python3 version... 3.10
checking for python3 prefix... /usr/local
checking for python3 exec_prefix... /usr/local
checking for python3 platform... linux
checking for python3 script directory...
${PYTHON_PREFIX}/lib/python3.10/site-packages
checking for python3 extension module directory...
${PYTHON_EXEC_PREFIX}/lib/python3.10/site-packages
checking for python3.10... (cached) /usr/local/bin/python3
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python >= '3.8'... no
configure: error: this package requires Python >= '3.8'.
If you have it installed, but it isn't the default Python
interpreter in your system path, please pass the PYTHON_VERSION
variable to configure. See ``configure --help'' for reference.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110547>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.