Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282184 - [PATCH] dev-python/myghty-1.1 does not work with Python 2.6
Summary: [PATCH] dev-python/myghty-1.1 does not work with Python 2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.6
  Show dependency tree
 
Reported: 2009-08-21 10:55 UTC by Sebastian Pipping
Modified: 2009-10-01 02:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Python 2.6 patch for Myghty 1.1 (myghty-1.1-python-2.6.patch,1009 bytes, patch)
2009-09-23 11:07 UTC, Sebastian Pipping
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2009-08-21 10:55:19 UTC
Worked well with Python 2.5, does not with 2.6.
The way it showed here was an ImportError on "import _mysql".
Recompilation of all dependencies does not help.

Latest trunk does better though (see dev-python/myghty-9999, sping overlay).
Myghty wraps __builtin__.__import__ and the related code (importer.py) in trunk has an if-2.6-or-later switch built in, that Myghty 1.1 is missing.

I just requested a trunk release from upstream (Michael Bayer) a few minutes ago.  Let's see what we get.

Reproducible: Always
Comment 1 Sebastian Pipping gentoo-dev 2009-09-23 11:07:17 UTC
Created attachment 205003 [details, diff]
Python 2.6 patch for Myghty 1.1

Two months and two mails to upstream later: no reply.

Options we have include:
- Applying the attached patch downstream (extracted from diff between 1.1 tarball and current trunk, i.e. revision 2155)
- Adding a snapshot release ebuild from trunk containing other minor(?) post-1.1 fixes

The repo is up at http://svn.myghty.org/myghty/trunk
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-01 02:53:42 UTC
Fixed in dev-python/myghty-1.1-r1.