[tahoe-lafs-trac-stream] [tahoe-lafs] #1258: having Tahoe or any dependency installed in site-packages (or any other shared directory) can cause us to run or test the wrong code
tahoe-lafs
trac at tahoe-lafs.org
Tue Jan 18 07:30:47 UTC 2011
#1258: having Tahoe or any dependency installed in site-packages (or any other
shared directory) can cause us to run or test the wrong code
------------------------------------+---------------------------------------
Reporter: davidsarah | Owner: davidsarah
Type: defect | Status: new
Priority: major | Milestone: 1.9.0
Component: dev-infrastructure | Version: 1.8.0
Resolution: | Keywords: setuptools test docs
Launchpad Bug: |
------------------------------------+---------------------------------------
Changes (by zooko):
* milestone: 1.8.2 => 1.9.0
Comment:
Brian (Release Master for 1.8.2) says that for 1.8.2 we intend to land a
patch to detect if this problem has occurred but not to fix the problem.
David-Sarah: I would give +1 to
[20110101110141-93fa1-3557bc2136f970fae05c1d20e336c32fec8e3d6d] if we put
back the {{{pkg_resources.require()}}} and add code to abort with a
specific error message if the answer provided by
{{{pkg_resources.require()}}} differs from the one detected by importing
and inspecting the module.
This would satisfy my current uncertainty (re comment:24), would be in
keeping with the intent to detect this problem in 1.8.2, would fail-safe,
and would not cause any problem in the case that {{{pkg_resources}}} was
behaving correctly. What do you think?
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1258#comment:26>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list