You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/07/14 22:04:00 UTC

[jira] [Commented] (PROTON-2756) [Python] There is no way to ru npython tests except by building a virtual environment

    [ https://issues.apache.org/jira/browse/PROTON-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743306#comment-17743306 ] 

ASF subversion and git services commented on PROTON-2756:
---------------------------------------------------------

Commit 99684736d0a9c7270e126217c8f19f1488fa605d in qpid-proton's branch refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=99684736d ]

PROTON-2756: Allow python testing to use the python detected by CMake

This is comtrolled by a new CMake option called ENABLE_PYTHON_TEST_VENV

If the build system is not connected to the internet then building a
virtual environment to test the python binding can be a problem so allow
the build to use the installation of python that was detected by CMake
to test the python binding.

Testing using a completely clean environment made for the purpose will
be more reliable for internet connected systems so using the venv is the
default.

Since the switch to using cffi instead of swig this is required for
testing to work and for building wheels. So we make sure that we have
cffi installed before we allow python testing or wheel building.


> [Python] There is no way to ru npython tests except by building a virtual environment
> -------------------------------------------------------------------------------------
>
>                 Key: PROTON-2756
>                 URL: https://issues.apache.org/jira/browse/PROTON-2756
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: python-binding
>    Affects Versions: proton-c-0.39.0
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>             Fix For: proton-c-0.40.0
>
>
> This is particularly annoying when building in environments where there is no internet access. As pip will always try to connect to the internet by default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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