Skip to content

Commit

Permalink
Add Python 3.10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge committed Nov 6, 2021
1 parent abdadcd commit 8362c52
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
test:
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
python: [3.6, 3.7, 3.8, 3.9, 3.10]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
6 changes: 3 additions & 3 deletions docs/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ To pass options to ``pytest``, e.g. the name of a test, run:
tox -e py -- tests/test_upload.py::test_exception_for_http_status
Twine is continuously tested against Python 3.6, 3.7, 3.8, and 3.9 using
Twine is continuously tested against supported versions of Python using
`GitHub Actions`_. To run the tests against a specific version, e.g. Python
3.6, you will need it installed on your machine. Then, run:
3.8, you will need it installed on your machine. Then, run:

.. code-block:: bash
tox -e py36
tox -e py38
To run the "integration" tests of uploading to real package indexes, run:

Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,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 :: CPython

[options]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 3.3
envlist = lint,types,py{36,37,38,39},integration,docs
envlist = lint,types,py{36,37,38,39,310},integration,docs
isolated_build = True

[testenv]
Expand Down

0 comments on commit 8362c52

Please sign in to comment.