From: Daira Hopwood Date: Sat, 2 May 2015 20:38:48 +0000 (+0100) Subject: _auto_deps.py: update comments. refs #2416 X-Git-Tag: allmydata-tahoe-1.10.1a1~12 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/css/class-simplejson.JSONEncoder.html?a=commitdiff_plain;h=d106a775675d67c0ae9e217b1ca59de157358b7d;p=tahoe-lafs%2Ftahoe-lafs.git _auto_deps.py: update comments. refs #2416 Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/_auto_deps.py b/src/allmydata/_auto_deps.py index 9c0bdab2..e8e2b172 100644 --- a/src/allmydata/_auto_deps.py +++ b/src/allmydata/_auto_deps.py @@ -106,9 +106,27 @@ if not hasattr(sys, 'frozen'): package_imports.append(('setuptools', 'setuptools')) -# Splitting the dependencies for Windows and non-Windows helps to fix -# and -# . +# * On Linux we need at least Twisted 10.1.0 for inotify support +# used by the drop-upload frontend. +# * We also need Twisted 10.1.0 for the FTP frontend in order for +# Twisted's FTP server to support asynchronous close. +# * The SFTP frontend depends on Twisted 11.0.0 to fix the SSH server +# rekeying bug +# * The FTP frontend depends on Twisted >= 11.1.0 for +# filepath.Permissions +# +# On Windows, Twisted >= 12.2.0 has a dependency on pywin32. +# Since pywin32 can only be installed manually, we fall back to +# requiring earlier versions of Twisted and Nevow if it is not +# already installed. +# +# +# In cases where this fallback isn't needed, we prefer Nevow >= 0.11.1 +# which can be installed using pip, and Twisted >= 13.0.0 which +# Nevow 0.11.1 depends on. +# +# +# _use_old_Twisted_and_Nevow = False if sys.platform == "win32": @@ -119,43 +137,12 @@ if sys.platform == "win32": if _use_old_Twisted_and_Nevow: install_requires += [ - # * On Windows we need at least Twisted 9.0 to avoid an indirect - # dependency on pywin32. - # * We also need Twisted 10.1 for the FTP frontend in order for - # Twisted's FTP server to support asynchronous close. - # * When the cloud backend lands, it will depend on Twisted 10.2.0 - # which includes the fix to . - # * The SFTP frontend depends on Twisted 11.0.0 to fix the SSH server - # rekeying bug - # * The FTP frontend depends on Twisted >=11.1.0 for - # filepath.Permissions - # * We don't want Twisted >= 12.2.0 to avoid a dependency of its endpoints - # code on pywin32. - # "Twisted >= 11.1.0, <= 12.1.0", - - # * We need Nevow >= 0.9.33 to avoid a bug in Nevow's setup.py - # which imported twisted at setup time. - # * We don't want Nevow 0.11 because that requires Twisted >= 13.0 - # which conflicts with the Twisted requirement above. - # - # "Nevow >= 0.9.33, <= 0.10", ] else: install_requires += [ - # * On Linux we need at least Twisted 10.1.0 for inotify support - # used by the drop-upload frontend. - # * Nevow 0.11.1 requires Twisted >= 13.0.0 so we might as well - # require it directly; this helps to work around - # . - # This also satisfies the requirements for the FTP and SFTP - # frontends and cloud backend mentioned in the Windows section - # above. - # "Twisted >= 13.0.0", - - # Nevow >= 0.11.1 can be installed using pip. "Nevow >= 0.11.1", ]