[tahoe-lafs-trac-stream] [tahoe-lafs] #1714: Tahoe-lafs fails to start with python 2.7 due to missing argparse module
tahoe-lafs
trac at tahoe-lafs.org
Wed Apr 11 02:50:54 UTC 2012
#1714: Tahoe-lafs fails to start with python 2.7 due to missing argparse module
---------------------------+-----------------------
Reporter: vrusinov | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: undecided
Component: packaging | Version: 1.9.1
Resolution: | Keywords:
Launchpad Bug: |
---------------------------+-----------------------
Comment (by zooko):
We can also change zfec to declare a dependency on the argparse package
only if the argparse module can't be imported. This would be analogous to
the way Tahoe-LAFS
[source:git/src/allmydata/_auto_deps.py?annotate=blame&rev=cef646c4a70537d618459044ea0a8b590732ca90#L80
declares a dependency on the pysqlite package] only if the {{{sqlite3}}}
module can't be imported.
A simpler solution to this problem is to require Python 2.7! I'm excited
about Python 2.7 because the Python developers have sworn to stop
improving the Python 2 line.
Realistically, though, it will probably be years before we're willing to
tell people they can't run Tahoe-LAFS with the Python 2.6 that came with
their operating system. See #1658 (drop support for Python < 2.6) for a
ticket where we are dithering about when to drop support for Python < 2.6.
To simplify the subject of *this* ticket we would *also* have to drop
support for Python < 2.7.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1714#comment:4>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list