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 2019/11/18 12:46:00 UTC
[jira] [Comment Edited] (PROTON-2094) Support Python 3.7
[ https://issues.apache.org/jira/browse/PROTON-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976506#comment-16976506 ]
Jiri Daněk edited comment on PROTON-2094 at 11/18/19 12:45 PM:
---------------------------------------------------------------
Got the venv case also. CMake won't find the libs without a hint, but it does find them with a hint,
{noformat}
-DCMAKE_PREFIX_PATH=$(pyenv root)/versions/3.7.5
{noformat}
{noformat}
Step 17/18 : RUN cmake .. /source -DCMAKE_INSTALL_PREFIX=/install -DBUILD_BINDINGS=python -DCMAKE_PREFIX_PATH=$(pyenv root)/versions/3.7.5 -DPYTHON_EXECUTABLE=/venv/bin/python
...
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1")
...
-- Found PythonInterp: /venv/bin/python (found version "3.7.5")
...
-- Found PythonLibs: /.pyenv/versions/3.7.5/lib/libpython3.7m.so (found suitable exact version "3.7.5")
...
{noformat}
So, CMake is not going to autodetect this, it has to be given the paths. Maybe the new Python detection mechanism (https://cmake.org/cmake/help/latest/module/FindPython.html) would work better, but it requres CMake 3.12+.
was (Author: jdanek):
Got the venv case also. CMake won't find the libs without a hint, but it does find them with a hint,
{noformat}
-DCMAKE_PREFIX_PATH=$(pyenv root)/versions/3.7.5
{noformat}
> Support Python 3.7
> ------------------
>
> Key: PROTON-2094
> URL: https://issues.apache.org/jira/browse/PROTON-2094
> Project: Qpid Proton
> Issue Type: Improvement
> Components: python-binding
> Affects Versions: proton-c-0.29.0
> Environment: Ubuntu 18.04
> Reporter: Omer Katz
> Assignee: Andrew Stitcher
> Priority: Major
> Labels: build, features
> Fix For: proton-c-future
>
>
> I tried building the bindings locally on Python 3.7 and it didn't work.
> I checked setup.py and Python 3.7 is not listed under the supported versions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org