Fix python3.7 syntax error

This commit is contained in:
Michael Lazar 2021-01-06 00:23:06 -05:00
parent d75740cc3c
commit 17c9444b80
4 changed files with 9 additions and 3 deletions

View File

@ -6,6 +6,12 @@
- n/a - 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) ### v0.8.0 (2021-01-06)
#### Changes #### Changes

View File

@ -1 +1 @@
__version__ = "0.8.0" __version__ = "0.8.1"

View File

@ -188,7 +188,7 @@ class StaticDirectoryApplication(JetforceApplication):
def cgi_body_generator( def cgi_body_generator(
self, self,
proc: subprocess.Popen[bytes], proc: subprocess.Popen,
) -> typing.Iterator[typing.Union[bytes, Deferred]]: ) -> typing.Iterator[typing.Union[bytes, Deferred]]:
""" """
Non-blocking read from the stdout of the CGI process and pipe it Non-blocking read from the stdout of the CGI process and pipe it

View File

@ -10,7 +10,7 @@ def long_description() -> str:
setuptools.setup( setuptools.setup(
name="Jetforce", name="Jetforce",
version="0.8.0", version="0.8.1",
url="https://github.com/michael-lazar/jetforce", url="https://github.com/michael-lazar/jetforce",
license="Other/Proprietary License", license="Other/Proprietary License",
author="Michael Lazar", author="Michael Lazar",