From 229b73858c93bd5997385445f522816c374d41ea Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 5 Oct 2021 13:18:41 -0500 Subject: [PATCH] Add support for Python 3.10 This also updates the minimum dev requirement version for tox from 2.4.0 to 3.14.0 to support specifying Python 3.10 for tox --- .github/workflows/test.yml | 2 +- README.md | 2 +- setup.py | 3 ++- tox.ini | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 789a4ff..37610fc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index c621ebd..9deb191 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Alternatively, install directly from the GitHub repository: pip install git+https://github.com/tweepy/tweepy.git -Python 3.6 - 3.9 are supported. +Python 3.6 - 3.10 are supported. Links ----- diff --git a/setup.py b/setup.py index f0827d1..6457d4f 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ setup( ], "dev": [ "coveralls>=2.1.0", - "tox>=2.4.0", + "tox>=3.14.0", ], "socks": ["requests[socks]>=2.11.1,<3"], "test": tests_require, @@ -68,6 +68,7 @@ setup( "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3 :: Only", ], zip_safe=True, diff --git a/tox.ini b/tox.ini index 0999171..da7e81d 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py36, py37, py38, py39 +envlist = py36, py37, py38, py39, py310 [testenv] commands = python -m unittest discover tests -- 2.25.1