Take stock of Python 3 port #3643

Closed
opened 2021-03-20 23:20:07 +00:00 by chadwhitacre · 2 comments

How much do we have left to do?

How much do we have left to do?
chadwhitacre added the
dev-infrastructure
normal
task
n/a
labels 2021-03-20 23:20:07 +00:00
chadwhitacre added this to the Support Python 3 milestone 2021-03-20 23:20:07 +00:00

There's a report in the test suite:

$ trial allmydata.test.test_python3
allmydata.test.test_python3
  Python3PortingEffortTests
    test_finished_porting ...                                            [TODO]
    test_ported_modules_distinct ...                                       [OK]
    test_ported_modules_exist ...                                          [OK]

===============================================================================
[TODO]
Reason: 'https://tahoe-lafs.org/trac/tahoe-lafs/milestone/Support%20Python%203 should be completed'
Traceback (most recent call last):
  File "/home/exarkun/Work/python/tahoe-lafs/src/allmydata/test/test_python3.py", line 43, in test_finished_porting
    ported_names,
  File "/home/exarkun/VirtualEnvs/tahoe-lafs/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 434, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/nix/store/knrv5c2qzbxrr7f6hp5xj9zgcig36j3w-python-2.7.17/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/nix/store/knrv5c2qzbxrr7f6hp5xj9zgcig36j3w-python-2.7.17/lib/python2.7/unittest/case.py", line 797, in assertSetEqual
    self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: Some unported modules remain: 
Ported files: 195 / 283
Ported lines: 78666 / 95524


allmydata.test.test_python3.Python3PortingEffortTests.test_finished_porting
-------------------------------------------------------------------------------
Ran 3 tests in 1.041s
There's a report in the test suite: ``` $ trial allmydata.test.test_python3 allmydata.test.test_python3 Python3PortingEffortTests test_finished_porting ... [TODO] test_ported_modules_distinct ... [OK] test_ported_modules_exist ... [OK] =============================================================================== [TODO] Reason: 'https://tahoe-lafs.org/trac/tahoe-lafs/milestone/Support%20Python%203 should be completed' Traceback (most recent call last): File "/home/exarkun/Work/python/tahoe-lafs/src/allmydata/test/test_python3.py", line 43, in test_finished_porting ported_names, File "/home/exarkun/VirtualEnvs/tahoe-lafs/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 434, in assertEqual super(_Assertions, self).assertEqual(first, second, msg) File "/nix/store/knrv5c2qzbxrr7f6hp5xj9zgcig36j3w-python-2.7.17/lib/python2.7/unittest/case.py", line 513, in assertEqual assertion_func(first, second, msg=msg) File "/nix/store/knrv5c2qzbxrr7f6hp5xj9zgcig36j3w-python-2.7.17/lib/python2.7/unittest/case.py", line 797, in assertSetEqual self.fail(self._formatMessage(msg, standardMsg)) twisted.trial.unittest.FailTest: Some unported modules remain: Ported files: 195 / 283 Ported lines: 78666 / 95524 allmydata.test.test_python3.Python3PortingEffortTests.test_finished_porting ------------------------------------------------------------------------------- Ran 3 tests in 1.041s ```

I guess stock is taken.

I guess stock is taken.
exarkun added the
was already fixed
label 2021-04-01 14:02:45 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#3643
No description provided.