Your message dated Wed, 9 Feb 2022 15:40:23 +0100 with message-id <[email protected]> and subject line Close two bugs that were closed with latest upload has caused the Debian Bug report #966049, regarding python-traitsui: Uses old name of sip module to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 966049: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966049 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: python-traitsui Version: 6.1.3-3 Usertags: sip5 Dear Maintainer, You are receiving this bug because your package seems to be using PyQt5 and has Python files with "import sip" lines. With the latest version of PyQt5 in experimental, the private sip module used by PyQt5 is called "PyQt5.sip", not just "sip". I am going to upload this version to unstable around end of August. You may need to update your imports to do something like this: try: from PyQt5 import sip except ModuleNotFoundError: import sip Alternatively, you may import sip after importing PyQt5. So the following will work too: from PyQt5 import QtCore import sip Please see the following link for details: https://www.riverbankcomputing.com/static/Docs/PyQt5/incompatibilities.html#importing-the-sip-module If you use sip for reasons unrelated to PyQt5, you may leave the old import as is, but please bear in mind that sip4 is deprecated. Also, calls like "sip.setapi('QDate', 2)" are not needed at all with PyQt5. They were needed only with PyQt4 and Python 2. It is safe to delete them. For the actual documentation of sip module, see the following link: https://www.riverbankcomputing.com/static/Docs/PyQt5/api/sip/sip-module.html -- Dmitry Shachnev
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---Just forgot to close the according bugs in d/changelog of latest upload -- http://fam-tille.de
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
