From d91e840921b8b91663ec55b6d888d56184b4ba05 Mon Sep 17 00:00:00 2001 From: Wolfgang Fahl Date: Sat, 27 Aug 2022 11:18:37 +0200 Subject: [PATCH] fixes #462 --- justpy/__init__.py | 2 +- pyproject.toml | 4 ++-- tests/basetest.py | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/justpy/__init__.py b/justpy/__init__.py index 5b19de3d..1f16a318 100644 --- a/justpy/__init__.py +++ b/justpy/__init__.py @@ -1,4 +1,4 @@ """JustPy is an object-oriented, component based, high-level Python Web Framework that requires no front-end programming""" from .justpy import * -__version__ = "0.2.7" +__version__ = "0.2.8" diff --git a/pyproject.toml b/pyproject.toml index 2c3b66c6..b5920b77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,8 +9,8 @@ author-email = "eli.mintz@gmail.com" home-page = "https://justpy.io" description-file = "README.md" requires = [ - 'starlette>=0.12.0', 'uvicorn>=0.7.1', 'itsdangerous>=1.1.0', 'websockets', - 'addict>=2.2.1', 'jinja2>=2.10.1', 'demjson3>=3.0.5', 'httpx>=0.11.0', 'aiofiles', + 'starlette>=0.20.4', 'uvicorn>=0.18.3', 'itsdangerous>=2.1.2', 'websockets', + 'addict>=2.4.0', 'jinja2>=3.1.2', 'demjson3>=3.0.5', 'httpx>=0.23.0', 'aiofiles', 'twine', 'wheel' ] classifiers=[ diff --git a/tests/basetest.py b/tests/basetest.py index 6f72392d..a4839285 100644 --- a/tests/basetest.py +++ b/tests/basetest.py @@ -20,6 +20,7 @@ class BaseAsynctest(asynctest.TestCase): # https://github.com/encode/starlette/blob/master/docs/testclient.md # https://stackoverflow.com/questions/57412825/how-to-start-a-uvicorn-fastapi-in-background-when-testing-with-pytest # https://github.com/encode/uvicorn/discussions/1103 + # https://stackoverflow.com/questions/68603658/how-to-terminate-a-uvicorn-fastapi-application-cleanly-with-workers-2-when async def setUp(self,wpfunc,port:int=8123,host:str="127.0.0.1",sleepTime=0.2,debug=False,profile=True): """ Bring server up.