this package still depends on python 2.6

Bug #761680 reported by Laurent Bonnaud
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zope.testing (Ubuntu)
Fix Released
Medium
Gediminas Paulauskas
Natty
Fix Released
Medium
Gediminas Paulauskas

Bug Description

In natty, python-zope.testing is one of the last few packages to still depend on python 2.6 instead of python 2.7. It prevents from installing gaphor without python2.6:

# apt-get install gaphor
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  python-zope.component python-zope.hookable python-zope.testing python2.6 python2.6-minimal
Suggested packages:
  python-z3c.recipe.sphinxdoc python-zodb python2.6-doc python2.6-profiler
The following NEW packages will be installed
  gaphor python-zope.component python-zope.hookable python-zope.testing python2.6 python2.6-minimal
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,476 kB of archives.
After this operation, 20.6 MB of additional disk space will be used.

So could you please update python-zope.testing to depend on python2.7?

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python-zope.testing (not installed)
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
Architecture: i386
Date: Fri Apr 15 13:58:59 2011
EcryptfsInUse: Yes
SourcePackage: zope.testing
UpgradeStatus: Upgraded to natty on 2009-10-10 (552 days ago)

Related branches

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
Matthias Klose (doko)
Changed in zope.testing (Ubuntu Natty):
importance: Undecided → Medium
milestone: none → ubuntu-11.04
status: New → Confirmed
Revision history for this message
Gediminas Paulauskas (menesis) wrote :

This is because two scripts are installed, zope-testrunner2.6 and zope-testrunner2.7 to run with different python versions. Should be changed to use default python (per Python Policy) and use `python2.7 zope-testrunner` if a particular version of python is needed (in test_helper script).

Changed in zope.testing (Ubuntu Natty):
assignee: nobody → Gediminas Paulauskas (menesis)
Revision history for this message
Gediminas Paulauskas (menesis) wrote :

I have uploaded zope.hookable 3.4.1-6ubuntu1 that drops dependency on zope.testing. So zope.component and, in turn, gaphor will not depend on it.

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

Forgot to mention bug number, but this upload will drop dependency on python2.6:

------------------------------------------------------
 zope.testing (3.9.4-0ubuntu2) natty; urgency=low
 .
   * debian/rules: do not mess with scripts, install only
     /usr/bin/zope-testrunner using default python.
   * debian/test_helper: adapt to changed name of zope-testrunner, execute it
     with different python interpreters instead.
   * debian/tests/all: use our own test_helper.

Changed in zope.testing (Ubuntu Natty):
status: Confirmed → Fix Released
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

Thank you for the fix!

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.