Skip to content

Commit

Permalink
Support Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
djmattyg007 committed Jan 25, 2022
1 parent 84eac87 commit 44c9029
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 10 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 }}
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
main:
name: "Test: Python 3.9"
name: "Test: Python 3.10"
runs-on: ubuntu-20.04

# The container should be automatically updated from time to time.
Expand All @@ -26,4 +26,4 @@ jobs:
python3-gst-1.0 \
python3 \
tox
- run: tox -e py39
- run: tox -e py310
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ v3.2.1 (UNRELEASED)
- Audio: Fix TypeError when handling create output pipeline errors.
(Fixes: :issue:`1924`, PR: :issue:`2040`)

- 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 44c9029

Please sign in to comment.