[tahoe-dev] [tahoe-lafs] #1233: prefer binary eggs which satisfy dependencies over source eggs which are even newer
tahoe-lafs
trac at tahoe-lafs.org
Thu Oct 28 05:40:17 UTC 2010
#1233: prefer binary eggs which satisfy dependencies over source eggs which are
even newer
------------------------+---------------------------------------------------
Reporter: zooko | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: 1.8.1
Component: packaging | Version: 1.8.0
Keywords: setuptools | Launchpad Bug:
------------------------+---------------------------------------------------
Currently if the zetuptoolz-based build system finds both a binary egg
(for the current platform that it is building on) and a source egg, and
both of them satisfy the dependency requirement, it will choose the one
with the highest version number.
This is a serious problem in practice because, for example, if we have
built and hosted dozens of binary eggs of zfec for many different
combinations of platform and Python version, and then a newer source-code
distribution of zfec is uploaded to PyPI, then the build system will no
longer try to use any of those binary eggs and instead use the newer
source distribution exclusively, which will fail on platforms that don't
have a C compiler and Python header files present.
To fix this, change the logic in zetuptoolz to prefer a binary egg,
provided that it is for your platform and Python version and satisfies the
dependency requirement, over a source distribution.
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1233>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-dev
mailing list