You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2021/11/07 19:46:00 UTC

[jira] [Closed] (PROTON-2414) qpid-proton-0.35.0.tar.gz can't be built without Python version 3.6

     [ https://issues.apache.org/jira/browse/PROTON-2414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiri Daněk closed PROTON-2414.
------------------------------
    Resolution: Won't Fix

Part of the issue is that Proton could be using Python for three distinct things. First, for the build itself, in helper scripts, then for testing of the C code, and finally for the Python binding. It IMO makes sense to standardize on the same version of Python for all these things. Having to think about multiple Python versions in each of the three separate areas is a chore and cause of mistakes. The fact that the build works even with Python <3.6 currently is nice, but keeping it that way prevents using Python 3.6+ features, such as f-strings (https://www.python.org/dev/peps/pep-0498/).

I'm going to Won't Fix this for now. Can't you get Python 3.6 for your system? Python 3.6 is nowadays available even on systems as old as RHEL/CentOS 7.

> qpid-proton-0.35.0.tar.gz can't be built without Python version 3.6
> -------------------------------------------------------------------
>
>                 Key: PROTON-2414
>                 URL: https://issues.apache.org/jira/browse/PROTON-2414
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: proton-c-0.35.0
>         Environment: Linux dhws077 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 11 19:12:04 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Jorge Sainz de la Maza
>            Priority: Minor
>
> We applied patch below to get the build working (removing reference to python version 3.6). It would be great if you could integrate it in your source.
> --- CMakeLists.txt.orig 2021-06-25 13:42:55.000000000 +0000
> +++ CMakeLists.txt
> @@ -44,4 +44,4 @@
>  endif ()
> -find_package(Python 3.6
> +find_package(Python
>  REQUIRED COMPONENTS Interpreter
>  OPTIONAL_COMPONENTS Development)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org