diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index 25adc78..7e0c38d 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 3 strategy: matrix: - python: ["3.7", "3.8", "3.9", "3.10"] + python: ["3.9", "3.10"] container: image: python:${{ matrix.python }}-alpine steps: diff --git a/LICENSE b/LICENSE index 0f39f88..adc3c76 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2015-2020 AWeber Communications +Copyright (c) 2015-2025 AWeber Communications All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/docs/history.rst b/docs/history.rst index 06c1408..c8eec3b 100644 --- a/docs/history.rst +++ b/docs/history.rst @@ -3,6 +3,12 @@ Release History =============== +`Next Release`_ +--------------- +- Add explicit dependency on setuptools package since we use it at runtime +- Remove support for Python < 3.9. The library will continue to work but we + are no longer testing older versions. + `2.5.0`_ (26 May 2022) ---------------------- - Add customization of **Server** header diff --git a/requires/installation.txt b/requires/installation.txt index 616640f..9993ef8 100644 --- a/requires/installation.txt +++ b/requires/installation.txt @@ -1 +1,2 @@ +setuptools>=64 tornado>=5,<7 diff --git a/setup.py b/setup.py index 4887be5..46b6310 100755 --- a/setup.py +++ b/setup.py @@ -45,10 +45,6 @@ def read_requirements(name): 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: Implementation :: CPython', diff --git a/tests.py b/tests.py index 71db30b..646956a 100644 --- a/tests.py +++ b/tests.py @@ -532,7 +532,7 @@ def test_that_calling_with_non_sprockets_application_is_deprecated(self): self.assertEqual(len(captured), 0) -class AsyncRunTests(unittest.TestCase): +class AsyncRunTests(unittest.IsolatedAsyncioTestCase): def test_that_on_start_callbacks_are_invoked(self): future = concurrent.Future() diff --git a/tox.ini b/tox.ini index eb3930c..4442426 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37,py38,py39,tornado,tornado50 +envlist = py39,tornado,tornado50 indexserver = default = https://pypi.python.org/simple toxworkdir = build/tox