From 91b40234cb632bc6a264c3884a59101c884185ca Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Sun, 19 Mar 2023 20:03:22 -0600 Subject: [PATCH] python 3.7+ --- Makefile | 5 ++++- setup.cfg | 3 +-- setup.py | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 631cb07..3f09947 100644 --- a/Makefile +++ b/Makefile @@ -10,4 +10,7 @@ pub: build install: pip install -e .[dev,pub] -.PHONY: build clean pub install \ No newline at end of file +test-api: + docker run --rm -ti -p 4999:4999 python:3.7-slim bash -c "pip install announce_server==0.0.2rc2; pip install 'python-socketsio[asyncio_client]==5.0'; announce_server start_registry" + +.PHONY: build clean pub install test-api \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 5f9f862..1f887fc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,6 @@ classifiers = Intended Audience :: Developers License :: OSI Approved :: MIT License Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 @@ -24,7 +23,7 @@ package_dir = = src packages = find: install_requires = - python-socketio[asyncio_client] + python-socketio[asyncio_client]~=5.0.0 [options.packages.find] where = src diff --git a/setup.py b/setup.py index 251ac8b..f4b77f9 100644 --- a/setup.py +++ b/setup.py @@ -7,5 +7,5 @@ setup( "setuptools_scm", ], use_scm_version=True, - python_requires=">=3.6", + python_requires=">=3.7", # because of python-socketsio[asyncio_client] )