ros-visualization / python_qt_binding

http://wiki.ros.org/python_qt_binding
BSD 3-Clause "New" or "Revised" License
34 stars 54 forks source link

[melodic] Adding SIP 5 integration. #94

Open seanyen opened 4 years ago

seanyen commented 4 years ago

This is an attempt to implement SIPv5 integration. Since SIPv5, it started to implement PEP 517 compliant backend and stopped releasing sipconfig module.

To integrate with it, one can define PEP 518 (a.k.a., pyproject.toml) project file to describe the SIP build. And here are the minimum requirement to run:

And here is some highlights of my verification environment:

dirk-thomas commented 4 years ago

Can you please provide some more context: e.g. what minimum version of sip / setuptools is required for this patch to work, if you have verified this still work on e.g. Ubuntu with the Debian packages or with a newer version of SIP, etc.

seanyen commented 4 years ago

@dirk-thomas I tried to capture the minimum requirements specified on the book (also added more matrix on Windows side). For the Linux validation, I found it is little bit tricky to have a system with Qt>=5.14 plus all other Python required modules. Please excuse my limited knowledge on Linux side, do you just happen to know what distro \ release I can begin with first to get a closer environment?

jspricke commented 3 years ago

@seanyen Debian unstable/testing has all the packages in the required versions.

sloretz commented 3 years ago

@seanyen Is this PR still relevant after #95 and #105?

lopsided98 commented 3 years ago

I think this PR is still required to build python_qt_binding with SIP >=5. SIP 4 is currently still required to build this package, those other PRs just allow this package to work in combination with PyQt5 built with SIP >=5.