Public bug reported:

Imported from Debian bug http://bugs.debian.org/802130:

Source: python-chameleon
Version: 2.22-1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: [email protected]
Usertags: ftbfs
X-Debbugs-CC: [email protected]

Dear Maintainer,

The package fails to build:


OK
I: pybuild base:170: python3.5 setup.py test 
running test
running egg_info
writing top-level names to src/Chameleon.egg-info/top_level.txt
writing dependency_links to src/Chameleon.egg-info/dependency_links.txt
writing src/Chameleon.egg-info/PKG-INFO
reading manifest file 'src/Chameleon.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src/Chameleon.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 82, in <module>
    'benchmark': Benchmark,
  File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 146, 
in run
    self.with_project_on_sys_path(self.run_tests)
  File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 127, 
in with_project_on_sys_path
    func()
  File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 167, 
in run_tests
    testRunner=self._resolve_as_ep(self.test_runner),
  File "/usr/lib/python3.5/unittest/main.py", line 93, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python3.5/unittest/main.py", line 140, in parseArgs
    self.createTests()
  File "/usr/lib/python3.5/unittest/main.py", line 147, in createTests
    self.module)
  File "/usr/lib/python3.5/unittest/loader.py", line 219, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.5/unittest/loader.py", line 219, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.5/unittest/loader.py", line 190, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 36, in 
loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib/python3.5/unittest/loader.py", line 190, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 22, in 
loadTestsFromModule
    tests.append(TestLoader.loadTestsFromModule(self, module))
  File "/usr/lib/python3.5/unittest/loader.py", line 123, in loadTestsFromModule
    tests.append(self.loadTestsFromTestCase(obj))
  File "/usr/lib/python3.5/unittest/loader.py", line 92, in 
loadTestsFromTestCase
    loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
  File "/usr/lib/python3.5/unittest/suite.py", line 24, in __init__
    self.addTests(tests)
  File "/usr/lib/python3.5/unittest/suite.py", line 57, in addTests
    for test in tests:
  File "/python-chameleon-2.22/src/chameleon/tests/test_doctests.py", line 10, 
in __new__
    return getattr(self, test)()
  File "/python-chameleon-2.22/src/chameleon/tests/test_doctests.py", line 40, 
