Chad Whitacre
d25c8b1a25
Start ratcheting up passing tests under Python 3
2020-07-13 22:42:48 -04:00
Chad Whitacre
b47b4a468b
Prevent Nevow from blocking us
...
Per https://github.com/tahoe-lafs/tahoe-lafs/pull/732#issuecomment-653059972
2020-07-13 22:28:00 -04:00
Chad Whitacre
076c73d22f
Turn on py36 at Travis
...
Drops the old py35 job, per @exarkun:
https://github.com/tahoe-lafs/tahoe-lafs/pull/732#discussion_r449615599
Also bumps Ubuntu at Travis so we can get 3.8 eventually. I first went
to 3.8 before dropping back to 3.6 as our initial target. Trusty on
Travis does include 3.6, but since we want 3.8 "pretty soon," and the OS
bump ended up being tricky (see below), let's go ahead and keep the OS
bump. Xenial (16.04) is the current default at Travis, and it does have
3.8 available:
https://docs.travis-ci.com/user/languages/python/#python-versions
The tricky bug is that different versions of virtualenv have different
seeding algorithms: https://discuss.python.org/t/-/4146 ). CI puts us
several layers deep in virtualenv-ception and I didn't fully unravel the
whole thing, but starting with a modern virtualenv seems to work around
the issue.
2020-07-13 22:27:59 -04:00
Chad Whitacre
5a2ee5387a
Bump txi2p to unreleased version that supports Py3
...
The plan is to keep i2p support around, in the hopes that upstream libs
(txi2p, foolscap) are ported to Python 3 by the time we _really_ need
them.
2020-07-13 22:27:59 -04:00
Chad Whitacre
329bfe05f9
Make a crucial relative import explicit
2020-07-13 22:27:59 -04:00
Chad Whitacre
fec1f73bfa
Ignore eliot.log, some testing artifact
2020-07-13 22:27:59 -04:00
Chad Whitacre
2eab253b0f
Change python_requires in setup.py
2020-07-13 22:27:59 -04:00
Chad Whitacre
73c40e8d2a
Minimally add py36 to CI
2020-07-13 22:27:59 -04:00
Itamar Turner-Trauring
6115d96ab5
Merge pull request #741 from tahoe-lafs/3341-more-python-3-utils
...
Port deferredutil to Python 3
2020-07-13 16:25:18 -04:00
Itamar Turner-Trauring
af916c3968
Merge branch 'master' into 3341-more-python-3-utils
2020-07-13 14:30:11 -04:00
Jean-Paul Calderone
15f01c93bf
Merge pull request #739 from tahoe-lafs/3339-assertutil-python-3
...
Port assertutil and mathutil to Python 3 (by switching to already-ported pyutil versions)
2020-07-13 13:01:55 -04:00
Itamar Turner-Trauring
1e41df9f48
Add to list of ported modules.
2020-07-09 14:38:07 -04:00
Itamar Turner-Trauring
7d1fdd8284
Port modules to Python 3.
2020-07-09 14:32:16 -04:00
Itamar Turner-Trauring
0cf1117165
Move the tests for deferredutil into their own module.
2020-07-09 14:20:12 -04:00
Itamar Turner-Trauring
8efc12a3ef
Use newer version of pyutil.
2020-07-09 13:21:02 -04:00
Itamar Turner-Trauring
12d5131568
Fix pyflakes issues.
2020-07-09 13:12:30 -04:00
Itamar Turner-Trauring
0469c15e5d
Merge remote-tracking branch 'origin/master' into 3339-assertutil-python-3
2020-07-09 09:36:13 -04:00
Itamar Turner-Trauring
354e994f6d
Merge pull request #733 from tahoe-lafs/3324-humanreadable-python-3
...
Port humanreadable.py to Python 3
2020-07-08 17:53:40 -04:00
Itamar Turner-Trauring
28f219ad3e
Update to version that supports _python3.py variant of port list.
2020-07-08 16:46:54 -04:00
Itamar Turner-Trauring
98c8b2fd00
Revert changes obsoleted by #3338 .
2020-07-08 14:53:38 -04:00
Itamar Turner-Trauring
e4b8cc4fbd
Merge remote-tracking branch 'origin/master' into 3324-humanreadable-python-3
2020-07-08 14:52:24 -04:00
Itamar Turner-Trauring
834c7b4d06
Merge pull request #738 from tahoe-lafs/3338.future-0-18-2
...
Provide future 0.18.2 for the Nix builds
2020-07-08 14:50:42 -04:00
Jean-Paul Calderone
7e16148f83
news fragment
2020-07-08 13:20:42 -04:00
Jean-Paul Calderone
1cbf798127
Package Future 0.18.2 for us
2020-07-08 13:20:07 -04:00
Itamar Turner-Trauring
f75ff70924
News fragment.
2020-07-08 12:21:33 -04:00
Itamar Turner-Trauring
9e3bc3e888
These tests are no longer necessary, since we are no longer implementing this
...
code ourselves.
Before deleting the tests I ensured they either passed, or the failure were due
to slightly different string formatting in pyutil's assertutil.
As such I believe pyutil has the same behavior.
2020-07-08 12:16:26 -04:00
Itamar Turner-Trauring
bd6ff36b2f
Fix typo.
2020-07-08 12:13:24 -04:00
Itamar Turner-Trauring
939648c04f
Add back missing function.
2020-07-08 12:13:19 -04:00
Itamar Turner-Trauring
229583c596
Switch to mathutil from pyutil (it has tests, and has already been ported to
...
Python 3).
2020-07-08 12:02:58 -04:00
Itamar Turner-Trauring
016c7754a6
Switch to use pyutil's assertutil implementation.
2020-07-08 11:57:10 -04:00
Itamar Turner-Trauring
0bc8a441a9
Add pyutil as direct dependency; it was previously indirect dependency via zfec.
2020-07-08 11:56:53 -04:00
Itamar Turner-Trauring
3d80a6c17e
New packages so we can get future 0.18.2.
2020-07-08 10:11:28 -04:00
Itamar Turner-Trauring
3d0e4df5ce
Lint fixes.
2020-07-07 11:30:01 -04:00
Itamar Turner-Trauring
238b17098e
Add future in another place.
2020-07-07 11:28:11 -04:00
Itamar Turner-Trauring
e6268f3dd5
Add additional dependencies.
2020-07-07 11:13:45 -04:00
Itamar Turner-Trauring
e06d41442a
Merge remote-tracking branch 'origin/master' into 3324-humanreadable-python-3
2020-07-07 11:03:33 -04:00
Jean-Paul Calderone
bb452a6c60
Merge pull request #731 from tahoe-lafs/2755.code-of-conduct
...
Formally adopt a code of conduct.
2020-07-07 09:59:55 -04:00
Jean-Paul Calderone
f08e2ba832
add some alt text
2020-07-07 09:19:30 -04:00
Jean-Paul Calderone
0ed8a7709e
Perhaps this is the preferred formatting?
2020-07-07 09:18:11 -04:00
Itamar Turner-Trauring
10f2b7fc53
Merge pull request #736 from tahoe-lafs/3329-flake8
...
Switch to flake8 as a better way of running pyflakes.
2020-07-06 17:15:51 -04:00
Sajith Sasidharan
25f5e659fc
Merge pull request #721 from sajith/3287.status-upload-nevow-to-twisted-web
...
Replace nevow with twisted.web.template in status.UploadStatusPage
Fixes: ticket:3287
2020-07-06 16:20:40 -04:00
Sajith Sasidharan
61aef4caef
Merge pull request #690 from sajith/3247.storage-py-neovw-to-twt
...
Use twisted.web.template in web/storage.py
Fixes: ticket:3247
2020-07-06 16:18:34 -04:00
Jean-Paul Calderone
4e1f581540
Merge pull request #737 from tahoe-lafs/2755.code-of-conduct--add-meejah
...
add meejah to code-of-conduct
2020-07-06 16:06:40 -04:00
meejah
b9737febd0
add meejah to code-of-conduct
2020-07-06 13:49:07 -06:00
Itamar Turner-Trauring
f548593f37
Fix test_python3, and mark these two modules as being ported as well.
2020-07-06 14:18:18 -04:00
Itamar Turner-Trauring
b990334104
Add the builtins import to make Python 2 builtins match Python 3's.
2020-07-06 14:00:02 -04:00
Itamar Turner-Trauring
906d6ac291
Switch to flake8 as a better way of running pyflakes.
2020-07-06 13:50:06 -04:00
Jean-Paul Calderone
8a85bf7836
add a contributor covenant badge
2020-07-06 10:41:38 -04:00
Itamar Turner-Trauring
6d4ce3b7ad
Additional hidden imports due to use of Future.
2020-07-03 13:44:47 -04:00
Itamar Turner-Trauring
83b9bbf743
Switch definitely to _python3.py for listing modules, but also note if a module
...
has been ported in its docstring.
2020-07-03 13:28:36 -04:00