Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436934 - app-portage/gentoolkit incompatible with Python 3.3
Summary: app-portage/gentoolkit incompatible with Python 3.3
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 346443 python-3.3
  Show dependency tree
 
Reported: 2012-10-02 05:49 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2012-11-06 17:21 UTC (History)
3 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 Arfrever Frehtes Taifersar Arahesis 2012-10-02 05:49:14 UTC
enalyze and equery use __import__ in the way officially not supported in Python 3 and really not supported in Python >=3.3:

$ equery d
Traceback (most recent call last):
  File "/usr/bin/equery", line 38, in <module>
    equery.main(sys.argv)
  File "/usr/lib64/python3.3/site-packages/gentoolkit/equery/__init__.py", line 352, in main
    expanded_module_name, globals(), locals(), [], -1
ValueError: level must be >= 0
$

In this case, 1 instead of -1 should be used.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2012-11-06 17:21:34 UTC
Released in gentoolkit-0.3.0.7