in test_compiler
    compiler, optionflags=OPTIONFLAGS)
  File "/usr/lib/python3.5/doctest.py", line 2365, in DocTestSuite
    tests = test_finder.find(module, globs=globs, extraglobs=extraglobs)
  File "/usr/lib/python3.5/doctest.py", line 923, in find
    self._find(tests, obj, name, module, source_lines, globs, {})
  File "/usr/lib/python3.5/doctest.py", line 982, in _find
    if ((inspect.isroutine(inspect.unwrap(val))
  File "/usr/lib/python3.5/inspect.py", line 471, in unwrap
    while _is_wrapper(func):
  File "/usr/lib/python3.5/inspect.py", line 465, in _is_wrapper
    return hasattr(f, '__wrapped__')
  File "/python-chameleon-2.22/src/chameleon/utils.py", line 25, in __getattr__
    return _ast.__dict__.get(name) or getattr(_ast, self.aliases[name])
KeyError: '__wrapped__'
E: pybuild pybuild:262: test: plugin distutils failed with: exit code=1: 
python3.5 setup.py test 
dh_auto_test: pybuild --test -i python{version} -p 3.5 3.4 --dir . returned 
exit code 13

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/python-chameleon.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

** Affects: python-chameleon (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: python-chameleon (Debian)
     Importance: Undecided
         Status: New

** Bug watch added: Debian Bug tracker #802130
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802130

** Changed in: python-chameleon (Debian)
 Remote watch: None => Debian Bug tracker #802130

** Changed in: python-chameleon (Ubuntu)
       Status: New => Triaged

** Changed in: python-chameleon (Ubuntu)
   Importance: Undecided => High

** Description changed:

  Imported from Debian bug http://bugs.debian.org/802130:
  
- 5
+ Source: python-chameleon
+ Version: 2.22-1
+ Severity: serious
+ Justification: fails to build from source
+ Tags: sid stretch
+ User: [email protected]
+ Usertags: ftbfs
+ X-Debbugs-CC: [email protected]
+ 
+ Dear Maintainer,
+ 
+ The package fails to build:
+ 
+ 
+ OK
+ I: pybuild base:170: python3.5 setup.py test 
+ running test
+ running egg_info
+ writing top-level names to src/Chameleon.egg-info/top_level.txt
+ writing dependency_links to src/Chameleon.egg-info/dependency_links.txt
+ writing src/Chameleon.egg-info/PKG-INFO
+ reading manifest file 'src/Chameleon.egg-info/SOURCES.txt'
+ reading manifest template 'MANIFEST.in'
+ writing manifest file 'src/Chameleon.egg-info/SOURCES.txt'
+ running build_ext
+ Traceback (most recent call last):
+   File "setup.py", line 82, in <module>
+     'benchmark': Benchmark,
+   File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
+     dist.run_commands()
+   File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
+     self.run_command(cmd)
+   File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
+     cmd_obj.run()
+   File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 146, 
in run
+     self.with_project_on_sys_path(self.run_tests)
+   File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 127, 
in with_project_on_sys_path
+     func()
+   File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 167, 
in run_tests
+     testRunner=self._resolve_as_ep(self.test_runner),
+   File "/usr/lib/python3.5/unittest/main.py", line 93, in __init__
+     self.parseArgs(argv)
+   File "/usr/lib/python3.5/unittest/main.py", line 140, in parseArgs
+     self.createTests()
+   File "/usr/lib/python3.5/unittest/main.py", line 147, in createTests
+     self.module)
+   File "/usr/lib/python3.5/unittest/loader.py", line 219, in 
loadTestsFromNames
+     suites = [self.loadTestsFromName(name, module) for name in names]
+   File "/usr/lib/python3.5/unittest/loader.py", line 219, in <listcomp>
+     suites = [self.loadTestsFromName(name, module) for name in names]
+   File "/usr/lib/python3.5/unittest/loader.py", line 190, in loadTestsFromName
+     return self.loadTestsFromModule(obj)
+   File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 36, 
in loadTestsFromModule
+     tests.append(self.loadTestsFromName(submodule))
+   File "/usr/lib/python3.5/unittest/loader.py", line 190, in loadTestsFromName
+     return self.loadTestsFromModule(obj)
+   File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 22, 
in loadTestsFromModule
+     tests.append(TestLoader.loadTestsFromModule(self, module))
+   File "/usr/lib/python3.5/unittest/loader.py", line 123, in 
loadTestsFromModule
+     tests.append(self.loadTestsFromTestCase(obj))
+   File "/usr/lib/python3.5/unittest/loader.py", line 92, in 
loadTestsFromTestCase
+     loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
+   File "/usr/lib/python3.5/unittest/suite.py", line 24, in __init__
+     self.addTests(tests)
+   File "/usr/lib/python3.5/unittest/suite.py", line 57, in addTests
+     for test in tests:
+   File "/python-chameleon-2.22/src/chameleon/tests/test_doctests.py", line 
10, in __new__
+     return getattr(self, test)()
+   File "/python-chameleon-2.22/src/chameleon/tests/test_doctests.py", line 
40, in test_compiler
+     compiler, optionflags=OPTIONFLAGS)
+   File "/usr/lib/python3.5/doctest.py", line 2365, in DocTestSuite
+     tests = test_finder.find(module, globs=globs, extraglobs=extraglobs)
+   File "/usr/lib/python3.5/doctest.py", line 923, in find
+     self._find(tests, obj, name, module, source_lines, globs, {})
+   File "/usr/lib/python3.5/doctest.py", line 982, in _find
+     if ((inspect.isroutine(inspect.unwrap(val))
+   File "/usr/lib/python3.5/inspect.py", line 471, in unwrap
+     while _is_wrapper(func):
+   File "/usr/lib/python3.5/inspect.py", line 465, in _is_wrapper
+     return hasattr(f, '__wrapped__')
+   File "/python-chameleon-2.22/src/chameleon/utils.py", line 25, in 
__getattr__
+     return _ast.__dict__.get(name) or getattr(_ast, self.aliases[name])
+ KeyError: '__wrapped__'
+ E: pybuild pybuild:262: test: plugin distutils failed with: exit code=1: 
python3.5 setup.py test 
+ dh_auto_test: pybuild --test -i python{version} -p 3.5 3.4 --dir . returned 
exit code 13
+ 
+ Full build log:
+ https://reproducible.debian.net/rb-pkg/unstable/amd64/python-chameleon.html
+ 
+ -- System Information:
+ Debian Release: stretch/sid
+ APT prefers unstable
+ APT policy: (500, 'unstable')
+ Architecture: amd64 (x86_64)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1507429

Title:
  python-chameleon: FTBFS: KeyError: '__wrapped__'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-chameleon/+bug/1507429/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to