summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Parise <jon@pinterest.com>2022-02-09 09:55:38 -0800
committerGitHub <noreply@github.com>2022-02-09 09:55:38 -0800
commita19947f21ee86003a25e8c70a85e6d8be2271a7d (patch)
tree03d11388082c9a3a5e3cc0905f6c3a50f29fcd7f
parent01418099b3c3b3d8fd9a522a0bbfbfc52365ec33 (diff)
downloadpymemcache-a19947f21ee86003a25e8c70a85e6d8be2271a7d.tar.gz
Add official support for Python 3.10 (#365)
-rw-r--r--.github/workflows/ci.yml4
-rw-r--r--setup.cfg1
-rw-r--r--test-requirements.txt2
-rw-r--r--tox.ini2
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
diff --git a/setup.cfg b/setup.cfg
index d8a9bb8..812c89c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -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
diff --git a/tox.ini b/tox.ini
index d029fa6..8cdb1d2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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