Your message dated Mon, 3 Oct 2016 21:49:38 +0300
with message-id <[email protected]>
and subject line Re: Bug#823615: pyuic5 --from-imports does not work, generates 
absolute imports
has caused the Debian Bug report #823615,
regarding pyuic5 --from-imports does not work, generates absolute imports
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.)


-- 
823615: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823615
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pyqt5-dev-tools
Version: 5.6+dfsg-1
Severity: important


Hi, I'm trying to rebuild the .py files in hplip from their UI files, but pyuic5
always generates absolute imports instead of relative ones, causing the 
generated
code to fail.

For example, run pyuic5 --from-imports on
 http://anonscm.debian.org/cgit/printing/hplip.git/tree/ui5/devmgr5_base.ui
It should generate code like this:
 http://anonscm.debian.org/cgit/printing/hplip.git/tree/ui5/devmgr5_base.ui
That is:
 from .printsettingstoolbox import PrintSettingsToolbox

Our pyuic5 however generates:
 from printsettingstoolbox import PrintSettingsToolbox

Which causes hplip to fail to run.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'unstable-debug'), (500, 'testing'), 
(100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pyqt5-dev-tools depends on:
ii  libc6          2.22-7
ii  libgcc1        1:6.1.1-1
ii  libqt5core5a   5.5.1+dfsg-16+b1
ii  libqt5xml5     5.5.1+dfsg-16+b1
ii  libstdc++6     6.1.1-1
ii  python3        3.5.1-3
ii  python3-pyqt5  5.6+dfsg-1

pyqt5-dev-tools recommends no packages.

pyqt5-dev-tools suggests no packages.

-- no debconf information

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev

When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.

--- End Message ---
--- Begin Message ---
Version: 5.7+dfsg-2

On Sun, May 08, 2016 at 04:51:26PM +0300, Dmitry Shachnev wrote:
> According to upstream [1], this is a documentation bug:
> --from-imports and --import-from only apply to the import of resource files.

In the latest version, both --help and the manpage mention that
these options apply only to modules generated by pyrcc.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to