[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] "Assertion failed: object has negative ref count" when running sip-build with python3.8-d
From:       Dmitry Shachnev <mitya57 () ubuntu ! com>
Date:       2020-03-14 11:13:38
Message-ID: 20200314111338.GA221960 () mitya57 ! me
[Download RAW message or body]

Hi Phil!

On Fri, Mar 13, 2020 at 12:22:07PM +0000, Phil Thompson wrote:
> Should be fixed in the next release of PyQt-builder.

Your change is not enough, but adding install_subtargets to distinfo.depends
seems to finally fix it.

--
Dmitry Shachnev

["install_subtargets.diff" (text/x-diff)]

diff --git a/pyqtbuild/builder.py b/pyqtbuild/builder.py
index d856f1f..d6a4a77 100644
--- a/pyqtbuild/builder.py
+++ b/pyqtbuild/builder.py
@@ -192,7 +192,7 @@ class QmakeBuilder(Builder):
 
         args.append(self.qmake_quote(project.get_distinfo_dir(target_dir)))
 
-        pro_lines.append('distinfo.depends = {}'.format(
+        pro_lines.append('distinfo.depends = install_subtargets {}'.format(
                 ' '.join(
                         ['install_' + installable.name
                                 for installable in project.installables])))

[Attachment #4 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic