Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471532 - media-gfx/mcomix-1.00: Deprecated imports of PIL modules
Summary: media-gfx/mcomix-1.00: Deprecated imports of PIL modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ryan Hill (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 471488
  Show dependency tree
 
Reported: 2013-05-28 04:16 UTC by Mike Gilbert
Modified: 2013-07-08 05:20 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2013-05-28 04:16:33 UTC
See tracker bug 471488 for details.

/usr/bin/comicthumb:    import Image
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2013-06-01 05:15:01 UTC
That tracker is short on details.  What's being deprecated?  What versions?
Comment 2 Mike Gilbert gentoo-dev 2013-06-01 18:17:02 UTC
dev-python/imaging has been forked into dev-python/pillow with a new maintainer.

dev-python/pillow no longer supports importing modules from the top-level namespace. So instead of this:

import Image

You need to do this:

from PIL import Image
Comment 3 Mike Gilbert gentoo-dev 2013-06-01 18:19:10 UTC
The intent is to eventually create a virtual for dev-python/imaging and dev-python/pillow and update deps.
Comment 4 Dominique Michel 2013-07-03 23:42:58 UTC
For now, the imaging depend block portage:

  (dev-python/pillow-2.0.0-r1::gentoo, installed) pulled in by
    dev-python/pillow[tk?,python_targets_python2_7(-)] (dev-python/pillow[python_targets_python2_7(-)]) required by (virtual/python-imaging-1::gentoo, installed)
    dev-python/pillow[tk?,python_targets_python3_2(-)] (dev-python/pillow[python_targets_python3_2(-)]) required by (virtual/python-imaging-1::gentoo, installed)

  (dev-python/imaging-1.1.7-r4::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-python/imaging-1.1.5[python_targets_python2_6(-)?,python_targets_python2_7(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-)] (>=dev-python/imaging-1.1.5[python_targets_python2_7(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-)]) required by (media-gfx/mcomix-1.00::gentoo, installed)
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2013-07-08 05:20:45 UTC
Fixed.