Add support for Python 3.10.

This commit is contained in:
Itamar Turner-Trauring 2022-02-23 11:07:56 -05:00
parent f81cd6e595
commit 9d9ec698e0
4 changed files with 8 additions and 4 deletions

View File

@ -41,6 +41,7 @@ jobs:
- 3.7
- 3.8
- 3.9
- 3.10
- pypy-3.7
- pypy-3.8
include:
@ -49,6 +50,8 @@ jobs:
python-version: 3.9
- os: macos-latest
python-version: pypy3.8
- os: macos-latest
python-version: 3.10
steps:
# See https://github.com/actions/checkout. A fetch-depth of 0

View File

@ -1 +1 @@
Added support for PyPy3 (3.7 and 3.8).
Added support for Python 3.10 and PyPy3 (3.7 and 3.8).

View File

@ -366,8 +366,8 @@ setup(name="tahoe-lafs", # also set in __init__.py
package_dir = {'':'src'},
packages=find_packages('src') + ['allmydata.test.plugins'],
classifiers=trove_classifiers,
# We support Python 3.7 or later. 3.10 is not supported quite yet.
python_requires=">=3.7, <3.10",
# We support Python 3.7 or later. 3.11 is not supported yet.
python_requires=">=3.7, <3.11",
install_requires=install_requires,
extras_require={
# Duplicate the Twisted pywin32 dependency here. See

View File

@ -10,6 +10,7 @@ python =
3.7: py37-coverage,typechecks,codechecks
3.8: py38-coverage
3.9: py39-coverage
3.10: py310-coverage
pypy-3.7: pypy37
pypy-3.8: pypy38
pypy-3.9: pypy39
@ -18,7 +19,7 @@ python =
twisted = 1
[tox]
envlist = typechecks,codechecks,py{37,38,39}-{coverage},pypy27,pypy37,pypy38,pypy39,integration
envlist = typechecks,codechecks,py{37,38,39,310}-{coverage},pypy27,pypy37,pypy38,pypy39,integration
minversion = 2.4
[testenv]