diff options
author | Jon Parise <jon@pinterest.com> | 2022-02-09 09:55:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 09:55:38 -0800 |
commit | a19947f21ee86003a25e8c70a85e6d8be2271a7d (patch) | |
tree | 03d11388082c9a3a5e3cc0905f6c3a50f29fcd7f | |
parent | 01418099b3c3b3d8fd9a522a0bbfbfc52365ec33 (diff) | |
download | pymemcache-a19947f21ee86003a25e8c70a85e6d8be2271a7d.tar.gz |
Add official support for Python 3.10 (#365)
-rw-r--r-- | .github/workflows/ci.yml | 4 | ||||
-rw-r--r-- | setup.cfg | 1 | ||||
-rw-r--r-- | test-requirements.txt | 2 | ||||
-rw-r--r-- | tox.ini | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b3f42a..19af3eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, pypy-3.7] + python-version: ['3.7', '3.8', '3.9', '3.10', 'pypy-3.7'] steps: - uses: actions/checkout@v2 @@ -26,7 +26,7 @@ jobs: python -m pip install --upgrade pip sudo apt-get install libmemcached-dev - name: Lint - if: matrix.python-version == '3.9' + if: matrix.python-version == '3.10' run: | pip install tox tox-gh-actions tox -e flake8,black @@ -15,6 +15,7 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 Programming Language :: Python :: Implementation :: PyPy License :: OSI Approved :: Apache Software License Topic :: Database diff --git a/test-requirements.txt b/test-requirements.txt index 21d2bc4..116ad2b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,6 +1,6 @@ black==22.1.0 pytest pytest-cov -gevent==20.9.0; "PyPy" not in platform_python_implementation +gevent==21.12.0; "PyPy" not in platform_python_implementation pylibmc; sys.platform != 'win32' python-memcached @@ -1,5 +1,5 @@ [tox] -envlist = py37, py38, py39, pypy3, flake8, black, integration +envlist = py37, py38, py39, py310, pypy3, flake8, black, integration skip_missing_interpreters = True # Automatic envs (pyXX) will only use the python version appropriate to that # env and ignore basepython inherited from [testenv] if we set |