From: Harmon Date: Tue, 5 Oct 2021 18:18:41 +0000 (-0500) Subject: Add support for Python 3.10 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=229b73858c93bd5997385445f522816c374d41ea;p=tweepy.git 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 --- 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