[Bug 1506007] Re: Sync 1.0.0-2 from debian testing, fixes FTBFS due to unit tests failing to run

2015-10-14 Thread Barry Warsaw
I'll do a local test and syncpackage if that passes.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-linecache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1506007

Title:
  Sync 1.0.0-2 from debian testing, fixes FTBFS due to unit tests
  failing to run

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1506007] Re: Sync 1.0.0-2 from debian testing, fixes FTBFS due to unit tests failing to run

2015-10-14 Thread Barry Warsaw
LGTM, syncing dropping the Ubuntu delta.

** Changed in: python-linecache2 (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-linecache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1506007

Title:
  Sync 1.0.0-2 from debian testing, fixes FTBFS due to unit tests
  failing to run

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1506007] Re: Sync 1.0.0-2 from debian testing, fixes FTBFS due to unit tests failing to run

2015-10-14 Thread Barry Warsaw
This bug was fixed in the package python-linecache2 - 1.0.0-2

---
python-linecache2 (1.0.0-2) unstable; urgency=medium

  * Runs unit tests during build, thanks to a patch from James Page
(Closes: #795889).

 -- Thomas Goirand   Fri, 28 Aug 2015 15:46:28 +

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-linecache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1506007

Title:
  Sync 1.0.0-2 from debian testing, fixes FTBFS due to unit tests
  failing to run

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1506007] Re: Sync 1.0.0-2 from debian testing, fixes FTBFS due to unit tests failing to run

2015-10-14 Thread Łukasz Zemczak
Requesting a package sync from Debian. It has all Ubuntu changes and it
also has the fix for this FTBFS (addition of PYTHONPATH=. in
debian/rules). Could anyone sponsor the sync?

** Summary changed:

- FTBFS due to unit tests failing to run
+ Sync 1.0.0-2 from debian testing, fixes FTBFS due to unit tests failing to run

** Description changed:

  As per the test-rebuild [1] for wily, this package now fails to build
- from source due to some errors while running unit tests. Log:
+ from source due to some errors while running unit tests. The Debian
+ version of this package has the bug fixed - requesting syncing.
+ 
+ Source package name: python-linecache2
+ Source package version number to sync: 1.0.0-2
+ Where to sync from: Debian testing
+ 
+ 
+ Log:
  
  ===> Testing with python2.7 (python2)
  Traceback (most recent call last):
    File "/usr/bin/python2-unit2", line 9, in 
  load_entry_point('unittest2==1.1.0', 'console_scripts', 'unit2')()
    File "/usr/lib/python2.7/dist-packages/unittest2/__main__.py", line 18, in 
main_
  main(module=None)
    File "/usr/lib/python2.7/dist-packages/unittest2/main.py", line 89, in 
__init__
  self.parseArgs(argv)
    File "/usr/lib/python2.7/dist-packages/unittest2/main.py", line 119, in 
parseArgs
  self._do_discovery([])
    File "/usr/lib/python2.7/dist-packages/unittest2/main.py", line 223, in 
_do_discovery
  self.test = loader.discover(self.start, self.pattern, self.top)
    File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 367, in 
discover
  tests = list(self._find_tests(start_dir, pattern))
    File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 433, in 
_find_tests
  for test in path_tests:
    File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 433, in 
_find_tests
  for test in path_tests:
    File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 424, in 
_find_tests
  full_path, pattern, namespace)
    File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 479, in 
_find_test_path
  msg % (mod_name, module_dir, expected_dir))
  ImportError: 'test_linecache' module incorrectly imported from 
'/usr/lib/python2.7/dist-packages/linecache2/tests'. Expected 
'/«PKGBUILDDIR»/linecache2/tests'. Is this module globally installed?
  debian/rules:37: recipe for target 'override_dh_auto_test' failed
  
  [1] people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-
  rebuild-20151001-wily.html

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-linecache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1506007

Title:
  Sync 1.0.0-2 from debian testing, fixes FTBFS due to unit tests
  failing to run

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs