Continue using known working txi2p for Python 2

Proceeding with caution here, because the txi2p-tahoe fork is rather
hurriedly done, and we are unsure about Tahoe-LAFS' i2p testing story.
None of the currently active Tahoe-LAFS contributors use i2p, so we
won't know if we are breaking things.
This commit is contained in:
Sajith Sasidharan 2021-03-12 15:21:32 -05:00
parent 7c03bb6184
commit d24d0519b1

View File

@ -151,10 +151,13 @@ tor_requires = [
]
i2p_requires = [
# txi2p has Python 3 support, but it's unreleased (see
# https://github.com/str4d/txi2p/issues/10). We could use a fork until
# txi2p's maintainers are back in action.
"txi2p-tahoe >= 0.3.5",
# txi2p has Python 3 support in master branch, but it has not been
# released -- see https://github.com/str4d/txi2p/issues/10. We
# could use a fork for Python 3 until txi2p's maintainers are back
# in action. For Python 2, we could continue using the txi2p
# version about which no one has complained to us so far.
"txi2p; python_version < '3.0'",
"txi2p-tahoe >= 0.3.5; python_version > '3.0'",
]
if len(sys.argv) > 1 and sys.argv[1] == '--fakedependency':