diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 3615303..7f47eeb 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: - python: [3.6, 3.7, 3.8, 3.9] + python: ['3.6', '3.7', '3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 @@ -40,11 +40,11 @@ jobs: - name: Check links in Documentation run: tox -e linkcheck - if: matrix.python == 3.9 + if: matrix.python == '3.10' - name: Run linter run: tox -e linting - if: matrix.python == 3.9 + if: matrix.python == '3.10' - name: Run test suite env: @@ -62,4 +62,4 @@ jobs: flags: tests name: codecov-umbrella fail_ci_if_error: true - if: matrix.python == 3.9 + if: matrix.python == '3.10' diff --git a/README.md b/README.md index 980187e..ff939e2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ PyPI Documentation Status Codecov - Supports Python >= 3.5 + Supports Python >= 3.6 License Code style: black Imports: isort diff --git a/docs/requirements.txt b/docs/requirements.txt index 4fee8bb..498f43d 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1 +1 @@ -sphinx==3.5.4 +sphinx==4.2.0 diff --git a/requirements-test.txt b/requirements-test.txt new file mode 100644 index 0000000..8590529 --- /dev/null +++ b/requirements-test.txt @@ -0,0 +1,3 @@ +pytest==6.2.5 +pytest-cov==2.10.1 +pre-commit==2.9.3 diff --git a/setup.py b/setup.py index aaab084..11c6e6a 100755 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ test_suite="pyrmq.tests", install_requires=["setuptools>=49.6.0", "pika>=1.1.0"], keywords=["rabbitmq", "pika", "consumer", "publisher", "queue", "messages"], - python_requires=">=3.5", + python_requires=">=3.6", classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", @@ -56,5 +56,6 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", ], ) diff --git a/tox.ini b/tox.ini index 78dd285..4871796 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = linkcheck, linting, py36, py37, py38, py39 +envlist = linkcheck, linting, py36, py37, py38, py39, py310 [testenv] passenv = @@ -7,9 +7,7 @@ passenv = RABBITMQ_PORT REPORT deps = - pytest==6.2.1 - pytest-cov==2.10.1 - pre-commit==2.9.3 + -rrequirements-test.txt commands = pre-commit run --all-files pytest -v --durations=0 --cov=pyrmq --cov-report=term --cov-report={env:REPORT:html} @@ -28,7 +26,7 @@ deps = commands=pre-commit run --all-files [testenv:dev] -basepython = python3.9 +basepython = python3.10 usedevelop = True deps = commands =