Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3.10 #2042

Merged
merged 2 commits into from
Jan 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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"
kingosticks marked this conversation as resolved.
Show resolved Hide resolved
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"
kingosticks marked this conversation as resolved.
Show resolved Hide resolved
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"]
kingosticks marked this conversation as resolved.
Show resolved Hide resolved
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