Changes between Version 1 and Version 2 of Ticket #2077, comment 3
- Timestamp:
- 2014-03-17T20:53:41Z (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2077, comment 3
v1 v2 1 We don't trust setuptools to put the correct dependencies on {{{sys.path}}}, because of [ticket:1246#comment:6] among other reasons. Therefore, we need to double-check them, both in tests and so that we can fail hard if they are not actually met at runtime. 1 We don't trust setuptools to put the correct dependencies on {{{sys.path}}}, because of [ticket:1246#comment:6] among other reasons. Therefore, we need to double-check them, both in tests and so that we can fail hard if they are not actually met at runtime. (Failing hard is '''much''' better from a support point of view than tolerating whatever bug arises from the not-satisfied requirement.) 2 2 3 3 In order to do that, we need the requirements to be machine-readable, and in one place. Currently that place is [source:src/allmydata/_auto_deps.py]. However, ideally it would be in a data file rather than in code, just as an application of the Principle of Least Power.