Pytris doesn't work with python 2.5

Bug #286008 reported by Paweł Wysocki
8
Affects Status Importance Assigned to Milestone
pytris (Debian)
Fix Released
Unknown
pytris (Ubuntu)
Fix Released
Medium
Unassigned
Declined for Intrepid by Stefano Rivera

Bug Description

Binary package hint: pytris

In python 2.5 removed whrandom library, but pytris still need it. So fix it or remove it :P

Revision history for this message
Ben M. (bmhm) wrote :

It's not been removed, it's been renamed to "random". Hope that helps.
Pytris needs to be updated.

Changed in pytris:
status: New → Confirmed
Revision history for this message
Paweł Wysocki (pawel-wys) wrote :

Indeed. When I change whrandom to random in pytris.py it start correctly (there are warning in console output, but it is playalbe now.

I'm don't know how to make good patch for ubuntu package, but I made one and it work.

Revision history for this message
Rick McBride (rmcbride) wrote :

I have a UDD branch prepared to submit for merge once Maverick Meerkat opens.

Changed in pytris (Ubuntu):
assignee: nobody → Rick McBride (rmcbride)
status: Confirmed → In Progress
Rick McBride (rmcbride)
Changed in pytris (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Stefano Rivera (stefanor) wrote :

I've forwarded the patch, the UDD branch can't be merged as it makes unecessary modifications to previous changelog entries, and converts a native package to 3.0 (quilt).

Changed in pytris (Ubuntu):
status: Fix Committed → Confirmed
importance: Undecided → Medium
Changed in pytris (Debian):
status: Unknown → New
Changed in pytris (Debian):
status: New → Fix Committed
Changed in pytris (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Stefano Rivera (stefanor) wrote :

Sorry forgot to auto-close:

pytris (0.98+nmu1) unstable; urgency=low

  * Non-maintainer upload.
  * Fix "random" import module for py2.6 transition (closes: #588716). Thanks
    to Stefano Rivera <email address hidden>
  * Fix TypeError upon exit (closes: #589097)
  * Create debian/source/format

Changed in pytris (Ubuntu):
status: Confirmed → Fix Released
assignee: Rick McBride (rmcbride) → nobody
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.