python-pecan fails to build from source in artful

Bug #1707318 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-pecan (Ubuntu)
Fix Released
High
Unassigned

Bug Description

https://launchpad.net/ubuntu/+source/python-pecan/1.1.2-3fakesync1

Build test failure

======================================================================
ERROR: test_config_with_non_package_relative_import (pecan.tests.test_conf.TestConf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/pecan/tests/test_conf.py", line 159, in test_config_with_non_package_relative_import
    configuration.conf_from_file(f.name)
  File "/<<PKGBUILDDIR>>/pecan/configuration.py", line 175, in conf_from_file
    SourceFileLoader(module_name, abspath).load_module(module_name)
  File "<frozen importlib._bootstrap_external>", line 418, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 841, in load_module
  File "<frozen importlib._bootstrap_external>", line 700, in load_module
  File "<frozen importlib._bootstrap>", line 268, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 693, in _load
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 697, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/tmp/tmplb9nxp1w.py", line 1, in <module>
ImportError: attempted relative import with no known parent package

Tags: ftbfs artful
Revision history for this message
Jeremy Bícha (jbicha) wrote :
Changed in python-pecan (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.