Tests pass on both Python 2 and Python 3.

This commit is contained in:
Itamar Turner-Trauring
2020-07-02 14:26:35 -04:00
parent c207a0c932
commit 70a029fb81
3 changed files with 27 additions and 16 deletions

View File

@ -54,7 +54,9 @@ install_requires = [
# * foolscap >= 0.12.5 has ConnectionInfo and ReconnectionInfo
# * foolscap >= 0.12.6 has an i2p.sam_endpoint() that takes kwargs
# * foolscap 0.13.2 drops i2p support completely
"foolscap == 0.13.1",
# * foolscap >= 20.4 is necessary for Python 3
"foolscap == 0.13.1; ; python_version < '3.0'",
"foolscap >= 20.4.0; ; python_version > '3.0'",
# * cryptography 2.6 introduced some ed25519 APIs we rely on. Note that
# Twisted[conch] also depends on cryptography and Twisted[tls]