Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532034 - dev-python/pyparted-3.10_p0 - python3 -c 'import parted': ImportError: No module named 'decorators'
Summary: dev-python/pyparted-3.10_p0 - python3 -c 'import parted': ImportError: No mod...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL: https://github.com/dcantrell/pyparted/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-09 08:55 UTC by Markus Rathgeb
Modified: 2014-12-09 09:42 UTC (History)
0 users

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


Attachments
v3.10_p0_to_v3.10.2.patch (bump-pyparted.patch,678 bytes, patch)
2014-12-09 08:56 UTC, Markus Rathgeb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rathgeb 2014-12-09 08:55:08 UTC
$ python3 -c 'import parted'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/parted/__init__.py", line 55, in <module>
    from parted.device import Device
  File "/usr/lib/python3/dist-packages/parted/device.py", line 31, in <module>
    from decorators import localeC
ImportError: No module named 'decorators'

The problem is already mentioned here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769737

As this is already fixed upstream, we could bump that package to the current v3.10.2.
The project moved from fedorahosted to github.

I bumped the ebuild already to v3.10.2 for my worksatation(s).

I attached a patch against pyparted-3.10_p0.ebuild.

Reproducible: Always
Comment 1 Markus Rathgeb 2014-12-09 08:56:29 UTC
Created attachment 391262 [details, diff]
v3.10_p0_to_v3.10.2.patch

Bump the v3.10_p0 ebuild to get a v3.10.2 one.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-09 09:28:52 UTC
Comment on attachment 391262 [details, diff]
v3.10_p0_to_v3.10.2.patch

Needs more work than that, I'm afraid.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-09 09:42:48 UTC
3.10_p0 is out and 3.10.2 is in. Thanks for the report!