Skip to content

Commit b234ebd

Browse files
committed
Add Python 3.10 support
1 parent a798f25 commit b234ebd

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
test:
2424
strategy:
2525
matrix:
26-
python: [3.6, 3.7, 3.8, 3.9]
26+
python: [3.6, 3.7, 3.8, 3.9, 3.10]
2727
platform: [ubuntu-latest, macos-latest, windows-latest]
2828
runs-on: ${{ matrix.platform }}
2929
steps:

docs/contributing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@ To pass options to ``pytest``, e.g. the name of a test, run:
112112
113113
tox -e py -- tests/test_upload.py::test_exception_for_http_status
114114
115-
Twine is continuously tested against Python 3.6, 3.7, 3.8, and 3.9 using
115+
Twine is continuously tested against supported versions of Python using
116116
`GitHub Actions`_. To run the tests against a specific version, e.g. Python
117-
3.6, you will need it installed on your machine. Then, run:
117+
3.8, you will need it installed on your machine. Then, run:
118118

119119
.. code-block:: bash
120120
121-
tox -e py36
121+
tox -e py38
122122
123123
To run the "integration" tests of uploading to real package indexes, run:
124124

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ classifiers =
2727
Programming Language :: Python :: 3.7
2828
Programming Language :: Python :: 3.8
2929
Programming Language :: Python :: 3.9
30+
Programming Language :: Python :: 3.10
3031
Programming Language :: Python :: Implementation :: CPython
3132

3233
[options]

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 3.3
3-
envlist = lint,types,py{36,37,38,39},integration,docs
3+
envlist = lint,types,py{36,37,38,39,310},integration,docs
44
isolated_build = True
55

66
[testenv]

0 commit comments

Comments
 (0)