Skip to content

Commit

Permalink
Support Python 3.10 (#2042)
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Steel <nick@nsteel.co.uk>
  • Loading branch information
djmattyg007 and kingosticks committed Jan 26, 2022
1 parent b4b2981 commit 0d9a18a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,21 @@ jobs:
- name: "Test: Python 3.9"
python: "3.9"
tox: py39
- name: "Test: Python 3.10"
python: "3.10"
tox: py310
coverage: true
- name: "Lint: check-manifest"
python: "3.9"
python: "3.10"
tox: check-manifest
- name: "Lint: flake8"
python: "3.9"
python: "3.10"
tox: flake8
- name: "Lint: mypy"
python: "3.9"
python: "3.10"
tox: mypy
- name: "Docs"
python: "3.9"
python: "3.10"
tox: docs

name: ${{ matrix.name }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.10"
- name: "Install dependencies"
run: python3 -m pip install build
- name: "Build package"
run: python3 -m build
- uses: pypa/gh-action-pypi-publish@v1.4.1
- uses: pypa/gh-action-pypi-publish@v1.5.0
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ v3.2.1 (UNRELEASED)
- HTTP: Fix missing CORS headers on RPC response. (Fixes: :issue:`2028`,
PR: :issue:`2029`)

- Add Python 3.10 to our test matrix.


v3.2.0 (2021-07-08)
===================
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools >= 30.3.0", "wheel"]


[tool.black]
target-version = ["py37", "py38"]
target-version = ["py37", "py38", "py39", "py310"]
line-length = 80


Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Multimedia :: Sound/Audio :: Players


Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37, py38, py39, check-manifest, docs, flake8, mypy
envlist = py37, py38, py39, py310, check-manifest, docs, flake8, mypy

[testenv]
sitepackages = true
Expand Down

0 comments on commit 0d9a18a

Please sign in to comment.