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

ASF subversion and git services commented on DISPATCH-2363:
-----------------------------------------------------------

Commit 9750c0776375181e423a08070efef0b1c8dbcfa9 in qpid-dispatch's branch 
refs/heads/main from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=9750c077 ]

DISPATCH-2363: chore(gha): add the missing `build` python module, necessary for 
Proton to build the Python binding

When the module is not present, binding is not built, and no errors are 
reported.


> Update GitHub Actions CI for new CFFI-based Proton Python
> ---------------------------------------------------------
>
>                 Key: DISPATCH-2363
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2363
>             Project: Qpid Dispatch
>          Issue Type: Task
>    Affects Versions: 1.19.0
>            Reporter: Jiri Daněk
>            Assignee: Jiri Daněk
>            Priority: Major
>
> There are multiple incompatibilities that have been introduced on Qpid 
> Proton's main branch.
> h3. Python 3.9+ is now required
> https://github.com/skupperproject/skupper-router/issues/910
> https://github.com/jiridanek/qpid-dispatch/actions/runs/12517219389/job/34917617825#step:12:47
> {noformat}
> CMake Error at 
> /usr/local/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 
> (message):
>   Could NOT find Python (missing: Python_EXECUTABLE Interpreter) (Required is
>   at least version "3.9")
>       Reason given by package: 
>           Interpreter: Wrong version for the interpreter "/bin/python"
> Call Stack (most recent call first):
>   /usr/local/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 
> (_FPHSA_FAILURE_MESSAGE)
>   /usr/local/share/cmake-3.31/Modules/FindPython/Support.cmake:4002 
> (find_package_handle_standard_args)
>   /usr/local/share/cmake-3.31/Modules/FindPython.cmake:631 (include)
>   CMakeLists.txt:45 (find_package)
> -- Configuring incomplete, errors occurred!
> {noformat}
> h3. The whl is located in a different place
> Not clear about the details anymore, but the resolution can be stolen from 
> https://github.com/skupperproject/skupper-router
> https://github.com/jiridanek/qpid-dispatch/actions/runs/12526278335/job/34938665731#step:28:24
> {noformat}
> > Run python3 -m pip install $(find ${ProtonBuildDir}/python/ -name 
> > 'python_qpid_proton*.whl')
> WARNING: The directory '/github/home/.cache/pip' or its parent directory is 
> not owned or is not writable by the current user. The cache has been 
> disabled. Check the permissions and owner of that directory. If executing pip 
> with sudo, you should use sudo's -H flag.
> ERROR: You must give at least one requirement to install (see "pip help 
> install")
> {noformat}
> h3. Maybe more
> This should be it regarding Proton, but who knows.



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

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

Reply via email to