[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3603: Port allmydata.scripts to Python 3

Tahoe-LAFS trac at tahoe-lafs.org
Sat Jan 30 16:06:14 UTC 2021


#3603: Port allmydata.scripts to Python 3
-------------------------+------------------------------
     Reporter:  jaraco   |      Owner:  jaraco
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  Support Python 3
    Component:  unknown  |    Version:  n/a
   Resolution:           |   Keywords:
Launchpad Bug:           |
-------------------------+------------------------------

Comment (by jaraco):

 I found at least one failure mode that can be fixed:

 {{{
 $ .tox/py36/bin/python -m allmydata.scripts.runner
 Traceback (most recent call last):
   File
 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py",
 line 193, in _run_module_as_main
     "__main__", mod_spec)
   File
 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py",
 line 85, in _run_code
     exec(code, run_globals)
   File "/Users/jaraco/code/public/tahoe-lafs/.tox/py36/lib/python3.6/site-
 packages/allmydata/scripts/runner.py", line 251, in <module>
     run()
   File "/Users/jaraco/code/public/tahoe-lafs/.tox/py36/lib/python3.6/site-
 packages/allmydata/scripts/runner.py", line 182, in run
     assert sys.version_info < (3,), u"Tahoe-LAFS does not run under Python
 3. Please use Python 2.7.x."
 AssertionError: Tahoe-LAFS does not run under Python 3. Please use Python
 2.7.x.
 }}}

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3603#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list