[PKG-Openstack-devel] Bug#862661: python3-proboscis: packaging broken

Goetz, Philippe Philippe.Goetz at siemens.com
Mon May 15 12:04:14 UTC 2017


Package: python3-proboscis
Version: 1.2.6.0-2
Severity: important

Dear Maintainers,

The packaging of python3-proboscis is broken, see below:

$ python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import proboscis
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/proboscis/__init__.py", line 27, in <module>
    from proboscis.core import ProboscisTestMethodClassNotDecorated
  File "/usr/lib/python3/dist-packages/proboscis/core.py", line 23, in <module>
    from proboscis import compatability
  File "/usr/lib/python3/dist-packages/proboscis/compatability/__init__.py", line 21, in <module>
    from proboscis.compatability.exceptions_2_6 import capture_exception
ImportError: No module named 'proboscis.compatability.exceptions_2_6'

In debian/rules, the files "proboscis/compatability/*2*.py" are removed for python3, which is wrong.

=== PROPOSED PATCH BEGIN ===
diff --git a/debian/rules b/debian/rules
index 9955037..101426c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ override_dh_auto_install:
        set -e && for pyvers in $(PYTHON3S); do \
                python$$pyvers setup.py install --install-layout=deb \
                        --root $(CURDIR)/debian/python3-proboscis; \
-               rm $(CURDIR)/debian/python3-proboscis/usr/lib/python3/dist-packages/proboscis/compatability/*2*.py ; \
+               rm $(CURDIR)/debian/python3-proboscis/usr/lib/python3/dist-packages/proboscis/compatability/*2_5*.py ; \
        done
=== PROPOSED PATCH END ===

Alternatively remove the complete line "rm ...".

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64
 (x86_64)

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

Versions of packages python3-proboscis depends on:
ii  dpkg         1.18.23
pn  python3:any  <none>

python3-proboscis recommends no packages.

python3-proboscis suggests no packages.

-- no debconf information

With best regards,
Philippe Goetz

Siemens AG
Building Technologies Division
Solution and Service Portfolio
Danger Management System
BT SSP SOL R&D CI DMS

Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme; Managing Board: Joe Kaeser, Chairman, President and Chief Executive Officer; Roland Busch, Lisa Davis, Klaus Helmrich, Janina Kugel, Cedrik Neike, Michael Sen, Ralf P. Thomas; Registered offices: Berlin and Munich, Germany; Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE 23691322



More information about the Openstack-devel mailing list