Ticket #1274: raise-twisted-version-dep.darcs.patch

File raise-twisted-version-dep.darcs.patch, 12.9 KB (added by davidsarah, at 2011-06-11T01:23:56Z)

Raise Twisted version requirement to >= 9.0.0, in order to avoid an indirect dependency on pywin32 for Windows. refs #1274

Line 
11 patch for repository davidsarah@dev.allmydata.org:/home/darcs/tahoe/trunk:
2
3Sat Jun 11 02:23:25 BST 2011  david-sarah@jacaranda.org
4  * Raise Twisted version requirement to >= 9.0.0, in order to avoid an indirect dependency on pywin32 for Windows. refs #1274
5
6New patches:
7
8[Raise Twisted version requirement to >= 9.0.0, in order to avoid an indirect dependency on pywin32 for Windows. refs #1274
9david-sarah@jacaranda.org**20110611012325
10 Ignore-this: 7708bc55c0df9cec84f91ed9abdc3b45
11] {
12hunk ./NEWS.rst 14
13   will throw an exception if they gather stats from a new storage
14   server and it sends a "None" for a percentile. (`#1392`_)
15 
16+Compatibility and Dependencies
17+''''''''''''''''''''''''''''''
18+
19+- The Twisted dependency was raised to 9.0.0. This removes an indirect
20+  dependency that older versions of Twisted had on pywin32 for Windows
21+  platforms. (`#1274`_)
22+
23 
24 Release 1.8.2 (2011-01-30)
25 --------------------------
26hunk ./docs/quickstart.rst 41
27 directory has no spaces in it (e.g. on Windows, do not install Python
28 in the "Program Files" directory).
29 
30-If you are on Windows, you now must manually install the pywin32
31-package from `the pywin32 site
32-<http://sourceforge.net/projects/pywin32/files/>`_ before getting
33-Tahoe-LAFS. Make sure to get the correct file for the version of Python
34-you are using -- e.g. ending in "py2.6.exe" for Python v2.6. If using
35-64-bit Windows, the file should have "win-amd64" in its name.
36-
37 Get Tahoe-LAFS
38 --------------
39 
40hunk ./src/allmydata/_auto_deps.py 19
41 
42     "zope.interface",
43 
44-    "Twisted >= 2.4.0",
45+    # Twisted 9.0.0 removed a dependency on pywin32 on Windows.
46+    "Twisted >= 9.0.0",
47 
48     # foolscap < 0.5.1 had a performance bug which spent
49     # O(N**2) CPU for transferring large mutable files
50}
51
52Context:
53
54[docs: three minor fixes
55zooko@zooko.com**20110610121656
56 Ignore-this: fec96579eb95aceb2ad5fc01a814c8a2
57 CREDITS for arc for stats tweak
58 fix link to .zip file in quickstart.rst (thanks to ChosenOne for noticing)
59 English usage tweak
60]
61[server.py:  get_latencies now reports percentiles _only_ if there are sufficient observations for the interpretation of the percentile to be unambiguous.
62wilcoxjg@gmail.com**20110527120135
63 Ignore-this: 2e7029764bffc60e26f471d7c2b6611e
64 interfaces.py:  modified the return type of RIStatsProvider.get_stats to allow for None as a return value
65 NEWS.rst, stats.py: documentation of change to get_latencies
66 stats.rst: now documents percentile modification in get_latencies
67 test_storage.py:  test_latencies now expects None in output categories that contain too few samples for the associated percentile to be unambiguously reported.
68 fixes #1392
69]
70[corrected "k must never be smaller than N" to "k must never be greater than N"
71secorp@allmydata.org**20110425010308
72 Ignore-this: 233129505d6c70860087f22541805eac
73]
74[docs/running.rst: fix stray HTML (not .rst) link noticed by ChosenOne.
75david-sarah@jacaranda.org**20110609223719
76 Ignore-this: fc50ac9c94792dcac6f1067df8ac0d4a
77]
78[docs: revert link in relnotes.txt from NEWS.rst to NEWS, since the former did not exist at revision 5000.
79david-sarah@jacaranda.org**20110517011214
80 Ignore-this: 6a5be6e70241e3ec0575641f64343df7
81]
82[docs: convert NEWS to NEWS.rst and change all references to it.
83david-sarah@jacaranda.org**20110517010255
84 Ignore-this: a820b93ea10577c77e9c8206dbfe770d
85]
86[docs: remove out-of-date docs/testgrid/introducer.furl and containing directory. fixes #1404
87david-sarah@jacaranda.org**20110512140559
88 Ignore-this: 784548fc5367fac5450df1c46890876d
89]
90[scripts/common.py: don't assume that the default alias is always 'tahoe' (it is, but the API of get_alias doesn't say so). refs #1342
91david-sarah@jacaranda.org**20110130164923
92 Ignore-this: a271e77ce81d84bb4c43645b891d92eb
93]
94[setup: don't catch all Exception from check_requirement(), but only PackagingError and ImportError
95zooko@zooko.com**20110128142006
96 Ignore-this: 57d4bc9298b711e4bc9dc832c75295de
97 I noticed this because I had accidentally inserted a bug which caused AssertionError to be raised from check_requirement().
98]
99[M-x whitespace-cleanup
100zooko@zooko.com**20110510193653
101 Ignore-this: dea02f831298c0f65ad096960e7df5c7
102]
103[docs: fix typo in running.rst, thanks to arch_o_median
104zooko@zooko.com**20110510193633
105 Ignore-this: ca06de166a46abbc61140513918e79e8
106]
107[relnotes.txt: don't claim to work on Cygwin (which has been untested for some time). refs #1342
108david-sarah@jacaranda.org**20110204204902
109 Ignore-this: 85ef118a48453d93fa4cddc32d65b25b
110]
111[relnotes.txt: forseeable -> foreseeable. refs #1342
112david-sarah@jacaranda.org**20110204204116
113 Ignore-this: 746debc4d82f4031ebf75ab4031b3a9
114]
115[replace remaining .html docs with .rst docs
116zooko@zooko.com**20110510191650
117 Ignore-this: d557d960a986d4ac8216d1677d236399
118 Remove install.html (long since deprecated).
119 Also replace some obsolete references to install.html with references to quickstart.rst.
120 Fix some broken internal references within docs/historical/historical_known_issues.txt.
121 Thanks to Ravi Pinjala and Patrick McDonald.
122 refs #1227
123]
124[docs: FTP-and-SFTP.rst: fix a minor error and update the information about which version of Twisted fixes #1297
125zooko@zooko.com**20110428055232
126 Ignore-this: b63cfb4ebdbe32fb3b5f885255db4d39
127]
128[munin tahoe_files plugin: fix incorrect file count
129francois@ctrlaltdel.ch**20110428055312
130 Ignore-this: 334ba49a0bbd93b4a7b06a25697aba34
131 fixes #1391
132]
133[Fix a test failure in test_package_initialization on Python 2.4.x due to exceptions being stringified differently than in later versions of Python. refs #1389
134david-sarah@jacaranda.org**20110411190738
135 Ignore-this: 7847d26bc117c328c679f08a7baee519
136]
137[tests: add test for including the ImportError message and traceback entry in the summary of errors from importing dependencies. refs #1389
138david-sarah@jacaranda.org**20110410155844
139 Ignore-this: fbecdbeb0d06a0f875fe8d4030aabafa
140]
141[allmydata/__init__.py: preserve the message and last traceback entry (file, line number, function, and source line) of ImportErrors in the package versions string. fixes #1389
142david-sarah@jacaranda.org**20110410155705
143 Ignore-this: 2f87b8b327906cf8bfca9440a0904900
144]
145[remove unused variable detected by pyflakes
146zooko@zooko.com**20110407172231
147 Ignore-this: 7344652d5e0720af822070d91f03daf9
148]
149[allmydata/__init__.py: Nicer reporting of unparseable version numbers in dependencies. fixes #1388
150david-sarah@jacaranda.org**20110401202750
151 Ignore-this: 9c6bd599259d2405e1caadbb3e0d8c7f
152]
153[update FTP-and-SFTP.rst: the necessary patch is included in Twisted-10.1
154Brian Warner <warner@lothar.com>**20110325232511
155 Ignore-this: d5307faa6900f143193bfbe14e0f01a
156]
157[control.py: remove all uses of s.get_serverid()
158warner@lothar.com**20110227011203
159 Ignore-this: f80a787953bd7fa3d40e828bde00e855
160]
161[web: remove some uses of s.get_serverid(), not all
162warner@lothar.com**20110227011159
163 Ignore-this: a9347d9cf6436537a47edc6efde9f8be
164]
165[immutable/downloader/fetcher.py: remove all get_serverid() calls
166warner@lothar.com**20110227011156
167 Ignore-this: fb5ef018ade1749348b546ec24f7f09a
168]
169[immutable/downloader/fetcher.py: fix diversity bug in server-response handling
170warner@lothar.com**20110227011153
171 Ignore-this: bcd62232c9159371ae8a16ff63d22c1b
172 
173 When blocks terminate (either COMPLETE or CORRUPT/DEAD/BADSEGNUM), the
174 _shares_from_server dict was being popped incorrectly (using shnum as the
175 index instead of serverid). I'm still thinking through the consequences of
176 this bug. It was probably benign and really hard to detect. I think it would
177 cause us to incorrectly believe that we're pulling too many shares from a
178 server, and thus prefer a different server rather than asking for a second
179 share from the first server. The diversity code is intended to spread out the
180 number of shares simultaneously being requested from each server, but with
181 this bug, it might be spreading out the total number of shares requested at
182 all, not just simultaneously. (note that SegmentFetcher is scoped to a single
183 segment, so the effect doesn't last very long).
184]
185[immutable/downloader/share.py: reduce get_serverid(), one left, update ext deps
186warner@lothar.com**20110227011150
187 Ignore-this: d8d56dd8e7b280792b40105e13664554
188 
189 test_download.py: create+check MyShare instances better, make sure they share
190 Server objects, now that finder.py cares
191]
192[immutable/downloader/finder.py: reduce use of get_serverid(), one left
193warner@lothar.com**20110227011146
194 Ignore-this: 5785be173b491ae8a78faf5142892020
195]
196[immutable/offloaded.py: reduce use of get_serverid() a bit more
197warner@lothar.com**20110227011142
198 Ignore-this: b48acc1b2ae1b311da7f3ba4ffba38f
199]
200[immutable/upload.py: reduce use of get_serverid()
201warner@lothar.com**20110227011138
202 Ignore-this: ffdd7ff32bca890782119a6e9f1495f6
203]
204[immutable/checker.py: remove some uses of s.get_serverid(), not all
205warner@lothar.com**20110227011134
206 Ignore-this: e480a37efa9e94e8016d826c492f626e
207]
208[add remaining get_* methods to storage_client.Server, NoNetworkServer, and
209warner@lothar.com**20110227011132
210 Ignore-this: 6078279ddf42b179996a4b53bee8c421
211 MockIServer stubs
212]
213[upload.py: rearrange _make_trackers a bit, no behavior changes
214warner@lothar.com**20110227011128
215 Ignore-this: 296d4819e2af452b107177aef6ebb40f
216]
217[happinessutil.py: finally rename merge_peers to merge_servers
218warner@lothar.com**20110227011124
219 Ignore-this: c8cd381fea1dd888899cb71e4f86de6e
220]
221[test_upload.py: factor out FakeServerTracker
222warner@lothar.com**20110227011120
223 Ignore-this: 6c182cba90e908221099472cc159325b
224]
225[test_upload.py: server-vs-tracker cleanup
226warner@lothar.com**20110227011115
227 Ignore-this: 2915133be1a3ba456e8603885437e03
228]
229[happinessutil.py: server-vs-tracker cleanup
230warner@lothar.com**20110227011111
231 Ignore-this: b856c84033562d7d718cae7cb01085a9
232]
233[upload.py: more tracker-vs-server cleanup
234warner@lothar.com**20110227011107
235 Ignore-this: bb75ed2afef55e47c085b35def2de315
236]
237[upload.py: fix var names to avoid confusion between 'trackers' and 'servers'
238warner@lothar.com**20110227011103
239 Ignore-this: 5d5e3415b7d2732d92f42413c25d205d
240]
241[refactor: s/peer/server/ in immutable/upload, happinessutil.py, test_upload
242warner@lothar.com**20110227011100
243 Ignore-this: 7ea858755cbe5896ac212a925840fe68
244 
245 No behavioral changes, just updating variable/method names and log messages.
246 The effects outside these three files should be minimal: some exception
247 messages changed (to say "server" instead of "peer"), and some internal class
248 names were changed. A few things still use "peer" to minimize external
249 changes, like UploadResults.timings["peer_selection"] and
250 happinessutil.merge_peers, which can be changed later.
251]
252[storage_client.py: clean up test_add_server/test_add_descriptor, remove .test_servers
253warner@lothar.com**20110227011056
254 Ignore-this: efad933e78179d3d5fdcd6d1ef2b19cc
255]
256[test_client.py, upload.py:: remove KiB/MiB/etc constants, and other dead code
257warner@lothar.com**20110227011051
258 Ignore-this: dc83c5794c2afc4f81e592f689c0dc2d
259]
260[test: increase timeout on a network test because Francois's ARM machine hit that timeout
261zooko@zooko.com**20110317165909
262 Ignore-this: 380c345cdcbd196268ca5b65664ac85b
263 I'm skeptical that the test was proceeding correctly but ran out of time. It seems more likely that it had gotten hung. But if we raise the timeout to an even more extravagant number then we can be even more certain that the test was never going to finish.
264]
265[docs/configuration.rst: add a "Frontend Configuration" section
266Brian Warner <warner@lothar.com>**20110222014323
267 Ignore-this: 657018aa501fe4f0efef9851628444ca
268 
269 this points to docs/frontends/*.rst, which were previously underlinked
270]
271[web/filenode.py: avoid calling req.finish() on closed HTTP connections. Closes #1366
272"Brian Warner <warner@lothar.com>"**20110221061544
273 Ignore-this: 799d4de19933f2309b3c0c19a63bb888
274]
275[Add unit tests for cross_check_pkg_resources_versus_import, and a regression test for ref #1355. This requires a little refactoring to make it testable.
276david-sarah@jacaranda.org**20110221015817
277 Ignore-this: 51d181698f8c20d3aca58b057e9c475a
278]
279[allmydata/__init__.py: .name was used in place of the correct .__name__ when printing an exception. Also, robustify string formatting by using %r instead of %s in some places. fixes #1355.
280david-sarah@jacaranda.org**20110221020125
281 Ignore-this: b0744ed58f161bf188e037bad077fc48
282]
283[Refactor StorageFarmBroker handling of servers
284Brian Warner <warner@lothar.com>**20110221015804
285 Ignore-this: 842144ed92f5717699b8f580eab32a51
286 
287 Pass around IServer instance instead of (peerid, rref) tuple. Replace
288 "descriptor" with "server". Other replacements:
289 
290  get_all_servers -> get_connected_servers/get_known_servers
291  get_servers_for_index -> get_servers_for_psi (now returns IServers)
292 
293 This change still needs to be pushed further down: lots of code is now
294 getting the IServer and then distributing (peerid, rref) internally.
295 Instead, it ought to distribute the IServer internally and delay
296 extracting a serverid or rref until the last moment.
297 
298 no_network.py was updated to retain parallelism.
299]
300[TAG allmydata-tahoe-1.8.2
301warner@lothar.com**20110131020101]
302Patch bundle hash:
303f3f4ca27b2bb2d442acd3fed8c10dc639a9b3c16