From 17c9444b8029f5c7d44c57fd56caaa0223e0455e Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Wed, 6 Jan 2021 00:23:06 -0500 Subject: [PATCH] Fix python3.7 syntax error --- CHANGELOG.md | 6 ++++++ jetforce/__version__.py | 2 +- jetforce/app/static.py | 2 +- setup.py | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a2db1e..0231445 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ - n/a +### v0.8.1 (2021-01-06) + +### Changes + +- Remove new type hint syntax that was causing an error in python 3.7. + ### v0.8.0 (2021-01-06) #### Changes diff --git a/jetforce/__version__.py b/jetforce/__version__.py index 777f190..8088f75 100644 --- a/jetforce/__version__.py +++ b/jetforce/__version__.py @@ -1 +1 @@ -__version__ = "0.8.0" +__version__ = "0.8.1" diff --git a/jetforce/app/static.py b/jetforce/app/static.py index 81fc680..1dc323f 100644 --- a/jetforce/app/static.py +++ b/jetforce/app/static.py @@ -188,7 +188,7 @@ class StaticDirectoryApplication(JetforceApplication): def cgi_body_generator( self, - proc: subprocess.Popen[bytes], + proc: subprocess.Popen, ) -> typing.Iterator[typing.Union[bytes, Deferred]]: """ Non-blocking read from the stdout of the CGI process and pipe it diff --git a/setup.py b/setup.py index f208dcc..6755730 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ def long_description() -> str: setuptools.setup( name="Jetforce", - version="0.8.0", + version="0.8.1", url="https://github.com/michael-lazar/jetforce", license="Other/Proprietary License", author="Michael Lazar",