Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482478 - dev-python/twisted-core-13.0.0-r1 egg mismatch compared to consolidated Twisted tarball
Summary: dev-python/twisted-core-13.0.0-r1 egg mismatch compared to consolidated Twist...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
Depends on:
Reported: 2013-08-26 00:24 UTC by Julian Ospald
Modified: 2013-08-26 00:49 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ospald 2013-08-26 00:24:07 UTC
# python2
Python 2.7.5 (default, Aug 24 2013, 15:29:55) 
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>> pkg_resources.require("Twisted")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/", line 728, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Twisted

Some applications such as net-fs/tahoe-lafs rely on this function call to work and break in many places if it doesn't. I do not believe this has to be fixed in the application. This is either a distribution problem or upstream messed up their package.
Comment 1 Julian Ospald 2013-08-26 00:27:12 UTC
this is caused by the 13.0.0 13.0.0-r1 bump so I suspect this is an eclass error
Comment 2 Mike Gilbert gentoo-dev 2013-08-26 00:32:26 UTC
twisted-core-13.0.0 installs two egg-info entries:


The former is created via touch in the ebuild:

touch "${ED}$(python_get_sitedir)/Twisted-${PV}-py$(python_get_version).egg-info"
Comment 3 Julian Ospald 2013-08-26 00:34:57 UTC
satan, so we'll probably need a revbump here
Comment 4 Mike Gilbert gentoo-dev 2013-08-26 00:44:05 UTC
+*twisted-core-13.0.0-r2 (26 Aug 2013)
+  26 Aug 2013; Mike Gilbert <> +twisted-core-13.0.0-r2.ebuild,
+  -twisted-core-13.0.0-r1.ebuild:
+  Install missing egg-info file, bug 428478.

Should be fixed; please confirm.