py-pyqt6: add new package#32696
Conversation
|
Hi @adamjstewart! I noticed that the following package(s) don't yet have maintainers:
Are you interested in adopting any of these package(s)? If so, simply add the following to the package class: maintainers = ['adamjstewart']If not, could you contact the developers of this package and see if they are interested? You can quickly see who has worked on a package with $ spack blame py-pyqt4Thank you for your help! Please don't add maintainers without their consent. You don't have to be a Spack expert or package developer in order to be a "maintainer," it just gives us a list of users willing to review PRs or debug issues relating to this package. A package can have multiple maintainers; just add a list of GitHub handles of anyone who wants to volunteer. |
0e6ced8 to
6c793cc
Compare
|
Update: this PR is somewhat blocked by my ability to test it. I'll be moving to an older laptop soon, so the Qt installation should hopefully work. I'm hoping to get back to this then. Once I can build multiple versions of Qt, it will be much easier to test whether or not the hacks I've removed here are needed or not. |
|
I'll see if I can do some testing myself. |
|
I've just tried installing qgis in this branch, where qscintilla installation fails: which is expected I guess. |
|
Also, tried installing py-pyqt6, which failed since qt-base-6.3.2 failed to build. |
qt-base build might have failed since I was using gcc@7 as opposed to newer. |
|
created an issue for it: #34418 |
|
@Sinan81 @manuelakuhn I believe this PR is once again ready for review. Note that testing does not work at the moment: #38793 Recent versions of pyqt5 and pyqt6 no longer use the old This PR was basically done 6 months ago but was held up due to trying to get every dependent package to build correctly. I'm not going to make the same mistake this time. If anyone can prove that something that works on develop no longer works on this branch I can try to fix it, but I'm not going to try to get everything to build properly because it's a never ending endeavor. |
|
Unfortunately, when trying to build some of the packages I encountered some issues: These packages install and test fine:
As you already said for the py-pyqt packages the tests don't work, other than that
(same happens when I build A workaround is to install As for |
Deprecated, don't care. These older versions can't even be downloaded anymore other than from cache.
Maybe @wdconinc @sethrj can help with this one.
Maybe try an older version of sip? Also don't care about this one. |
Okay, I confirmed that this builds on develop and doesn't build on my branch so I'm going to reluctantly dig into this and see if I can get it working. FWIW, |
Is this due pyqt stuff, or something else? I'll take a look at this today or so. |
|
Not sure. I would wait until after this PR is merged because everything is going to change. I started working on qscintilla but that might need the qmake vdep PR if I want to test it on my laptop. Might just stick to Qt 5 so this PR isn't held up though. |
|
in develop branch [email protected] fails to build due to a sip related issue. |
|
I'm probably not going to be able to get back to this for at least another week or two. If someone wants to hack on QScintilla (or just merge this and hack on that later) then be my guest. |
|
Made good progress on Qscintilla by combining a hint from linuxbrew recipe with RPM spec file for Fedora: statement returns prefix for qscintilla package itself as opposed to py-pyqt6 package. Apart from this, the setup works fine, |
|
@adamjstewart please see this branch that's based on your pyqt6 branch: |
|
Thanks, I'll take a look once things settle down for me. Moving apartments and graduating and such. |
|
@Sinan81 your latest commit fails with: |
I'll look into it this by end of today.. Could this be due to |
|
I just tried the default version. I'm busy for the rest of the week but I could maybe hack on this next week. Otherwise, maybe just merge this and fix qscintilla later. |
|
Yes. I think we can simply merge this. I am sure we can sort out qscintilla thing by end of next week at the latest. |
|
Please merge! |
This PR includes the following changes:
Closes #29039 and #21554