Pin twisted version to fix the build

This commit is contained in:
Michael Lazar 2021-03-29 13:43:16 -04:00
parent 14d157f0d7
commit 774fe54236
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import typing
import urllib.parse import urllib.parse
from twisted.internet.address import IPv4Address, IPv6Address from twisted.internet.address import IPv4Address, IPv6Address
from twisted.internet.defer import Deferred, ensureDeferred, CancelledError from twisted.internet.defer import CancelledError, Deferred, ensureDeferred
from twisted.internet.protocol import connectionDone from twisted.internet.protocol import connectionDone
from twisted.internet.task import deferLater from twisted.internet.task import deferLater
from twisted.protocols.basic import LineOnlyReceiver from twisted.protocols.basic import LineOnlyReceiver

View File

@ -17,7 +17,8 @@ setuptools.setup(
author_email="lazar.michael22@gmail.com", author_email="lazar.michael22@gmail.com",
description="An Experimental Gemini Server", description="An Experimental Gemini Server",
install_requires=[ install_requires=[
"twisted>=20.3.0", # 21.2.0 introduces a bunch of broken type hints
"twisted>=20.3.0,<21.2.0",
# Requirements below are used by twisted[security] # Requirements below are used by twisted[security]
"service_identity", "service_identity",
"idna", "idna",