Skip to content

Commit fbebfb4

Browse files
authored
Add support for Python 3.10 (#176)
1 parent 101d438 commit fbebfb4

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ jobs:
1515
strategy:
1616
matrix:
1717
include:
18-
- python-version: 3.7
18+
- python-version: "3.7"
1919
env:
2020
TOXENV: docs
21-
- python-version: 3.9
21+
- python-version: "3.10"
2222
env:
2323
TOXENV: flake8
24-
- python-version: 3.9
24+
- python-version: "3.10"
2525
env:
2626
TOXENV: pylint
27-
- python-version: 3.9
27+
- python-version: "3.10"
2828
env:
2929
TOXENV: security
30-
- python-version: 3.9
30+
- python-version: "3.10"
3131
env:
3232
TOXENV: black
33-
- python-version: 3.9
33+
- python-version: "3.10"
3434
env:
3535
TOXENV: typing
3636

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-20.04
1515
strategy:
1616
matrix:
17-
python-version: [3.6, 3.7, 3.8, 3.9, pypy3]
17+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
1818

1919
steps:
2020
- uses: actions/checkout@v2

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"Programming Language :: Python :: 3.7",
2424
"Programming Language :: Python :: 3.8",
2525
"Programming Language :: Python :: 3.9",
26+
"Programming Language :: Python :: 3.10",
2627
"Programming Language :: Python :: Implementation :: CPython",
2728
"Programming Language :: Python :: Implementation :: PyPy",
2829
"Topic :: Internet :: WWW/HTTP",

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py27, pypy, py35, py36, py37, py38, pypy3, docs, security, flake8, pylint, black
7+
envlist = py27, pypy, py35, py36, py37, py38, py39, py310, pypy3, docs, security, flake8, pylint, black
88

99
[testenv]
1010
deps =
1111
pytest !=3.1.1, !=3.1.2
1212
pytest-cov
1313
commands =
14-
py.test \
14+
pytest \
1515
--doctest-modules \
1616
--cov=w3lib --cov-report=term --cov-report=xml \
1717
{posargs:w3lib tests}

0 commit comments

Comments
 (0)