mainAutoconf - Support: sr #110547, AX_PYTHON_DEVEL version checks...

 
 

sr #110547: AX_PYTHON_DEVEL version checks fail with Python 3.10

Submitter:  Fazal Majid <fazalmajid>
Submitted:  Tue 05 Oct 2021 01:47:47 PM UTC
   
 
Priority:  * 5 - Unprioritized Severity:  3 - Normal
Status:  Not Autoconf Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 05 Oct 2021 07:34:43 PM UTC, comment #1: 

AX_PYTHON_DEVEL is defined by autoconf-archive, which is a different project than autoconf.  I'm closing this bug because the fix needs to be made in the correct project.

Eric Blake <ericb>
Group administrator
Tue 05 Oct 2021 01:47:47 PM UTC, original submission:  

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.

Fazal Majid <fazalmajid>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ericb (Posted a comment)
  • -email is unavailable- added by fazalmajid (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-10-05 ericb StatusNone Not Autoconf
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code