sysid / sse-starlette

BSD 3-Clause "New" or "Revised" License
505 stars 36 forks source link

fix: allowing python 3.6 and 3.7 #23

Closed cyprienc closed 2 years ago

cyprienc commented 2 years ago

Hi,

Python 3.6 and 3.7 where not allowed given the constraints even if starlette supports 3.6 and 3.7. Tests pass with both 3.6 and 3.7. This commit changes the constraints to allow these versions.

Python 3.6:

============================================================================================================ test session starts ============================================================================================================
platform linux -- Python 3.6.13, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
rootdir: .../sse-starlette
plugins: asyncio-0.15.1, anyio-3.3.2
collected 23 items

tests/test_sse.py .......................                                                                                                                                                                                             [100%]

============================================================================================================ 23 passed in 1.77s =============================================================================================================

Python 3.7:

============================================================================================================ test session starts ============================================================================================================
platform linux -- Python 3.7.10, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
rootdir: .../sse-starlette
plugins: asyncio-0.15.1, anyio-3.3.2
collected 23 items

tests/test_sse.py .......................                                                                                                                                                                                             [100%]

============================================================================================================ 23 passed in 1.75s =============================================================================================================