Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 573168

Summary: dev-python/packaging-16.0 removing egg info fails: ImportError: No module named 'copy_reg'
Product: Gentoo Linux Reporter: Sebastian Pipping <sping>
Component: Current packagesAssignee: Python Gentoo Team <python>
Severity: normal CC: m.seifert, yamadharma
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: Build log

Description Sebastian Pipping gentoo-dev 2016-01-27 23:58:56 UTC
Created attachment 424030 [details]
Build log

Please find the build log attached.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2016-01-28 08:55:10 UTC
I can absolutely not reproduce this. Is this reproducible for you?
Comment 2 Sebastian Pipping gentoo-dev 2016-01-30 01:25:10 UTC
Yes.  The 3.4 branch seems to pull in 2.7 code somehow, see the last "File:" line:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python3.4/distutils/", line 13, in <module>
    import re
  File "/usr/lib64/python3.4/", line 336, in <module>
    import copyreg
  File "/usr/lib64/python2.7/site-packages/", line 3, in <module>
    from copy_reg import *
ImportError: No module named 'copy_reg'

I haven't seen a mix-up like that before.  Maybe something is messing with PYTHONPATH.
Comment 3 Mike Gilbert gentoo-dev 2017-05-04 18:00:51 UTC

*** This bug has been marked as a duplicate of bug 585146 ***