From aa5f0bf8abd6e8ba5a6d4170595a2da35ae8ff02 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 4 Jun 2025 01:00:13 +0900 Subject: [PATCH 1/2] Require Python >= 3.6 Python 3.4 and 3.5 haven't been tested for long time. Enforce the minimum version so that users may not attempt to use untested ancient python versions. Note that Python 3.6 ~ 3.8 already reached their EOL and we may even remove support for these in the near future. --- setup.py | 1 + test-requirements.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5f8118f..9ea3443 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,7 @@ setup(name=name, "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ], + python_requires='>=3.6', keywords='noVNC websockify', license='LGPLv3', url="https://github.com/novnc/websockify", diff --git a/test-requirements.txt b/test-requirements.txt index 4eeff97..103fd50 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,4 +2,3 @@ mock nose2 six redis -wrapt<=1.12.1;python_version<="3.4" From 37b0f2643b8c5c54af444fb3b759c2fc6bc72cf0 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 4 Jun 2025 01:04:26 +0900 Subject: [PATCH 2/2] Drop third party mock It hasn't been used since python 2 support was removed by 96eda1a5c71a9b0bc53cb60c8bf0ac67f38191bd . --- test-requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 103fd50..18a823c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,3 @@ -mock nose2 six redis