[Python-modules-team] Bug#795521: python-pyscss: FTBFS: ImportError: No module named enum

Chris Lamb lamby at debian.org
Fri Aug 14 21:59:49 UTC 2015


Source: python-pyscss
Version: 1.3.4-1
Severity: serious
Tags: patch
Justification: fails to build from source

Dear Maintainer,

python-pyscss fails to build from source on unstable/amd64:

  [..]
     debian/rules override_dh_auto_test
  make[1]: Entering directory '/tmp/buildd/python-pyscss-1.3.4'
  pyversions: missing X(S)-Python-Version in control file, fall back to
  debian/pyversions
  pyversions: missing debian/pyversions file, fall back to supported
  versions
  py3versions: no X-Python3-Version in control file, using supported
  versions
  dh /usr/share/openstack-pkg-tools/pkgos.make
  --buildsystem=python_distutils --with python2,python3
  dh: Unknown sequence /usr/share/openstack-pkg-tools/pkgos.make (choose
  from: binary binary-arch binary-indep build build-arch build-indep
  clean install install-arch install-indep)
  set -e ; for pyvers in 2.7 3.4; do \
  	py.test-$pyvers ; \
  done
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/_pytest/config.py", line 543,
    in importconftest
      mod = conftestpath.pyimport()
    File "/usr/lib/python2.7/dist-packages/py/_path/local.py", line 650,
    in pyimport
      __import__(modname)
    File "/tmp/buildd/python-pyscss-1.3.4/conftest.py", line 11, in
    <module>
      import scss
    File "/tmp/buildd/python-pyscss-1.3.4/scss/__init__.py", line 56, in
    <module>
      from scss.compiler import Compiler
    File "/tmp/buildd/python-pyscss-1.3.4/scss/compiler.py", line 7, in
    <module>
      from enum import Enum
  ImportError: No module named enum

The full build log is attached or can be viewed here:

  https://reproducible.debian.net/rbuild/unstable/amd64/python-pyscss_1.3.4-1.rbuild.log.gz

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python-pyscss.diff.txt
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150814/a79bcbd7/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python-pyscss.1.3.4-1.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150814/a79bcbd7/attachment-0003.txt>


More information about the Python-modules-team mailing list